|
Modelers | |||||||||
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.draw2d.ui.figures.WrapLabel
org.topcased.draw2d.figures.Label
org.topcased.draw2d.figures.EditableLabel
org.topcased.modeler.figures.EdgeObjectEditableLabel
public class EdgeObjectEditableLabel
A figure to represent an editable label edge object.
Creation : 25 oct. 2005
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.topcased.draw2d.figures.EditableLabel |
---|
EditableLabel.TextProvider |
Nested classes/interfaces inherited from class org.eclipse.draw2d.Figure |
---|
org.eclipse.draw2d.Figure.FigureIterator, org.eclipse.draw2d.Figure.IdentitySearch |
Nested classes/interfaces inherited from interface org.eclipse.draw2d.IFigure |
---|
org.eclipse.draw2d.IFigure.NoInsets |
Field Summary | |
---|---|
static int |
EMPTY_WIDTH
|
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 |
Fields inherited from interface org.eclipse.draw2d.PositionConstants |
---|
ALWAYS_LEFT, ALWAYS_RIGHT, BOTTOM, CENTER, EAST, EAST_WEST, HORIZONTAL, LEFT, LEFT_CENTER_RIGHT, MIDDLE, NONE, NORTH, NORTH_EAST, NORTH_SOUTH, NORTH_WEST, NSEW, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TOP_MIDDLE_BOTTOM, VERTICAL, WEST |
Constructor Summary | |
---|---|
EdgeObjectEditableLabel(org.eclipse.draw2d.Connection connection)
|
Method Summary | |
---|---|
org.eclipse.draw2d.geometry.Rectangle |
getBounds()
|
org.eclipse.draw2d.Connection |
getConnection()
Get the owner connexion figure |
boolean |
isEditable()
Test wheter this edge object figure is editable or not |
boolean |
isEmpty()
Test wheter this edge object figure is empty or not |
Methods inherited from class org.topcased.draw2d.figures.EditableLabel |
---|
getEditableText, getSelected, setColorSelectedLabel, setColorUnselectedLabel, setSelected, setText |
Methods inherited from class org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel |
---|
calculateLabelSize, calculateSubStringTextSize, calculateTextSize, getEllipse, getIcon, getIcon, getIconAlignment, getIconBounds, getIconLocation, getIconSize, getIconTextGap, getMaximumSize, getMinimumSize, getNumberofIcons, getPreferredSize, getSubStringText, getSubStringTextSize, getText, getTextAlignment, getTextBounds, getTextLocation, getTextPlacement, getTextSize, getTextWrapAlignment, getTotalIconSize, hasFocus, hasIcons, invalidate, isSelected, isTextStrikedThrough, isTextTruncated, isTextUnderlined, isTextWrapped, paintFigure, setFocus, setIcon, setIcon, setIconAlignment, setLabelAlignment, setTextAlignment, setTextPlacement, setTextStrikeThrough, setTextUnderline, setTextWrap, setTextWrapAlignment, setTextWrapWidth |
Methods inherited from class org.eclipse.draw2d.Figure |
---|
add, add, add, add, addAncestorListener, addCoordinateListener, addFigureListener, addFocusListener, addKeyListener, addLayoutListener, addListener, addMouseListener, addMouseMotionListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, containsPoint, containsPoint, erase, findDescendantAtExcluding, findFigureAt, findFigureAt, findFigureAt, findFigureAtExcluding, findMouseEventTargetAt, findMouseEventTargetInDescendantsAt, fireCoordinateSystemChanged, fireFigureMoved, fireMoved, firePropertyChange, firePropertyChange, firePropertyChange, getBackgroundColor, getBorder, getChildren, getClientArea, getClientArea, getCursor, getFlag, getFont, getForegroundColor, getInsets, getLayoutManager, getListeners, getLocalBackgroundColor, getLocalFont, getLocalForegroundColor, getLocation, getMinimumSize, getParent, getPreferredSize, getSize, getToolTip, getUpdateManager, handleFocusGained, handleFocusLost, handleKeyPressed, handleKeyReleased, handleMouseDoubleClicked, handleMouseDragged, handleMouseEntered, handleMouseExited, handleMouseHover, handleMouseMoved, handleMousePressed, handleMouseReleased, internalGetEventDispatcher, intersects, invalidateTree, isCoordinateSystem, isEnabled, isFocusTraversable, isMirrored, isMouseEventTarget, isOpaque, isRequestFocusEnabled, isShowing, isValid, isValidationRoot, isVisible, layout, paint, paintBorder, paintChildren, paintClientArea, primTranslate, remove, removeAll, removeAncestorListener, removeCoordinateListener, removeFigureListener, removeFocusListener, removeKeyListener, removeLayoutListener, removeListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, revalidate, setBackgroundColor, setBorder, setBounds, setChildrenDirection, setChildrenEnabled, setChildrenOrientation, setConstraint, setCursor, setEnabled, setFlag, setFocusTraversable, setFont, setForegroundColor, setLayoutManager, setLocation, setMaximumSize, setMinimumSize, setOpaque, setParent, setPreferredSize, setPreferredSize, setRequestFocusEnabled, setSize, setSize, setToolTip, setValid, setVisible, translate, translateFromParent, translateToAbsolute, translateToParent, translateToRelative, useLocalCoordinates, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.draw2d.IFigure |
---|
add, add, add, add, addAncestorListener, addCoordinateListener, addFigureListener, addFocusListener, addKeyListener, addLayoutListener, addMouseListener, addMouseMotionListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, containsPoint, containsPoint, erase, findFigureAt, findFigureAt, findFigureAt, findFigureAtExcluding, findMouseEventTargetAt, getBackgroundColor, getBorder, getChildren, getClientArea, getClientArea, getCursor, getFont, getForegroundColor, getInsets, getLayoutManager, getLocalBackgroundColor, getLocalForegroundColor, getMaximumSize, getMinimumSize, getMinimumSize, getParent, getPreferredSize, getPreferredSize, getSize, getToolTip, getUpdateManager, handleFocusGained, handleFocusLost, handleKeyPressed, handleKeyReleased, handleMouseDoubleClicked, handleMouseDragged, handleMouseEntered, handleMouseExited, handleMouseHover, handleMouseMoved, handleMousePressed, handleMouseReleased, hasFocus, internalGetEventDispatcher, intersects, invalidate, invalidateTree, isCoordinateSystem, isEnabled, isFocusTraversable, isMirrored, isOpaque, isRequestFocusEnabled, isShowing, isVisible, paint, remove, removeAncestorListener, removeCoordinateListener, removeFigureListener, removeFocusListener, removeKeyListener, removeLayoutListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, revalidate, setBackgroundColor, setBorder, setBounds, setConstraint, setCursor, setEnabled, setFocusTraversable, setFont, setForegroundColor, setLayoutManager, setLocation, setMaximumSize, setMinimumSize, setOpaque, setParent, setPreferredSize, setRequestFocusEnabled, setSize, setSize, setToolTip, setVisible, translate, translateFromParent, translateToAbsolute, translateToParent, translateToRelative, validate |
Methods inherited from interface org.topcased.draw2d.figures.ILabel |
---|
getText |
Field Detail |
---|
public static final int EMPTY_WIDTH
Constructor Detail |
---|
public EdgeObjectEditableLabel(org.eclipse.draw2d.Connection connection)
Method Detail |
---|
public org.eclipse.draw2d.Connection getConnection()
IEdgeObjectFigure
getConnection
in interface IEdgeObjectFigure
IEdgeObjectFigure.getConnection()
public boolean isEmpty()
IEdgeObjectFigure
isEmpty
in interface IEdgeObjectFigure
IEdgeObjectFigure.isEmpty()
public boolean isEditable()
IEdgeObjectFigure
isEditable
in interface IEdgeObjectFigure
IEdgeObjectFigure.isEditable()
public org.eclipse.draw2d.geometry.Rectangle getBounds()
getBounds
in interface org.eclipse.draw2d.IFigure
getBounds
in class org.eclipse.draw2d.Figure
Figure.getBounds()
|
Modelers | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.