net.officefloor.eclipse.skin.standard.section
Class StandardSubSectionFigure

java.lang.Object
  extended by net.officefloor.eclipse.skin.standard.AbstractOfficeFloorFigure
      extended by net.officefloor.eclipse.skin.standard.section.StandardSubSectionFigure
All Implemented Interfaces:
OfficeFloorFigure, SubSectionFigure

public class StandardSubSectionFigure
extends AbstractOfficeFloorFigure
implements SubSectionFigure

Standard SubSectionFigure.

Author:
Daniel Sagenschneider

Constructor Summary
StandardSubSectionFigure(SubSectionFigureContext context)
          Initiate.
 
Method Summary
 org.eclipse.draw2d.IFigure getSubSectionNameFigure()
           Obtains the IFigure containing the SubSectionModel name.
 void setSubSectionName(String subSectionName)
          Indicates a change to the SubSectionModel 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

StandardSubSectionFigure

public StandardSubSectionFigure(SubSectionFigureContext context)
Initiate.

Parameters:
context - SubSectionFigureContext.
Method Detail

setSubSectionName

public void setSubSectionName(String subSectionName)
Description copied from interface: SubSectionFigure
Indicates a change to the SubSectionModel name.

Specified by:
setSubSectionName in interface SubSectionFigure
Parameters:
subSectionName - Name to display for the SubSectionModel.

getSubSectionNameFigure

public org.eclipse.draw2d.IFigure getSubSectionNameFigure()
Description copied from interface: SubSectionFigure

Obtains the IFigure containing the SubSectionModel name.

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

Specified by:
getSubSectionNameFigure in interface SubSectionFigure
Returns:
IFigure containing the SubSectionModel name.


Copyright © 2005-2013. All Rights Reserved.