Package jsynoptic.base

Examples of jsynoptic.base.SelectionContextualActionProvider


    protected boolean addCollectiveActions(JPopupMenu menu, int x, int y, int context){
      LinkedHashMap pactions=null;
      for(int i=0;i<getElementContainer().getSelection().getSelectedElements().size();i++){
        Object o=getElementContainer().getSelection().getSelectedElements().get(i);
        if (o instanceof SelectionContextualActionProvider) {
          SelectionContextualActionProvider provider = (SelectionContextualActionProvider)o;
          boolean locked = JSynoptic.gui==null ? false : JSynoptic.gui.getLockedShapes().contains(provider);
          if(locked){
            continue;
          }
          LinkedHashMap cactions = provider.getCollectiveActions(getElementContainer().getSelection(), x, y, getSelectedSource(), context);
          if (cactions != null){
                       if(pactions==null){
                            pactions=cactions;
                       
                        } else{
View Full Code Here

TOP

Related Classes of jsynoptic.base.SelectionContextualActionProvider

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.