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> T
getAdapter(java.lang.Class<T> classKey)
Obtains the adapter.org.eclipse.gef.geometry.planar.Dimension
getDimension()
Obtains theDimension
.org.eclipse.gef.geometry.planar.Dimension
getMinimumDimension()
Obtains the minimumDimension
for theAdaptedArea
.ParentToAreaConnectionModel
getParentConnection()
Obtains theParentToAreaConnectionModel
.void
setDimension(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 minimumDimension
for theAdaptedArea
.- Returns:
- Minimum
Dimension
for 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
-Class
key.- Returns:
- Adapter or
null
if no adapter available.
-
-