|
||||||||||
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.DefaultResizeShapeFeature
org.eclipse.graphiti.pattern.ResizeShapeFeatureForPattern
public class ResizeShapeFeatureForPattern
The Class ResizeShapeFeatureForPattern.
Field Summary | |
---|---|
private IFeatureForPattern |
delegate
|
Constructor Summary | |
---|---|
ResizeShapeFeatureForPattern(IFeatureProvider featureProvider,
IPattern pattern)
Creates a new ResizeShapeFeatureForPattern . |
Method Summary | |
---|---|
boolean |
canResizeShape(IResizeShapeContext context)
Can resize shape. |
IResizeConfiguration |
getResizeConfiguration()
Provides configuration object, which describes the resize behavior |
void |
resizeShape(IResizeShapeContext context)
Resize shape. |
Methods inherited from class org.eclipse.graphiti.features.impl.DefaultResizeShapeFeature |
---|
canExecute, 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 ResizeShapeFeatureForPattern(IFeatureProvider featureProvider, IPattern pattern)
ResizeShapeFeatureForPattern
.
featureProvider
- the feature providerpattern
- the patternMethod Detail |
---|
public boolean canResizeShape(IResizeShapeContext context)
IResizeShape
canResizeShape
in interface IResizeShape
canResizeShape
in class DefaultResizeShapeFeature
context
- the context
public void resizeShape(IResizeShapeContext context)
IResizeShape
resizeShape
in interface IResizeShape
resizeShape
in class DefaultResizeShapeFeature
context
- the contextpublic IResizeConfiguration getResizeConfiguration()
IResizeFeature
getResizeConfiguration
in interface IResizeFeature
getResizeConfiguration
in class DefaultResizeShapeFeature
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |