net.officefloor.eclipse.skin.standard.officefloor
Class StandardDeployedOfficeFigure

java.lang.Object
  extended by net.officefloor.eclipse.skin.standard.AbstractOfficeFloorFigure
      extended by net.officefloor.eclipse.skin.standard.officefloor.StandardDeployedOfficeFigure
All Implemented Interfaces:
DeployedOfficeFigure, OfficeFloorFigure

public class StandardDeployedOfficeFigure
extends AbstractOfficeFloorFigure
implements DeployedOfficeFigure

Standard DeployedOfficeFigure.

Author:
Daniel Sagenschneider

Constructor Summary
StandardDeployedOfficeFigure(DeployedOfficeFigureContext context)
          Initiate.
 
Method Summary
 org.eclipse.draw2d.IFigure getDeployedOfficeNameFigure()
           Obtains the IFigure containing the DeployedOfficeModel name.
 void setDeployedOfficeName(String deployedOfficeName)
          Indicates a change to the name of the DeployedOfficeModel.
 
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

StandardDeployedOfficeFigure

public StandardDeployedOfficeFigure(DeployedOfficeFigureContext context)
Initiate.

Parameters:
context - DeployedOfficeFigureContext.
Method Detail

setDeployedOfficeName

public void setDeployedOfficeName(String deployedOfficeName)
Description copied from interface: DeployedOfficeFigure
Indicates a change to the name of the DeployedOfficeModel.

Specified by:
setDeployedOfficeName in interface DeployedOfficeFigure
Parameters:
deployedOfficeName - Name to display for the DeployedOfficeModel.

getDeployedOfficeNameFigure

public org.eclipse.draw2d.IFigure getDeployedOfficeNameFigure()
Description copied from interface: DeployedOfficeFigure

Obtains the IFigure containing the DeployedOfficeModel name.

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

Specified by:
getDeployedOfficeNameFigure in interface DeployedOfficeFigure
Returns:
IFigure containing the DeployedOfficeModel name.


Copyright © 2005-2013. All Rights Reserved.