Package net.officefloor.gef.editor
Interface AdaptedArea<M extends Model>
-
- All Superinterfaces:
AdaptedConnectable<M>,AdaptedConnector<M>,AdaptedModel<M>
- All Known Implementing Classes:
AdaptedAreaFactory.AdaptedAreaImpl
public interface AdaptedArea<M extends Model> extends AdaptedConnectable<M>, AdaptedConnector<M>
Adapted area.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> TgetAdapter(java.lang.Class<T> classKey)Obtains the adapter.org.eclipse.gef.geometry.planar.DimensiongetDimension()Obtains theDimension.org.eclipse.gef.geometry.planar.DimensiongetMinimumDimension()Obtains the minimumDimensionfor theAdaptedArea.ParentToAreaConnectionModelgetParentConnection()Obtains theParentToAreaConnectionModel.voidsetDimension(org.eclipse.gef.geometry.planar.Dimension dimension)Specifies theDimension.-
Methods inherited from interface net.officefloor.gef.editor.AdaptedConnectable
action, createConnection, getAdaptedConnector, getAdaptedConnectors, getConnections, getDragLatency, getErrorHandler, getPotentialConnection, getSelectOnly, getStylesheet, getStylesheetUrl
-
Methods inherited from interface net.officefloor.gef.editor.AdaptedConnector
getAssociationRole, getConnectionModelClass, getParentAdaptedConnectable, isAssociationCreateConnection, setAssociation
-
Methods inherited from interface net.officefloor.gef.editor.AdaptedModel
getModel, getParent
-
-
-
-
Method Detail
-
getMinimumDimension
org.eclipse.gef.geometry.planar.Dimension getMinimumDimension()
Obtains the minimumDimensionfor theAdaptedArea.- Returns:
- Minimum
Dimensionfor theAdaptedArea.
-
getDimension
org.eclipse.gef.geometry.planar.Dimension getDimension()
Obtains theDimension.- Returns:
Dimension.
-
setDimension
void setDimension(org.eclipse.gef.geometry.planar.Dimension dimension)
Specifies theDimension.- Parameters:
dimension-Dimension.
-
getParentConnection
ParentToAreaConnectionModel getParentConnection()
Obtains theParentToAreaConnectionModel.- Returns:
ParentToAreaConnectionModel.
-
getAdapter
<T> T getAdapter(java.lang.Class<T> classKey)
Obtains the adapter.- Type Parameters:
T- Adapted type.- Parameters:
classKey-Classkey.- Returns:
- Adapter or
nullif no adapter available.
-
-