org.drools.eclipse.flow.common.editor.editpart.figure
Interface ElementFigure

All Superinterfaces:
org.eclipse.draw2d.IFigure
All Known Implementing Classes:
AbstractElementFigure, ActionEditPart.ActionNodeFigure, BPMNActionNodeFigure, BPMNActionNodeFigure, BPMNCompositeNodeFigure, BPMNCompositeNodeFigure, BPMNEndNodeFigure, BPMNEndNodeFigure, BPMNEventNodeFigure, BPMNEventNodeFigure, BPMNFaultNodeFigure, BPMNFaultNodeFigure, BPMNJoinFigure, BPMNJoinFigure, BPMNMilestoneFigure, BPMNMilestoneFigure, BPMNRuleSetNodeFigure, BPMNRuleSetNodeFigure, BPMNSplitFigure, BPMNSplitFigure, BPMNStartNodeFigure, BPMNStartNodeFigure, BPMNStateFigure, BPMNStateFigure, BPMNSubFlowFigure, BPMNSubFlowFigure, BPMNTimerNodeFigure, BPMNTimerNodeFigure, BPMNWorkItemNodeFigure, BPMNWorkItemNodeFigure, CompositeNodeEditPart.CompositeNodeFigure, DefaultNodeFigure, ElementContainerFigure, EndNodeEditPart.EndNodeFigure, EventNodeEditPart.EventNodeFigure, FaultNodeEditPart.FaultNodeFigure, JoinEditPart.JoinFigure, MilestoneEditPart.MilestoneFigure, RuleSetNodeEditPart.RuleSetNodeFigure, SplitEditPart.SplitFigure, StartNodeEditPart.StartNodeFigure, StateNodeEditPart.StateFigure, SubFlowEditPart.SubFlowNodeFigure, TimerEditPart.TimerNodeFigure, WorkItemEditPart.WorkItemFigure

public interface ElementFigure
extends org.eclipse.draw2d.IFigure

Default implementation of an element Figure.


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
 org.eclipse.draw2d.Label getLabel()
           
 boolean isSelected()
           
 void setColor(org.eclipse.swt.graphics.Color color)
           
 void setIcon(org.eclipse.swt.graphics.Image icon)
           
 void setSelected(boolean b)
           
 void setText(String text)
           
 
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, getClippingStrategy, 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, setClippingStrategy, 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

setIcon

void setIcon(org.eclipse.swt.graphics.Image icon)

setText

void setText(String text)

setSelected

void setSelected(boolean b)

isSelected

boolean isSelected()

getLabel

org.eclipse.draw2d.Label getLabel()

setColor

void setColor(org.eclipse.swt.graphics.Color color)


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.