Package org.eclipse.gmf.runtime.diagram.ui.editpolicies

Examples of org.eclipse.gmf.runtime.diagram.ui.editpolicies.NonResizableLabelEditPolicy


    installEditPolicy(EditPolicy.DIRECT_EDIT_ROLE,
        new LabelDirectEditPolicy());
    installEditPolicy(EditPolicy.SELECTION_FEEDBACK_ROLE,
        new Fd2TextSelectionEditPolicy());
    installEditPolicy(EditPolicy.PRIMARY_DRAG_ROLE,
        new NonResizableLabelEditPolicy() {

          protected List createSelectionHandles() {
            MoveHandle mh = new MoveHandle(
                (GraphicalEditPart) getHost());
            mh.setBorder(null);
View Full Code Here


    installEditPolicy(EditPolicy.DIRECT_EDIT_ROLE,
        new LabelDirectEditPolicy());
    installEditPolicy(EditPolicy.SELECTION_FEEDBACK_ROLE,
        new Fd2TextSelectionEditPolicy());
    installEditPolicy(EditPolicy.PRIMARY_DRAG_ROLE,
        new NonResizableLabelEditPolicy() {

          protected List createSelectionHandles() {
            MoveHandle mh = new MoveHandle(
                (GraphicalEditPart) getHost());
            mh.setBorder(null);
View Full Code Here

TOP

Related Classes of org.eclipse.gmf.runtime.diagram.ui.editpolicies.NonResizableLabelEditPolicy

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.