Package net.officefloor.gef.editor
Interface AdaptedConnection<C extends ConnectionModel>
-
- All Superinterfaces:
AdaptedModel<C>
- All Known Implementing Classes:
AdaptedConnectionFactory.AdaptedConnectionImpl
,ProxyAdaptedConnection
public interface AdaptedConnection<C extends ConnectionModel> extends AdaptedModel<C>
AdaptedConnectionModel
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
canRemove()
Indicates whether able to remove theConnectionModel
.AdaptedConnectable<?>
getSource()
Obtains the sourceAdaptedConnectable
.AdaptedConnectable<?>
getTarget()
Obtains the targetAdaptedConnectable
.void
remove()
Removes theConnectionModel
.-
Methods inherited from interface net.officefloor.gef.editor.AdaptedModel
getErrorHandler, getModel, getParent
-
-
-
-
Method Detail
-
getSource
AdaptedConnectable<?> getSource()
Obtains the sourceAdaptedConnectable
.- Returns:
- Source
AdaptedConnectable
.
-
getTarget
AdaptedConnectable<?> getTarget()
Obtains the targetAdaptedConnectable
.- Returns:
- Target
AdaptedConnectable
.
-
canRemove
boolean canRemove()
Indicates whether able to remove theConnectionModel
.- Returns:
true
if able to remove theConnectionModel
.
-
remove
void remove()
Removes theConnectionModel
.
-
-