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

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

public class StandardWorkFigure
extends AbstractOfficeFloorFigure
implements WorkFigure

Standard WorkFigure.

Author:
Daniel Sagenschneider

Constructor Summary
StandardWorkFigure(WorkFigureContext context)
          Initiate.
 
Method Summary
 org.eclipse.draw2d.IFigure getWorkNameFigure()
           Obtains the IFigure containing the Work name.
 void setWorkName(String workName)
          Indicates a change in the WorkModel 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

StandardWorkFigure

public StandardWorkFigure(WorkFigureContext context)
Initiate.

Parameters:
context - WorkFigureContext.
Method Detail

setWorkName

public void setWorkName(String workName)
Description copied from interface: WorkFigure
Indicates a change in the WorkModel name.

Specified by:
setWorkName in interface WorkFigure
Parameters:
workName - Name to display for the WorkModel.

getWorkNameFigure

public org.eclipse.draw2d.IFigure getWorkNameFigure()
Description copied from interface: WorkFigure

Obtains the IFigure containing the Work name.

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

Specified by:
getWorkNameFigure in interface WorkFigure
Returns:
IFigure containing the Work name.


Copyright © 2005-2013. All Rights Reserved.