gpt4 book ai didi

net.sf.taverna.t2.workbench.ui.workflowview.WorkflowView.importServiceDescription()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-26 08:41:05 25 4
gpt4 key购买 nike

本文整理了Java中net.sf.taverna.t2.workbench.ui.workflowview.WorkflowView.importServiceDescription()方法的一些代码示例,展示了WorkflowView.importServiceDescription()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WorkflowView.importServiceDescription()方法的具体详情如下:
包路径:net.sf.taverna.t2.workbench.ui.workflowview.WorkflowView
类名称:WorkflowView
方法名:importServiceDescription

WorkflowView.importServiceDescription介绍

暂无

代码示例

代码示例来源:origin: net.sf.taverna.t2.ui-activities/rshell-activity-ui

public void actionPerformed(ActionEvent e) {
    WorkflowView.importServiceDescription(RshellTemplateService.getServiceDescription(),
        false);					
  }
}

代码示例来源:origin: net.sf.taverna.t2.ui-activities/stringconstant-activity-ui

public void actionPerformed(ActionEvent e) {
    WorkflowView.importServiceDescription(StringConstantTemplateService.getServiceDescription(),
        false);
  
  }
}

代码示例来源:origin: net.sf.taverna.t2.ui-activities/interaction-activity-ui

@Override
  public void actionPerformed(final ActionEvent e) {
    WorkflowView.importServiceDescription(
        InteractionServiceHtmlTemplateService
            .getServiceDescription(), false);
  }
}

代码示例来源:origin: net.sf.taverna.t2.ui-activities/beanshell-activity-ui

public void actionPerformed(ActionEvent e) {
    WorkflowView.importServiceDescription(BeanshellTemplateService.getServiceDescription(),
    false);
  }
}

代码示例来源:origin: net.sf.taverna.t2.ui-activities/rshell-activity-ui

public void actionPerformed(ActionEvent e) {
  WorkflowView.importServiceDescription(RshellTemplateService.getServiceDescription(),
      false);							
}

代码示例来源:origin: net.sf.taverna.t2.ui-components/workflow-view

public static void pasteTransferable(Transferable t) {
  if (t.isDataFlavorSupported(processorFlavor)) {
    pasteProcessor(t);
  } else if (t.isDataFlavorSupported(serviceDescriptionDataFlavor)) {
    try {
      ServiceDescription data = (ServiceDescription) t.getTransferData(serviceDescriptionDataFlavor);
      importServiceDescription(data, false);
    } catch (UnsupportedFlavorException e) {
      showException(UNABLE_TO_ADD_SERVICE,e);
      logger.error(e);
    } catch (IOException e) {
      showException(UNABLE_TO_ADD_SERVICE,e);
      logger.error(e);
    }
    
  }
}

代码示例来源:origin: net.sf.taverna.t2.ui-activities/component-activity-ui

private void doSearch(Registry chosenRegistry, Profile chosenProfile,
    SortedMap<String, String> prefixMap, String queryString) {
  if (chosenRegistry == null) {
    showMessageDialog(null, "Unable to determine registry",
        "Component Registry Problem", ERROR_MESSAGE);
    return;
  }
  if (chosenProfile == null) {
    showMessageDialog(null, "Unable to determine profile",
        "Component Profile Problem", ERROR_MESSAGE);
    return;
  }
  StringBuilder prefixString = new StringBuilder();
  for (Entry<String, String> entry : prefixMap.entrySet())
    if (!entry.getKey().equals(WFDESC_PREFIX))
      prefixString.append(constructPrefixString(entry));
  SearchChoicePanel searchChoicePanel = new SearchChoicePanel(
      chosenRegistry, prefixString.toString(), queryString);
  int answer = showOptionDialog(null, searchChoicePanel,
      "Matching components", OK_CANCEL_OPTION, QUESTION_MESSAGE,
      null, new String[] { "Add to workflow", "Cancel" }, "Cancel");
  if (answer == OK_OPTION) {
    Version.ID ident = searchChoicePanel.getVersionIdentification();
    if (ident != null)
      importServiceDescription(new ComponentServiceDesc(ident), false);
  }
}

代码示例来源:origin: net.sf.taverna.t2.ui-activities/stringconstant-activity-ui

public void actionPerformed(ActionEvent e) {
  
  Dataflow workflow = FileManager.getInstance().getCurrentDataflow();
  
  WorkflowView.importServiceDescription(StringConstantTemplateService.getServiceDescription(),
      false);

}

代码示例来源:origin: net.sf.taverna.t2.ui-activities/interaction-activity-ui

@Override
  public void actionPerformed(final ActionEvent e) {
    FileManager.getInstance().getCurrentDataflow();
    WorkflowView.importServiceDescription(
        InteractionServiceHtmlTemplateService
            .getServiceDescription(), false);
  }
}

代码示例来源:origin: net.sf.taverna.t2.ui-activities/beanshell-activity-ui

public void actionPerformed(ActionEvent e) {
    Dataflow workflow = FileManager.getInstance()
    .getCurrentDataflow();
WorkflowView.importServiceDescription(BeanshellTemplateService.getServiceDescription(),
    false);
  }
}

代码示例来源:origin: net.sf.taverna.t2.ui-exts/perspective-biocatalogue

if (WorkflowView.importServiceDescription(myServiceDescription, false) != null) {
  return (new JLabel("Selected " + TYPE.SOAPOperation.getTypeName() + " was successfully added to the current workflow",
           ResourceManager.getImageIcon(ResourceManager.TICK_ICON), JLabel.CENTER));
WorkflowView.importServiceDescription(restServiceDescription, false);

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com