$packageName$.features
Class LayoutDomainObjectFeature
java.lang.Object
org.eclipse.graphiti.features.impl.AbstractFeature
org.eclipse.graphiti.features.impl.AbstractLayoutFeature
$packageName$.features.LayoutDomainObjectFeature
- All Implemented Interfaces:
- IFeature, IFeatureProviderHolder, ILayoutFeature, ILayout, IDescription, IName
public class LayoutDomainObjectFeature
- extends AbstractLayoutFeature
- implements ILayoutFeature
Methods inherited from class org.eclipse.graphiti.features.impl.AbstractFeature |
addGraphicalRepresentation, canUndo, getAllBusinessObjectsForPictogramElement, getBusinessObjectForPictogramElement, getDescription, getDiagram, getDiagramEditor, getFeatureProvider, getProgressCallback, getUserDecision, hasDoneChanges, isAvailable, layoutPictogramElement, link, link, manageColor, manageColor, setProgressCallback, toString, updatePictogramElement |
Methods inherited from interface org.eclipse.graphiti.IName |
getName |
LayoutDomainObjectFeature
public LayoutDomainObjectFeature(IFeatureProvider fp)
canLayout
public boolean canLayout(ILayoutContext context)
- Description copied from interface:
ILayout
- Checks whether the current pictogram element of the given context can be
layouted.
- Specified by:
canLayout
in interface ILayout
- Parameters:
context
- the context
- Returns:
- true if update is possible
layout
public boolean layout(ILayoutContext context)
- Description copied from interface:
ILayout
- Layoutes the pictogram element.
- Specified by:
layout
in interface ILayout
- Parameters:
context
- the context
- Returns:
- true, if update process was successfull
Copyright (c) SAP AG 2005, 2010.