net.officefloor.eclipse.conform.figures
Interface TargetConformModelItemFigureContext

All Known Implementing Classes:
TargetItemEditPart

public interface TargetConformModelItemFigureContext

Context for the TargetConformModelItemFigure.

Author:
Daniel Sagenschneider

Method Summary
 String getTargetItemName()
          Obtains the TargetItemModel name.
 boolean isInherit()
          Indicates whether inheriting the TargetModel configuration.
 boolean isInheritable()
          Indicates if the TargetItemModel configuration is inheritable.
 void setInherit(boolean isInherit)
          Allows an action of the TargetConformModelItemFigure to indicate whether the TargetItemModel is to be inherited.
 void setLayoutConstraint(org.eclipse.draw2d.IFigure figure, Object layoutConstraint)
          Specifies the layout constraint for the TargetConformModelItemFigure.
 

Method Detail

getTargetItemName

String getTargetItemName()
Obtains the TargetItemModel name.

Returns:
TargetItemModel name.

isInheritable

boolean isInheritable()
Indicates if the TargetItemModel configuration is inheritable.

Returns:
true if may inherit the TargetItemModel configuration.

isInherit

boolean isInherit()
Indicates whether inheriting the TargetModel configuration.

Returns:
true if inheriting the TargetItemModel configuration.

setInherit

void setInherit(boolean isInherit)
Allows an action of the TargetConformModelItemFigure to indicate whether the TargetItemModel is to be inherited.

Parameters:
isInherit - true to action inheriting the TargetItemModel configuration.

setLayoutConstraint

void setLayoutConstraint(org.eclipse.draw2d.IFigure figure,
                         Object layoutConstraint)
Specifies the layout constraint for the TargetConformModelItemFigure.

Parameters:
figure - IFigure to have constraint.
layoutConstraint - Layout constraint.


Copyright © 2005-2013. All Rights Reserved.