Examples of ISelectionEditPolicyListener


Examples of org.eclipse.wb.gef.graphical.policies.ISelectionEditPolicyListener

  ////////////////////////////////////////////////////////////////////////////
  public AlignmentActionsHelper(SelectionEditPolicy policy) {
    m_policy = policy;
    m_editPart = policy.getHost();
    m_viewer = m_editPart.getViewer();
    m_policy.addSelectionPolicyListener(new ISelectionEditPolicyListener() {
      public void showSelection(SelectionEditPolicy policy) {
        if (m_editPart.getSelected() == EditPart.SELECTED_PRIMARY) {
          showAlignmentFigures();
        }
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.