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

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

public class StandardOfficeSectionFigure
extends AbstractOfficeFloorFigure
implements OfficeSectionFigure

Standard OfficeSectionFigure.

Author:
Daniel Sagenschneider

Constructor Summary
StandardOfficeSectionFigure(OfficeSectionFigureContext context)
          Initiate.
 
Method Summary
 org.eclipse.draw2d.IFigure getOfficeSectionNameFigure()
           Obtains the IFigure containing the OfficeSectionModel name.
 void setOfficeSectionName(String officeSectionName)
          Indicates a change to the name of the OfficeSectionModel.
 
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

StandardOfficeSectionFigure

public StandardOfficeSectionFigure(OfficeSectionFigureContext context)
Initiate.

Parameters:
context - OfficeSectionFigureContext.
Method Detail

setOfficeSectionName

public void setOfficeSectionName(String officeSectionName)
Description copied from interface: OfficeSectionFigure
Indicates a change to the name of the OfficeSectionModel.

Specified by:
setOfficeSectionName in interface OfficeSectionFigure
Parameters:
officeSectionName - Name to display for the OfficeSectionModel.

getOfficeSectionNameFigure

public org.eclipse.draw2d.IFigure getOfficeSectionNameFigure()
Description copied from interface: OfficeSectionFigure

Obtains the IFigure containing the OfficeSectionModel name.

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

Specified by:
getOfficeSectionNameFigure in interface OfficeSectionFigure
Returns:
IFigure containing the OfficeSectionModel name.


Copyright © 2005-2013. All Rights Reserved.