本文整理汇总了Java中org.apache.taverna.workbench.configuration.colour.ColourManager.setPreferredColour方法的典型用法代码示例。如果您正苦于以下问题:Java ColourManager.setPreferredColour方法的具体用法?Java ColourManager.setPreferredColour怎么用?Java ColourManager.setPreferredColour使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.apache.taverna.workbench.configuration.colour.ColourManager
的用法示例。
在下文中一共展示了ColourManager.setPreferredColour方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: setColourManager
import org.apache.taverna.workbench.configuration.colour.ColourManager; //导入方法依赖的package包/类
public void setColourManager(ColourManager colourManager) {
// set colour for REST processors in the workflow diagram
colourManager.setPreferredColour(GenericRESTTemplateService.ACTIVITY_TYPE.toString(), PROCESSOR_COLOUR);
}
示例2: setColourManager
import org.apache.taverna.workbench.configuration.colour.ColourManager; //导入方法依赖的package包/类
public void setColourManager(ColourManager colourManager) {
// set colour for XPath processors in the workflow diagram
colourManager.setPreferredColour(ExternalToolActivity.class.getCanonicalName(),
Color.decode(PROCESSOR_COLOUR_STRING));
}
开发者ID:apache,项目名称:incubator-taverna-workbench-common-activities,代码行数:6,代码来源:ExternalToolActivityIcon.java
示例3: setColourManager
import org.apache.taverna.workbench.configuration.colour.ColourManager; //导入方法依赖的package包/类
public void setColourManager(ColourManager colourManager) {
colourManager.setPreferredColour(XPathTemplateService.ACTIVITY_TYPE.toString(), PROCESSOR_COLOUR);
}
示例4: setColourManager
import org.apache.taverna.workbench.configuration.colour.ColourManager; //导入方法依赖的package包/类
public void setColourManager(ColourManager colourManager) {
colourManager.setPreferredColour(
"http://ns.taverna.org.uk/2010/activity/spreadsheet-import",
SPREADSHEET_COLOUR);
}
开发者ID:apache,项目名称:incubator-taverna-workbench-common-activities,代码行数:6,代码来源:SpreadsheetImportActivityIcon.java