|
SysML | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectEMFGraphNodeEditPart
org.topcased.modeler.sysml.blockdefinitiondiagram.edit.ElementEditPart
org.topcased.modeler.sysml.blockdefinitiondiagram.edit.NamedElementEditPart
org.topcased.modeler.sysml.blockdefinitiondiagram.edit.TypeEditPart
org.topcased.modeler.sysml.blockdefinitiondiagram.edit.ClassifierEditPart
org.topcased.modeler.sysml.blockdefinitiondiagram.edit.BehavioredClassifierEditPart
org.topcased.modeler.sysml.blockdefinitiondiagram.edit.BlockEditPart
public class BlockEditPart
The Block object controller
Constructor Summary | |
---|---|
BlockEditPart(GraphNode obj)
Constructor |
Method Summary | |
---|---|
protected void |
addChildVisual(org.eclipse.gef.EditPart childEditPart,
int index)
This method is overriden because of ports which are stored in the figure and not in the content pane |
protected void |
createEditPolicies()
Creates edit policies and associates these with roles |
protected org.eclipse.draw2d.IFigure |
createFigure()
|
protected org.eclipse.swt.graphics.Color |
getDefaultBackgroundColor()
This method is overriden because BlockEditPart inherits from BehavioredClassifierEditPart which has been modified from the generate code. |
protected org.eclipse.swt.graphics.Font |
getDefaultFont()
Datatype label is bold |
protected void |
refreshHeaderLabel()
|
protected void |
removeChildVisual(org.eclipse.gef.EditPart childEditPart)
This method is overriden because of ports which are stored in the figure and not in the content pane |
protected void |
reorderChild(org.eclipse.gef.EditPart child,
int index)
This method is overriden because of ports which are stored in the figure and not in the content pane |
Methods inherited from class org.topcased.modeler.sysml.blockdefinitiondiagram.edit.ElementEditPart |
---|
activate, deactivate, handleModelChanged |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BlockEditPart(GraphNode obj)
obj
- the graph nodeMethod Detail |
---|
protected void createEditPolicies()
createEditPolicies
in class BehavioredClassifierEditPart
protected org.eclipse.draw2d.IFigure createFigure()
createFigure
in class BehavioredClassifierEditPart
org.eclipse.gef.editparts.AbstractGraphicalEditPart#createFigure()
protected void reorderChild(org.eclipse.gef.EditPart child, int index)
org.eclipse.gef.editparts.AbstractEditPart#reorderChild(EditPart,
int)
protected void addChildVisual(org.eclipse.gef.EditPart childEditPart, int index)
org.eclipse.gef.AbstractGraphicalEditPart#addChildVisual(org.eclipse.gef.EditPart,
int)
protected void removeChildVisual(org.eclipse.gef.EditPart childEditPart)
org.eclipse.gef.AbstractGraphicalEditPart#removeChildVisual(org.eclipse.gef.EditPart)
protected void refreshHeaderLabel()
refreshHeaderLabel
in class BehavioredClassifierEditPart
protected org.eclipse.swt.graphics.Color getDefaultBackgroundColor()
getDefaultBackgroundColor
in class BehavioredClassifierEditPart
protected org.eclipse.swt.graphics.Font getDefaultFont()
TypeEditPart
getDefaultFont
in class BehavioredClassifierEditPart
org.topcased.modeler.edit.GraphNodeEditPart#getDefaultFont()
|
SysML | |||||||||
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.