Classes | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Static Package Attributes
org.ros.model.ros.diagram.edit.parts.NodeEditPart Class Reference
Inheritance diagram for org.ros.model.ros.diagram.edit.parts.NodeEditPart:
Inheritance graph
[legend]

List of all members.

Classes

class  NodeFigure2

Public Member Functions

IFigure getContentPane ()
EditPart getPrimaryChildEditPart ()
NodeFigure2 getPrimaryShape ()
EditPart getTargetEditPart (Request request)
 NodeEditPart (View view)

Static Public Attributes

static final int VISUAL_ID = 3001

Protected Member Functions

void addChildVisual (EditPart childEditPart, int index)
boolean addFixedChild (EditPart childEditPart)
void createDefaultEditPolicies ()
LayoutEditPolicy createLayoutEditPolicy ()
NodeFigure createMainFigure ()
NodeFigure createNodePlate ()
IFigure createNodeShape ()
IFigure getContentPaneFor (IGraphicalEditPart editPart)
void removeChildVisual (EditPart childEditPart)
boolean removeFixedChild (EditPart childEditPart)
void setBackgroundColor (Color color)
void setForegroundColor (Color color)
void setLineType (int style)
void setLineWidth (int width)
IFigure setupContentPane (IFigure nodeShape)

Protected Attributes

IFigure contentPane
IFigure primaryShape

Static Package Attributes

static final Font FFIGURENODENAMEFIGURE_FONT
static final Color NODETOPFIGURE0_FORE = new Color(null, 236, 232, 233)

Detailed Description

Definition at line 52 of file org.ros.model.ros.diagram/src/org/ros/model/ros/diagram/edit/parts/NodeEditPart.java.


Constructor & Destructor Documentation


Member Function Documentation

void org.ros.model.ros.diagram.edit.parts.NodeEditPart.addChildVisual ( EditPart  childEditPart,
int  index 
) [inline, protected]
boolean org.ros.model.ros.diagram.edit.parts.NodeEditPart.addFixedChild ( EditPart  childEditPart) [inline, protected]

Creates figure for this edit part.

Body of this method does not depend on settings in generation model so you may safely remove generated tag and modify it.

Definition at line 305 of file org.ros.model.ros.diagram/src/org/ros/model/ros/diagram/edit/parts/NodeEditPart.java.

IFigure org.ros.model.ros.diagram.edit.parts.NodeEditPart.getContentPaneFor ( IGraphicalEditPart  editPart) [inline, protected]
void org.ros.model.ros.diagram.edit.parts.NodeEditPart.removeChildVisual ( EditPart  childEditPart) [inline, protected]
boolean org.ros.model.ros.diagram.edit.parts.NodeEditPart.removeFixedChild ( EditPart  childEditPart) [inline, protected]
void org.ros.model.ros.diagram.edit.parts.NodeEditPart.setLineType ( int  style) [inline, protected]
void org.ros.model.ros.diagram.edit.parts.NodeEditPart.setLineWidth ( int  width) [inline, protected]
IFigure org.ros.model.ros.diagram.edit.parts.NodeEditPart.setupContentPane ( IFigure  nodeShape) [inline, protected]

Default implementation treats passed figure as content pane. Respects layout one may have set for generated figure.

Parameters:
nodeShapeinstance of generated figure class

Definition at line 320 of file org.ros.model.ros.diagram/src/org/ros/model/ros/diagram/edit/parts/NodeEditPart.java.


Member Data Documentation

Initial value:
 new Font(
                        Display.getCurrent(), Display.getDefault().getSystemFont()
                                        .getFontData()[0].getName(), 10, SWT.BOLD)

Definition at line 559 of file org.ros.model.ros.diagram/src/org/ros/model/ros/diagram/edit/parts/NodeEditPart.java.

final Color org.ros.model.ros.diagram.edit.parts.NodeEditPart.NODETOPFIGURE0_FORE = new Color(null, 236, 232, 233) [static, package]

The documentation for this class was generated from the following file:


bride_plugin_source
Author(s): Alexander Bubeck
autogenerated on Sun Oct 5 2014 22:38:35