sk.uniba.euromath.editor.figures
Interface IEMFigure

All Superinterfaces:
org.eclipse.draw2d.IFigure
All Known Subinterfaces:
ITextLocator
All Known Implementing Classes:
EMFigure, EMImageFigure

public interface IEMFigure
extends org.eclipse.draw2d.IFigure

IRenderer uses only this type of figures to produce view. Stores emp:id from source(opened) document and object from Source for better understood what represents.

Author:
Tomáš Studva 1.9.2005

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.draw2d.IFigure
org.eclipse.draw2d.IFigure.NoInsets
 
Field Summary
 
Fields inherited from interface org.eclipse.draw2d.IFigure
MAX_DIMENSION, MIN_DIMENSION, NO_INSETS
 
Method Summary
 String getID()
          Returns id of node from source document for which subtree of figures rooted at this figure or this figure acts as view.
 Object getModel()
          Returns Object from object source or Node from transformed document for which subtree of figures rooted at this figure acts as view.
 boolean needsEditPart()
          Indicates if EditPart should be crated for this figure.
 
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, getBounds, 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
 

Method Detail

getID

String getID()
Returns id of node from source document for which subtree of figures rooted at this figure or this figure acts as view.

Returns:
id of node from source document, can be null if doesn't represents anything from source(opened) document

getModel

Object getModel()
Returns Object from object source or Node from transformed document for which subtree of figures rooted at this figure acts as view.

Returns:
Object or Node form Source, can be null if doesn't represents anything from Source

needsEditPart

boolean needsEditPart()
Indicates if EditPart should be crated for this figure. Information for IEditor.

Returns:
true if EditPart should be created for this figure


Copyright © 2003-2006 null. All Rights Reserved.