Package org.eclipse.jst.pagedesigner.extensionpoint

Examples of org.eclipse.jst.pagedesigner.extensionpoint.IContextMenuItemContributor


  }

  private void populateContributedMenu(IMenuManager menuMgr) {
    List list = getListeners();
    for (int i = 0, n = list.size(); i < n; i++) {
      IContextMenuItemContributor contributor = (IContextMenuItemContributor) list
          .get(i);
      IFile file = StructuredModelUtil.getFileFor(_model);
      if (file != null && contributor.getURI() != null) {
        if (JSPUtil.supportTaglib(contributor.getURI(), file)) {
          contributor.fillContextMenu(menuMgr, getContext()
              .getSelection(), _model, _parentControl);
        }
      }
    }
  }
View Full Code Here

TOP

Related Classes of org.eclipse.jst.pagedesigner.extensionpoint.IContextMenuItemContributor

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.