net.officefloor.eclipse.skin.standard.office
Class StandardAdministratorFigure

java.lang.Object
  extended by net.officefloor.eclipse.skin.standard.AbstractOfficeFloorFigure
      extended by net.officefloor.eclipse.skin.standard.office.StandardAdministratorFigure
All Implemented Interfaces:
AdministratorFigure, OfficeFloorFigure

public class StandardAdministratorFigure
extends AbstractOfficeFloorFigure
implements AdministratorFigure

Standard AdministratorFigure.

Author:
Daniel Sagenschneider

Constructor Summary
StandardAdministratorFigure(AdministratorFigureContext context)
          Initiate.
 
Method Summary
 org.eclipse.draw2d.IFigure getAdministratorNameFigure()
           Obtains the IFigure containing the AdministratorModel name.
 void setAdministratorName(String administratorName)
          Indicates a change in name of the AdministratorModel.
 
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

StandardAdministratorFigure

public StandardAdministratorFigure(AdministratorFigureContext context)
Initiate.

Parameters:
context - AdministratorFigureContext.
Method Detail

setAdministratorName

public void setAdministratorName(String administratorName)
Description copied from interface: AdministratorFigure
Indicates a change in name of the AdministratorModel.

Specified by:
setAdministratorName in interface AdministratorFigure
Parameters:
administratorName - Name to display for the AdministratorModel.

getAdministratorNameFigure

public org.eclipse.draw2d.IFigure getAdministratorNameFigure()
Description copied from interface: AdministratorFigure

Obtains the IFigure containing the AdministratorModel name.

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

Specified by:
getAdministratorNameFigure in interface AdministratorFigure
Returns:
IFigure containing the AdministratorModel name.


Copyright © 2005-2013. All Rights Reserved.