|
SysML | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.topcased.draw2d.figures.ContainerFigure
org.topcased.modeler.sysml.internalblockdiagram.figures.BlockPropertyFigure
public class BlockPropertyFigure
Represents a < ? >Class Figure that is a simple rectangle aimed to contain other objects such as < ? >Interface, Port, Property and CollaborationUse Figures.
| Field Summary | |
|---|---|
static int |
COMPOSITE_PROPERTY
|
static int |
NON_COMPOSITE_PROPERTY
|
| Constructor Summary | |
|---|---|
BlockPropertyFigure()
Constructor |
|
BlockPropertyFigure(int t)
Creates the contents of the figure : by default, it creates a layout manager, a header and a container |
|
| Method Summary | |
|---|---|
protected org.eclipse.draw2d.IFigure |
createBackgroundFigure()
Draws an inner rectangle that will be the real background figure. |
protected org.eclipse.draw2d.IFigure |
createContainer()
|
protected void |
createContents()
|
protected ILabel |
createLabel()
Creates the label of the Figure. |
org.eclipse.draw2d.IFigure |
getBackgroundFigure()
Returns the figure drawn behind the label. |
org.eclipse.draw2d.IFigure |
getContentPane()
|
ILabel |
getLabel()
|
void |
setType(int t)
Change the type of the property |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int COMPOSITE_PROPERTY
public static final int NON_COMPOSITE_PROPERTY
| Constructor Detail |
|---|
public BlockPropertyFigure()
public BlockPropertyFigure(int t)
| Method Detail |
|---|
protected org.eclipse.draw2d.IFigure createContainer()
org.topcased.draw2d.figures.ContainerFigure#createContainer()protected void createContents()
protected org.eclipse.draw2d.IFigure createBackgroundFigure()
public org.eclipse.draw2d.IFigure getBackgroundFigure()
protected ILabel createLabel()
public ILabel getLabel()
org.topcased.draw2d.figures.ILabelFigure#getLabel()public org.eclipse.draw2d.IFigure getContentPane()
org.topcased.draw2d.figures.IContainerFigure#getContentPane()public void setType(int t)
t - the new type of the property (composite or not)
|
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.