|
Runtime | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.draw2d.Figure
org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure
org.eclipse.gmf.runtime.diagram.ui.figures.ResizableCompartmentFigure
org.eclipse.gmf.runtime.diagram.ui.figures.ShapeCompartmentFigure
A specialized implementation of ResizableCompartmentFigure, this
class configures the scrollpane to use a FreeformLayer
with a FreeformLayout as its contents.
| Nested Class Summary |
| Nested classes inherited from class org.eclipse.draw2d.Figure |
Figure.FigureIterator, Figure.IdentitySearch |
| Nested classes inherited from class org.eclipse.draw2d.IFigure |
IFigure.NoInsets |
| Field Summary | |
static Font |
FONT_TITLE
constant defines the font title |
| Fields inherited from class org.eclipse.gmf.runtime.diagram.ui.figures.ResizableCompartmentFigure |
MIN_CLIENT_DP, scrollPane |
| Fields inherited from class org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure |
szAnchor |
| Fields inherited from class org.eclipse.draw2d.Figure |
bgColor, border, bounds, fgColor, flags, font, MAX_FLAG, maxSize, minSize, NO_MANAGER, prefSize, toolTip |
| Fields inherited from interface org.eclipse.draw2d.IFigure |
MAX_DIMENSION, MIN_DIMENSION, NO_INSETS |
| Constructor Summary | |
ShapeCompartmentFigure(java.lang.String title,
org.eclipse.gmf.runtime.draw2d.ui.mapmode.IMapMode mm)
Create an instance. |
|
| Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Convenience method to registers the supplied listener to the scrollpane's vertical and horizonatl range models. |
protected void |
configureFigure()
Deprecated. use ShapeCompartmentFigure.configureFigure(IMapMode) instead |
protected void |
configureFigure(org.eclipse.gmf.runtime.draw2d.ui.mapmode.IMapMode mm)
The scrollpane is configured to use a FreeformLayer with a
FreeformLayout as its contents. |
protected org.eclipse.gmf.runtime.draw2d.ui.internal.figures.AnimatableScrollPane |
createScrollpane(org.eclipse.gmf.runtime.draw2d.ui.mapmode.IMapMode mm)
Creates the animatable scroll pane |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Convenience method to removes the supplied listener from the scrollpane's RangeModel's list of PropertyChangeListeners. |
| Methods inherited from class org.eclipse.gmf.runtime.diagram.ui.figures.ResizableCompartmentFigure |
collapse, createScrollpane, createScrollPane, expand, getAdjacentSibling, getCompartmentTitle, getContentPane, getMaximumSize, getMinClientDimension, getMinClientSize, getMinimumSize, getPreferredSize, getScrollPane, getTextPane, invalidate, isExpanded, isHorizontal, paintFigure, setCollapsed, setExpanded, setFont, setFontColor, setHorizontal, setSelected, setTitle, setTitleVisibility, setToolTip, validate |
| Methods inherited from class org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure |
createAnchor, createConnectionAnchor, createDefaultAnchor, getConnectionAnchor, getConnectionAnchors, getConnectionAnchorTerminal, getDefaultAnchorID, getHandleBounds, getSlidableAnchorArea, getSourceConnectionAnchorAt, getTargetConnectionAnchorAt, isDefaultAnchorArea |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final Font FONT_TITLE
| Constructor Detail |
public ShapeCompartmentFigure(java.lang.String title,
org.eclipse.gmf.runtime.draw2d.ui.mapmode.IMapMode mm)
ShapeCompartmentFigure.configureFigure() to reconfigure
the scrollpane.
title - figure's title.mm - the IMapMode that is used to initialize the
default values of of the scrollpane contained inside the figure. This is
necessary since the figure is not attached at construction time and consequently
can't get access to the owned IMapMode in the parent containment hierarchy.| Method Detail |
protected org.eclipse.gmf.runtime.draw2d.ui.internal.figures.AnimatableScrollPane createScrollpane(org.eclipse.gmf.runtime.draw2d.ui.mapmode.IMapMode mm)
ResizableCompartmentFigure
createScrollpane in class ResizableCompartmentFiguremm - the IMapMode that is used to initialize the
default values of of the scrollpane contained inside the figure. This is
necessary since the figure is not attached at construction time and consequently
can't get access to the owned IMapMode in the parent containment hierarchy.
AnimatableScrollPaneprotected void configureFigure()
ShapeCompartmentFigure.configureFigure(IMapMode) instead
FreeformLayer with a
FreeformLayout as its contents.
protected void configureFigure(org.eclipse.gmf.runtime.draw2d.ui.mapmode.IMapMode mm)
FreeformLayer with a
FreeformLayout as its contents.
mm - the IMapMode that is used to initialize the
default values of of the scrollpane contained inside the figure. This is
necessary since the figure is not attached at construction time and consequently
can't get access to the owned IMapMode in the parent containment hierarchy.public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
listener - The listener to addpublic void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
listener - The listener to remove
|
Runtime | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.