public class StandardTaskFigure extends AbstractOfficeFloorFigure implements TaskFigure
StandardTaskFigure
implementation.Constructor and Description |
---|
StandardTaskFigure(TaskFigureContext context)
Initiate.
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.draw2d.IFigure |
getTaskNameFigure()
Obtains the
IFigure containing the Task name. |
void |
setIsPublic(boolean isPublic)
Flags on display whether is public.
|
void |
setTaskName(String taskName)
Indicates a change in the
TaskModel 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 StandardTaskFigure(TaskFigureContext context)
context
- TaskFigureContext
.public void setTaskName(String taskName)
TaskFigure
TaskModel
name.setTaskName
in interface TaskFigure
taskName
- Name to display for the TaskModel
.public void setIsPublic(boolean isPublic)
TaskFigure
setIsPublic
in interface TaskFigure
isPublic
- true
if public.public org.eclipse.draw2d.IFigure getTaskNameFigure()
TaskFigure
Obtains the IFigure
containing the Task
name.
This is to allow placement of the editor in changing the Task
name.
getTaskNameFigure
in interface TaskFigure
IFigure
containing the Task
name.Copyright © 2005–2016. All rights reserved.