本文整理汇总了Java中org.cytoscape.work.Tunable类的典型用法代码示例。如果您正苦于以下问题:Java Tunable类的具体用法?Java Tunable怎么用?Java Tunable使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Tunable类属于org.cytoscape.work包,在下文中一共展示了Tunable类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: getExistingColumnForMapping
import org.cytoscape.work.Tunable; //导入依赖的package包/类
@Tunable(description="Existing column", groups={"Column"}, dependsOn="createNewColumn=false", listenForChange ={"targetClass","targetNetwork"})
public ListSingleSelection<String> getExistingColumnForMapping()
{
if(!updatingExistingColumnForMapping)
{
updatingExistingColumnForMapping = true;
try {
updateExistingColumnForMapping(targetClass.getSelectedValue().getTargetClass());
} finally {
updatingExistingColumnForMapping = false;
}
}
return existingColumnForMapping;
}
开发者ID:cas-bioinf,项目名称:cy-dataseries,代码行数:15,代码来源:MapColumnTask.java
示例2: getMapRowNamesWithColumn
import org.cytoscape.work.Tunable; //导入依赖的package包/类
@Tunable(description="Column to match row names", groups={"Mapping"}, dependsOn="mapByRowNames=true", listenForChange ="targetClass")
public ListSingleSelection<String> getMapRowNamesWithColumn()
{
if(!updatingMapRowNamesWithColumn)
{
updatingMapRowNamesWithColumn = true;
try
{
updateMapRowNamesWithColumn(targetClass.getSelectedValue().getTargetClass());
} finally {
updatingMapRowNamesWithColumn = false;
}
}
return mapRowNamesWithColumn;
}
开发者ID:cas-bioinf,项目名称:cy-dataseries,代码行数:16,代码来源:MapColumnTask.java
示例3: createTunableHandler
import org.cytoscape.work.Tunable; //导入依赖的package包/类
@Override
public TabularFileImportParametersGUIHandler createTunableHandler(Field field, Object instance, Tunable t) {
if (!TabularFileImportParameters.class.isAssignableFrom(field.getType()))
return null;
return new TabularFileImportParametersGUIHandler(field, instance, t);
}
开发者ID:cas-bioinf,项目名称:cy-dataseries,代码行数:8,代码来源:TabularFileImportParametersGUIHandlerFactory.java
示例4: createTunableHandler
import org.cytoscape.work.Tunable; //导入依赖的package包/类
@Override
public SoftFileImportParametersGUIHandler createTunableHandler(Field field, Object instance, Tunable t) {
if (!SoftFileImportParameters.class.isAssignableFrom(field.getType()))
return null;
return new SoftFileImportParametersGUIHandler(field, instance, t);
}
开发者ID:cas-bioinf,项目名称:cy-dataseries,代码行数:8,代码来源:SoftFileImportParametersGUIHandlerFactory.java
示例5: TabularFileImportParametersGUIHandler
import org.cytoscape.work.Tunable; //导入依赖的package包/类
public TabularFileImportParametersGUIHandler(Field field, Object instance, Tunable tunable) {
super(field, instance, tunable);
init();
}
开发者ID:cas-bioinf,项目名称:cy-dataseries,代码行数:5,代码来源:TabularFileImportParametersGUIHandler.java
示例6: SoftFileImportParametersGUIHandler
import org.cytoscape.work.Tunable; //导入依赖的package包/类
public SoftFileImportParametersGUIHandler(Field field, Object instance, Tunable tunable) {
super(field, instance, tunable);
init();
}
开发者ID:cas-bioinf,项目名称:cy-dataseries,代码行数:5,代码来源:SoftFileImportParametersGUIHandler.java
示例7: getnodeList
import org.cytoscape.work.Tunable; //导入依赖的package包/类
@Tunable(description="List of nodes in the cluster", context="nogui")
public NodeList getnodeList() {
CyNetwork network = applicationManager.getCurrentNetwork();
nodeList.setNetwork(network);
return nodeList;
}
开发者ID:BaderLab,项目名称:AutoAnnotateApp,代码行数:7,代码来源:LabelClusterCommandTask.java
注:本文中的org.cytoscape.work.Tunable类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论