|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.officefloor.eclipse.skin.standard.AbstractOfficeFloorFigure
public abstract class AbstractOfficeFloorFigure
Abstract OfficeFloorFigure.
| Constructor Summary | |
|---|---|
AbstractOfficeFloorFigure()
Allow complex creation of IFigure within the constructor. |
|
AbstractOfficeFloorFigure(org.eclipse.draw2d.IFigure figure)
Initiate to add children to top level IFigure. |
|
AbstractOfficeFloorFigure(org.eclipse.draw2d.IFigure figure,
org.eclipse.draw2d.IFigure contentPane)
Initiate. |
|
| Method Summary | |
|---|---|
org.eclipse.draw2d.IFigure |
getContentPane()
Obtains the IFigure to add children of this EditPart. |
org.eclipse.draw2d.IFigure |
getFigure()
Obtains the IFigure to represent the EditPart. |
org.eclipse.draw2d.ConnectionAnchor |
getSourceConnectionAnchor(Class<?> connectionModelType)
Obtains the source ConnectionAnchor for the particular
ConnectionModel type. |
org.eclipse.draw2d.ConnectionAnchor |
getTargetConnectionAnchor(Class<?> connectionModelType)
Obtains the target ConnectionAnchor for the particular
ConnectionModel type. |
protected void |
registerConnectionAnchor(Class<? extends ConnectionModel> connectionModelType,
org.eclipse.draw2d.ConnectionAnchor connectionAnchor)
Registers a ConnectionAnchor. |
protected void |
registerSourceConnectionAnchor(Class<? extends ConnectionModel> connectionModelType,
org.eclipse.draw2d.ConnectionAnchor connectionAnchor)
Registers a source ConnectionAnchor. |
protected void |
registerTargetConnectionAnchor(Class<? extends ConnectionModel> connectionModelType,
org.eclipse.draw2d.ConnectionAnchor connectionAnchor)
Registers a target ConnectionAnchor. |
protected void |
setContentPane(org.eclipse.draw2d.IFigure contentPane)
Specifies the content pane. |
protected void |
setFigure(org.eclipse.draw2d.IFigure figure)
Specifies the IFigure. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractOfficeFloorFigure(org.eclipse.draw2d.IFigure figure,
org.eclipse.draw2d.IFigure contentPane)
figure - IFigure to represent the EditPart.contentPane - IFigure to add children of this EditPart.public AbstractOfficeFloorFigure(org.eclipse.draw2d.IFigure figure)
IFigure.
figure - IFigure to represent the EditPart and also
potentially have children added.public AbstractOfficeFloorFigure()
Allow complex creation of IFigure within the constructor.
Using this constructor you must ensure setFigure(IFigure) is
called with the IFigure.
setFigure(IFigure),
setContentPane(IFigure)| Method Detail |
|---|
protected void setFigure(org.eclipse.draw2d.IFigure figure)
IFigure.
figure - IFigure.protected void setContentPane(org.eclipse.draw2d.IFigure contentPane)
contentPane - Content pane IFigure.
protected void registerConnectionAnchor(Class<? extends ConnectionModel> connectionModelType,
org.eclipse.draw2d.ConnectionAnchor connectionAnchor)
ConnectionAnchor.
connectionModelType - ConnectionModel type for the connection.connectionAnchor - ConnectionAnchor for the connection.
protected void registerSourceConnectionAnchor(Class<? extends ConnectionModel> connectionModelType,
org.eclipse.draw2d.ConnectionAnchor connectionAnchor)
ConnectionAnchor.
connectionModelType - ConnectionModel type for the connection.connectionAnchor - Source ConnectionAnchor for the connection.
protected void registerTargetConnectionAnchor(Class<? extends ConnectionModel> connectionModelType,
org.eclipse.draw2d.ConnectionAnchor connectionAnchor)
ConnectionAnchor.
connectionModelType - ConnectionModel type for the connection.connectionAnchor - Target ConnectionAnchor for the connection.public org.eclipse.draw2d.IFigure getFigure()
OfficeFloorFigureIFigure to represent the EditPart.
getFigure in interface OfficeFloorFigureIFigure to represent the EditPart.public org.eclipse.draw2d.IFigure getContentPane()
OfficeFloorFigureIFigure to add children of this EditPart.
getContentPane in interface OfficeFloorFigureIFigure to add children of this EditPart.public org.eclipse.draw2d.ConnectionAnchor getSourceConnectionAnchor(Class<?> connectionModelType)
OfficeFloorFigureConnectionAnchor for the particular
ConnectionModel type.
getSourceConnectionAnchor in interface OfficeFloorFigureconnectionModelType - ConnectionModel type.
ConnectionAnchor.public org.eclipse.draw2d.ConnectionAnchor getTargetConnectionAnchor(Class<?> connectionModelType)
OfficeFloorFigureConnectionAnchor for the particular
ConnectionModel type.
getTargetConnectionAnchor in interface OfficeFloorFigureconnectionModelType - ConnectionModel type.
ConnectionAnchor.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||