Package jSimMacs.display.dialog

Examples of jSimMacs.display.dialog.ImportFileDialog


      }
    } else if (es == importFile) {
      if (selectedNode instanceof RemoteProjectMutuableTreeNode) {
        RemoteProjectMutuableTreeNode rNode = (RemoteProjectMutuableTreeNode) selectedNode;
        RemoteProject rProject = rNode.getRemoteProject();
        ImportFileDialog importDialog = new ImportFileDialog(rNode
            .getPathString(), rProject);
        importDialog.pack();
        importDialog.setSize(500, 350);
        // importDialog.setLocationRelativeTo(this);
        importDialog.setVisible(true);
      } else if (selectedNode instanceof ProjectEntryMutuableTreeNode) {
        ProjectEntryMutuableTreeNode node = (ProjectEntryMutuableTreeNode) selectedNode;

        ImportFileDialog importDialog = new ImportFileDialog(node
            .getPathString(), node.getProject());
        importDialog.pack();
        importDialog.setSize(500, 350);
        importDialog.setVisible(true);
      }
      if (selectedNode instanceof JSimMutuableTreeNode) {
        if(selectedNode.isLeaf()){
          selectedNode = (DefaultMutableTreeNode)selectedNode.getParent();
        }
View Full Code Here

TOP

Related Classes of jSimMacs.display.dialog.ImportFileDialog

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.