public class StandardWorkFigure extends AbstractOfficeFloorFigure implements WorkFigure
WorkFigure
.Constructor and Description |
---|
StandardWorkFigure(WorkFigureContext context)
Initiate.
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.draw2d.IFigure |
getWorkNameFigure()
Obtains the
IFigure containing the Work name. |
void |
setWorkName(String workName)
Indicates a change in the
WorkModel name. |
getContentPane, getFigure, getSourceConnectionAnchor, getTargetConnectionAnchor, registerConnectionAnchor, registerSourceConnectionAnchor, registerTargetConnectionAnchor, setContentPane, setFigure
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getContentPane, getFigure, getSourceConnectionAnchor, getTargetConnectionAnchor
public StandardWorkFigure(WorkFigureContext context)
context
- WorkFigureContext
.public void setWorkName(String workName)
WorkFigure
WorkModel
name.setWorkName
in interface WorkFigure
workName
- Name to display for the WorkModel
.public org.eclipse.draw2d.IFigure getWorkNameFigure()
WorkFigure
Obtains the IFigure
containing the Work
name.
This is to allow placement of the editor in changing the Work
name.
getWorkNameFigure
in interface WorkFigure
IFigure
containing the Work
name.Copyright © 2005–2016. All rights reserved.