|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResizeConstraints
A representation of the model object 'Resize Constraints'.
Bit-wise OR of any PositionConstants.NORTH
, PositionConstants.SOUTH
, PositionConstants.EAST
or PositionConstants.WEST
The following features are supported:
GMFGenPackage.getResizeConstraints()
Method Summary | |
---|---|
org.eclipse.emf.common.util.EList<String> |
getNonResizeHandleNames()
Returns the value of the 'Non Resize Handle Names' attribute list. |
int |
getNonResizeHandles()
Returns the value of the 'Non Resize Handles' attribute. |
org.eclipse.emf.common.util.EList<String> |
getResizeHandleNames()
Returns the value of the 'Resize Handle Names' attribute list. |
int |
getResizeHandles()
Returns the value of the 'Resize Handles' attribute. |
void |
setNonResizeHandles(int value)
Sets the value of the ' Non Resize Handles ' attribute. |
void |
setResizeHandles(int value)
Sets the value of the ' Resize Handles ' attribute. |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Method Detail |
---|
int getResizeHandles()
"0"
.
Any direction mentioned here (and combination thereof, like e.g. NORTH_WEST) is added as resizable handle
setResizeHandles(int)
,
GMFGenPackage.getResizeConstraints_ResizeHandles()
void setResizeHandles(int value)
Resize Handles
' attribute.
value
- the new value of the 'Resize Handles' attribute.getResizeHandles()
int getNonResizeHandles()
"0"
.
Directions mentioned with this attribute are explicitly denoted as non-resizable (i.e. with 'move' cursor). If you'd like to omit handle ResizableEditPolicy.createSelectionHandles()
completely, just don't list it here
setNonResizeHandles(int)
,
GMFGenPackage.getResizeConstraints_NonResizeHandles()
void setNonResizeHandles(int value)
Non Resize Handles
' attribute.
value
- the new value of the 'Non Resize Handles' attribute.getNonResizeHandles()
org.eclipse.emf.common.util.EList<String> getResizeHandleNames()
String
.
Convenient method to get PositionConstants
names from resizeHandle attribute
GMFGenPackage.getResizeConstraints_ResizeHandleNames()
org.eclipse.emf.common.util.EList<String> getNonResizeHandleNames()
String
.
Same as getResizeHandleNames()
, for nonResizeHandle attribute
GMFGenPackage.getResizeConstraints_NonResizeHandleNames()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |