本文整理汇总了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;
}
示例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;
}
示例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);
}
示例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);
}
示例5: TabularFileImportParametersGUIHandler
import org.cytoscape.work.Tunable; //导入依赖的package包/类
public TabularFileImportParametersGUIHandler(Field field, Object instance, Tunable tunable) {
super(field, instance, tunable);
init();
}
示例6: SoftFileImportParametersGUIHandler
import org.cytoscape.work.Tunable; //导入依赖的package包/类
public SoftFileImportParametersGUIHandler(Field field, Object instance, Tunable tunable) {
super(field, instance, tunable);
init();
}
示例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;
}