本文整理匯總了Java中net.sf.taverna.t2.workbench.ui.views.contextualviews.ContextualView類的典型用法代碼示例。如果您正苦於以下問題:Java ContextualView類的具體用法?Java ContextualView怎麽用?Java ContextualView使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
ContextualView類屬於net.sf.taverna.t2.workbench.ui.views.contextualviews包,在下文中一共展示了ContextualView類的13個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: testConfigureAction
import net.sf.taverna.t2.workbench.ui.views.contextualviews.ContextualView; //導入依賴的package包/類
@Test
@Ignore("Integration test")
public void testConfigureAction() throws Exception {
ContextualView view = new SoaplabActivityContextualView(a, null, null, null, null, null);
assertNotNull("the action should not be null",view.getConfigureAction(null));
assertTrue("The action should be a SoaplabAcitivyConfigurationAction",view.getConfigureAction(null) instanceof SoaplabActivityConfigurationAction);
}
開發者ID:apache,項目名稱:incubator-taverna-plugin-bioinformatics,代碼行數:8,代碼來源:TestSoaplabActivityContextualView.java
示例2: getViews
import net.sf.taverna.t2.workbench.ui.views.contextualviews.ContextualView; //導入依賴的package包/類
public List<ContextualView> getViews(Activity activity) {
return Arrays.asList(new ContextualView[] { new SoaplabActivityContextualView(activity,
editManager, fileManager, activityIconManager, colourManager, serviceDescriptionRegistry) });
}
開發者ID:apache,項目名稱:incubator-taverna-plugin-bioinformatics,代碼行數:5,代碼來源:SoaplabActivityViewFactory.java
示例3: run
import net.sf.taverna.t2.workbench.ui.views.contextualviews.ContextualView; //導入依賴的package包/類
private void run() throws Exception
{
setup();
ContextualView view = new SoaplabActivityContextualView(a, null, null, null, null, null);
view.setVisible(true);
}
開發者ID:apache,項目名稱:incubator-taverna-plugin-bioinformatics,代碼行數:7,代碼來源:TestSoaplabActivityContextualView.java
示例4: getViews
import net.sf.taverna.t2.workbench.ui.views.contextualviews.ContextualView; //導入依賴的package包/類
public List<ContextualView> getViews(Activity activity) {
return Arrays.asList(new ContextualView[] { new BiomartActivityContextualView(activity,
editManager, fileManager, activityIconManager, colourManager,
applicationConfiguration, serviceDescriptionRegistry, serviceRegistry) });
}
開發者ID:apache,項目名稱:incubator-taverna-plugin-bioinformatics,代碼行數:6,代碼來源:BiomartActivityViewFactory.java
示例5: getViews
import net.sf.taverna.t2.workbench.ui.views.contextualviews.ContextualView; //導入依賴的package包/類
public List<ContextualView> getViews(BiomobyObjectActivity activity) {
return Arrays.asList(new ContextualView[] { new BiomobyObjectActivityContextualView(
activity, editManager, fileManager, colourManager) });
}
開發者ID:apache,項目名稱:incubator-taverna-plugin-bioinformatics,代碼行數:5,代碼來源:BiomobyObjectActivityContextualViewFactory.java
示例6: getViews
import net.sf.taverna.t2.workbench.ui.views.contextualviews.ContextualView; //導入依賴的package包/類
public List<ContextualView> getViews(MobyParseDatatypeActivity activity) {
return Arrays.asList(new ContextualView[] { new MobyParseDatatypeContextualView(activity,
colourManager) });
}
開發者ID:apache,項目名稱:incubator-taverna-plugin-bioinformatics,代碼行數:5,代碼來源:MobyParseDatatypeContextualViewFactory.java
示例7: getViews
import net.sf.taverna.t2.workbench.ui.views.contextualviews.ContextualView; //導入依賴的package包/類
public List<ContextualView> getViews(BiomobyActivity activity) {
return Arrays.asList(new ContextualView[] { new BiomobyActivityContextualView(activity,
editManager, fileManager, activityIconManager, colourManager) });
}
開發者ID:apache,項目名稱:incubator-taverna-plugin-bioinformatics,代碼行數:5,代碼來源:BiomobyActivityContextualViewFactory.java
示例8: testGetConfigureAction
import net.sf.taverna.t2.workbench.ui.views.contextualviews.ContextualView; //導入依賴的package包/類
@Test
public void testGetConfigureAction() throws Exception {
ContextualView view = new BiomobyActivityContextualView(activity, null, null, null, null);
//will be null because its not a valid activity so therefore has no secondaries
assertNull("The action should be null",view.getConfigureAction(null));
}
開發者ID:apache,項目名稱:incubator-taverna-plugin-bioinformatics,代碼行數:7,代碼來源:BiomobyContextualViewFactoryTest.java
示例9: getViews
import net.sf.taverna.t2.workbench.ui.views.contextualviews.ContextualView; //導入依賴的package包/類
public List<ContextualView> getViews(BridgeDbActivity selection) {
return Arrays.<ContextualView>asList(new BridgeDbContextualView(selection));
}
示例10: getViews
import net.sf.taverna.t2.workbench.ui.views.contextualviews.ContextualView; //導入依賴的package包/類
public List<ContextualView> getViews(RAWvernaActivity selection) {
return Arrays.<ContextualView> asList(new RAWvernaContextualView(selection));
}
示例11: getViews
import net.sf.taverna.t2.workbench.ui.views.contextualviews.ContextualView; //導入依賴的package包/類
public List<ContextualView> getViews(JavaImageEvaluatorActivity selection) {
return Arrays.<ContextualView> asList(new JavaImageEvaluatorContextualView(selection));
}
示例12: getViews
import net.sf.taverna.t2.workbench.ui.views.contextualviews.ContextualView; //導入依賴的package包/類
@Override
public List<ContextualView> getViews(SimpleSSIMActivity selection) {
return Arrays.<ContextualView> asList(new SimpleSSIMContextualView(selection));
}
示例13: getViews
import net.sf.taverna.t2.workbench.ui.views.contextualviews.ContextualView; //導入依賴的package包/類
public List<ContextualView> getViews(JavaFITSEvaluatorActivity selection) {
return Arrays.<ContextualView> asList(new JavaFITSEvaluatorContextualView(selection));
}