$packageName$.features
Class LayoutDomainObjectFeature

java.lang.Object
  extended by org.eclipse.graphiti.features.impl.AbstractFeature
      extended by org.eclipse.graphiti.features.impl.AbstractLayoutFeature
          extended by $packageName$.features.LayoutDomainObjectFeature
All Implemented Interfaces:
IFeature, IFeatureProviderHolder, ILayoutFeature, ILayout, IDescription, IName

public class LayoutDomainObjectFeature
extends AbstractLayoutFeature
implements ILayoutFeature


Constructor Summary
LayoutDomainObjectFeature(IFeatureProvider fp)
           
 
Method Summary
 boolean canLayout(ILayoutContext context)
          Checks whether the current pictogram element of the given context can be layouted.
 boolean layout(ILayoutContext context)
          Layoutes the pictogram element.
 
Methods inherited from class org.eclipse.graphiti.features.impl.AbstractLayoutFeature
canExecute, canLayoutPictogramElement, execute, getName, resizeShape
 
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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.graphiti.features.IFeature
canExecute, canUndo, execute, hasDoneChanges, isAvailable
 
Methods inherited from interface org.eclipse.graphiti.IName
getName
 
Methods inherited from interface org.eclipse.graphiti.IDescription
getDescription
 
Methods inherited from interface org.eclipse.graphiti.features.IFeatureProviderHolder
getFeatureProvider
 

Constructor Detail

LayoutDomainObjectFeature

public LayoutDomainObjectFeature(IFeatureProvider fp)
Method Detail

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.