net.officefloor.eclipse.skin.standard.desk
Class StandardTaskFigure

java.lang.Object
  extended by net.officefloor.eclipse.skin.standard.AbstractOfficeFloorFigure
      extended by net.officefloor.eclipse.skin.standard.desk.StandardTaskFigure
All Implemented Interfaces:
TaskFigure, OfficeFloorFigure

public class StandardTaskFigure
extends AbstractOfficeFloorFigure
implements TaskFigure

StandardTaskFigure implementation.

Author:
Daniel Sagenschneider

Constructor Summary
StandardTaskFigure(TaskFigureContext context)
          Initiate.
 
Method Summary
 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.
 
Methods inherited from class net.officefloor.eclipse.skin.standard.AbstractOfficeFloorFigure
getContentPane, getFigure, getSourceConnectionAnchor, getTargetConnectionAnchor, registerConnectionAnchor, registerSourceConnectionAnchor, registerTargetConnectionAnchor, setContentPane, setFigure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.officefloor.eclipse.skin.OfficeFloorFigure
getContentPane, getFigure, getSourceConnectionAnchor, getTargetConnectionAnchor
 

Constructor Detail

StandardTaskFigure

public StandardTaskFigure(TaskFigureContext context)
Initiate.

Method Detail

setTaskName

public void setTaskName(String taskName)
Description copied from interface: TaskFigure
Indicates a change in the TaskModel name.

Specified by:
setTaskName in interface TaskFigure
Parameters:
taskName - Name to display for the TaskModel.

setIsPublic

public void setIsPublic(boolean isPublic)
Description copied from interface: TaskFigure
Flags on display whether is public.

Specified by:
setIsPublic in interface TaskFigure
Parameters:
isPublic - true if public.

getTaskNameFigure

public org.eclipse.draw2d.IFigure getTaskNameFigure()
Description copied from interface: TaskFigure

Obtains the IFigure containing the Task name.

This is to allow placement of the editor in changing the Task name.

Specified by:
getTaskNameFigure in interface TaskFigure
Returns:
IFigure containing the Task name.


Copyright © 2005-2013. All Rights Reserved.