|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.graphiti.features.impl.AbstractFeature
org.eclipse.graphiti.features.impl.AbstractLayoutFeature
org.eclipse.graphiti.pattern.LayoutFeatureForPattern
public class LayoutFeatureForPattern
The Class LayoutFeatureForPattern.
Field Summary | |
---|---|
private IFeatureForPattern |
delegate
|
Constructor Summary | |
---|---|
LayoutFeatureForPattern(IFeatureProvider featureProvider,
IPattern pattern)
Creates a new LayoutFeatureForPattern . |
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 |
---|
canUndo, hasDoneChanges, isAvailable |
Methods inherited from interface org.eclipse.graphiti.IDescription |
---|
getDescription |
Methods inherited from interface org.eclipse.graphiti.features.IFeatureProviderHolder |
---|
getFeatureProvider |
Field Detail |
---|
private IFeatureForPattern delegate
Constructor Detail |
---|
public LayoutFeatureForPattern(IFeatureProvider featureProvider, IPattern pattern)
LayoutFeatureForPattern
.
featureProvider
- the feature providerpattern
- the patternMethod Detail |
---|
public boolean canLayout(ILayoutContext context)
ILayout
context
- the context
public boolean layout(ILayoutContext context)
ILayout
context
- the context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |