Examples of show()


Examples of org.apache.airavata.xbaya.ui.dialogs.TextWindow.show()

    }
   
  public boolean triggerAction(JTree tree,String action) throws Exception{
    if (action.equals(ViewAction.ID)) {
      TextWindow textWindow = new TextWindow(getXBayaEngine(), getParameter().getName(), getParameter().getValue().toString(),"Parameter Content");
      textWindow.show();
    } else if (action.equals(CopyAction.ID)) {
          Toolkit.getDefaultToolkit().getSystemClipboard().setContents(new StringSelection(getParameter().getValue().toString()), null);
        }
    return super.triggerAction(tree, action);
  }
View Full Code Here

Examples of org.apache.airavata.xbaya.ui.dialogs.WaitDialog.show()

        }
      }, task.messageTitle, task.message, this.xbayaGUI);
      new Thread(new Runnable() {
        @Override
        public void run() {
          waitDialog.show();
        }
      }).start();
      taskDialogs.put(task.messageId, waitDialog);
      break;
    case EXECUTION_TASK_END:
View Full Code Here

Examples of org.apache.airavata.xbaya.ui.dialogs.descriptors.DescriptorEditorDialog.show()

        JMenuItem menuItem = new JMenuItem("Hosts...");
        menuItem.addActionListener(new AbstractAction() {
            public void actionPerformed(ActionEvent e) {
              if (XBayaUtil.acquireJCRRegistry(engine)) {
          DescriptorEditorDialog dialog = new DescriptorEditorDialog(engine,DescriptorType.HOST);
          dialog.show();
        }
          }
        });
        return menuItem;
    }
View Full Code Here

Examples of org.apache.airavata.xbaya.ui.dialogs.registry.JCRRegistryWindow.show()

        return engine.getConfiguration().getJcrComponentRegistry() != null;
    }
   
    public static void updateJCRRegistryInfo(XBayaEngine xbayaEngine) {
      JCRRegistryWindow window = new JCRRegistryWindow(xbayaEngine);
        window.show();
  }
   
    public static Object getInputsForForEachNode(final ForEachNode forEachNode,
      final LinkedList<String> listOfValues, Map<Node, Invoker> invokerMap) throws WorkflowException {
    Node forEachInputNode = forEachNode.getInputPort(0).getFromNode();
View Full Code Here

Examples of org.apache.airavata.xbaya.ui.dialogs.registry.RegistryWindow.show()

        return engine.getConfiguration().getAiravataAPI() != null;
    }
   
    public static void updateJCRRegistryInfo(XBayaEngine xbayaEngine) {
      RegistryWindow window = new RegistryWindow(xbayaEngine);
        window.show();
  }
   
    public static Object getInputsForForEachNode(final ForEachNode forEachNode,
      final LinkedList<String> listOfValues, Map<Node, Invoker> invokerMap) throws WorkflowException {
    Node forEachInputNode = forEachNode.getInputPort(0).getFromNode();
View Full Code Here

Examples of org.apache.airavata.xbaya.ui.experiment.RegistryWorkflowPublisherWindow.show()

                    this.engine.getGUI().getErrorWindow().warning(buf.toString());
                    return false;
                }
                RegistryWorkflowPublisherWindow registryPublishingWindow = new RegistryWorkflowPublisherWindow(
                        this.engine);
                registryPublishingWindow.show();

                String workflowId = workflow.getName();

                workflowId = StringUtil.convertToJavaIdentifier(workflowId);
View Full Code Here

Examples of org.apache.cayenne.modeler.dialog.FileDeletedDialog.show()

    @Override
    protected void doOnRemove(FileInfo fileInfo) {
        if (mediator.getProject() != null
                /*&& fileInfo.getFile().equals(mediator.getProject().getMainFile()) */ ) {
            FileDeletedDialog dialog = new FileDeletedDialog(Application.getFrame());
            dialog.show();

            if (dialog.shouldSave()) {
                Application
                        .getInstance()
                        .getAction(SaveAction.getActionName())
View Full Code Here

Examples of org.apache.cayenne.modeler.dialog.OverwriteDialog.show()

            // check for overwrite
            File projectFile = new File(selectedDir, location);
            if (projectFile.exists()) {
                OverwriteDialog dialog = new OverwriteDialog(projectFile, f);
                dialog.show();

                if (dialog.shouldOverwrite()) {
                    break;
                }
                else if (dialog.shouldSelectAnother()) {
View Full Code Here

Examples of org.apache.cayenne.modeler.dialog.UnsavedChangesDialog.show()

     */
    public boolean checkSaveOnClose() {
        ProjectController projectController = getProjectController();
        if (projectController != null && projectController.isDirty()) {
            UnsavedChangesDialog dialog = new UnsavedChangesDialog(Application.getFrame());
            dialog.show();

            if (dialog.shouldCancel()) {
                // discard changes and DO NOT close
                return false;
            }
View Full Code Here

Examples of org.apache.cocoon.forms.flow.java.FormInstance.show()

        // Load form binding
        form.createBinding("forms/employee-binding.xml");
        // Load the Bean to the form
        form.load(employee);
        // Let Cocoon Forms handle the form
        form.show("form/employee");
        // Update the Bean based on user input
        form.save(employee);
        // Update Bean in Database
        broker.store(employee);
        // Send response to the user
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.