Package org.cfeclipse.frameworks.fusebox.objects

Examples of org.cfeclipse.frameworks.fusebox.objects.FBXFuseAction


          Iterator switchIter = switchItems.iterator();
         
          while(switchIter.hasNext()){
            CfmlTagItem tag = (CfmlTagItem)switchIter.next();
            if(tag != null){
              FBXFuseAction fuseaction = new FBXFuseAction(tag.getAttributeValue("value"));
              fuseaction.setSwichFile(switchFile);
              ArrayList fuses = getFuses(tag, fuseaction);
              fuseaction.setChildren(fuses);
              fuseaction.setCircuit(circuit);
              fuseaction.setTagStart(tag.getStartPosition());
              fuseaction.setTagEnd(tag.getMatchingItem().getEndPosition());
              fuseactions.add(fuseaction);
            }
          }
        }
      } catch(Exception e){
View Full Code Here


            showMessage("Switch File not found");
          }
         
        } 
        else if(obj instanceof FBXFuseAction){
          FBXFuseAction fuseaction = (FBXFuseAction)obj;
          FBXCircuit circ = fuseaction.getCircuit();
          String switchFile = fuseaction.getSwichFile().getFullPath().toString();
         
          OpenFileAction openFileAction = new OpenFileAction();
       
          openFileAction.setFilename(switchFile);
          openFileAction.open(fuseaction.getTagStart(), fuseaction.getTagEnd());
          if(!openFileAction.isSuccess()){
            showMessage("File Not found: " + switchFile);
           
          }
        }
        else if(obj instanceof FBXFuse){
          FBXFuse fuse= (FBXFuse)obj;
          FBXFuseAction fuseaction = (FBXFuseAction)fuse.getParent();
          FBXCircuit circ = fuseaction.getCircuit();
         
         
         
          OpenFileAction openFileAction = new OpenFileAction();
          String fusePath = projcombo.getText() + "/" + fuse.getPath();
View Full Code Here

TOP

Related Classes of org.cfeclipse.frameworks.fusebox.objects.FBXFuseAction

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.