Package org.eclipse.graphiti.features
Class DefaultResizeConfiguration
- java.lang.Object
-
- org.eclipse.graphiti.features.DefaultResizeConfiguration
-
- All Implemented Interfaces:
IResizeConfiguration
public class DefaultResizeConfiguration extends java.lang.Object implements IResizeConfiguration
Class DefaultResizeConfiguration defines the default resize behaviour.
-
-
Constructor Summary
Constructors Constructor Description DefaultResizeConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isHorizontalResizeAllowed()
Defines resize behaviorboolean
isVerticalResizeAllowed()
Defines resize behavior
-
-
-
Method Detail
-
isHorizontalResizeAllowed
public boolean isHorizontalResizeAllowed()
Description copied from interface:IResizeConfiguration
Defines resize behavior- Specified by:
isHorizontalResizeAllowed
in interfaceIResizeConfiguration
- Returns:
- true if element can be resized in horizontal direction
-
isVerticalResizeAllowed
public boolean isVerticalResizeAllowed()
Description copied from interface:IResizeConfiguration
Defines resize behavior- Specified by:
isVerticalResizeAllowed
in interfaceIResizeConfiguration
- Returns:
- true if element can be resized in vertical direction
-
-