Search in sources :

Example 6 with EnlargeContainerEditPolicy

use of org.yakindu.sct.ui.editor.policies.EnlargeContainerEditPolicy in project statecharts by Yakindu.

the class ChoiceEditPart method createDefaultEditPolicies.

@Override
protected void createDefaultEditPolicies() {
    super.createDefaultEditPolicies();
    installEditPolicy(EnlargeContainerEditPolicy.ROLE, new EnlargeContainerEditPolicy());
    installEditPolicy(EditPolicy.GRAPHICAL_NODE_ROLE, new FeedbackGraphicalNodeEditPolicy());
    installEditPolicy(EditPolicy.PRIMARY_DRAG_ROLE, new FixedAspectRatioResizableEditPolicy());
}
Also used : FixedAspectRatioResizableEditPolicy(org.yakindu.sct.ui.editor.policies.FixedAspectRatioResizableEditPolicy) FeedbackGraphicalNodeEditPolicy(org.yakindu.sct.ui.editor.policies.FeedbackGraphicalNodeEditPolicy) EnlargeContainerEditPolicy(org.yakindu.sct.ui.editor.policies.EnlargeContainerEditPolicy)

Aggregations

EnlargeContainerEditPolicy (org.yakindu.sct.ui.editor.policies.EnlargeContainerEditPolicy)6 FeedbackGraphicalNodeEditPolicy (org.yakindu.sct.ui.editor.policies.FeedbackGraphicalNodeEditPolicy)4 OneWayConnectionHandlesEditPolicy (org.yakindu.base.gmf.runtime.editpolicies.OneWayConnectionHandlesEditPolicy)3 NonResizableEditPolicyEx (org.eclipse.gmf.runtime.diagram.ui.editpolicies.NonResizableEditPolicyEx)2 ContextSensitiveHelpPolicy (org.yakindu.sct.ui.editor.policies.ContextSensitiveHelpPolicy)1 FixedAspectRatioResizableEditPolicy (org.yakindu.sct.ui.editor.policies.FixedAspectRatioResizableEditPolicy)1 PreferredSizeHandlerEditPolicy (org.yakindu.sct.ui.editor.policies.PreferredSizeHandlerEditPolicy)1