Package org.cytoscape.work
Interface ServiceProperties
public interface ServiceProperties
Reserved keywords for OSGi service properties (meta data).
These properties will be used for
TaskFactory services.Module: work-api
To use this in your app, include the following dependency in your POM:
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>work-api</artifactId>
</dependency>Cytoscape Backwards Compatibility (API Interface): We expect that this interface will be used but not implemented by developers using this interface. As such, we reserve the right to add methods to the interface as part of minor version upgrades. We will not remove methods for any changes other than major version upgrades.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic StringShortcut key combination for desktop app.static StringDefine standard context menus.static StringName of command used by Command Executor.static StringDescription for a command.static StringA valid JSON string representative of the expected JSON output of a command.static StringProse description for a command.static StringName space for a command.static StringIndicates if the command supports JSON output.static Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic StringAction should be enabled or disabled by states if this property is setstatic StringUnique ID of an OSGi service.static StringAction will be added to the network view context menu if this flag is set to"true".static StringTheCyAction,TaskFactoryorTableTaskFactorywill be added to the Edge Table Panel's tool bar if this flag is set to"true".static StringThe CyAction or TaskFactory will be added to menu bar if this flag is set to"true".static StringAction will be added to network panel's context menu if this flag is set to"true".static StringTheCyAction,TaskFactoryorTableTaskFactorywill be added to the Network Table Panel's tool bar if this flag is set to"true".static StringTheCyAction,TaskFactoryorTableTaskFactorywill be added to the Node Table Panel's tool bar if this flag is set to"true".static StringThe CyAction (or TaskFactory) will be added to the main tool bar if this flag is set to"true".static StringTheCyAction,TaskFactoryorTableTaskFactorywill be added to the Unassigned Tables Panel's tool bar if this flag is set to"true".static StringInsert separator after this menu item.static StringInsert separator before this menu item.static StringInsert separator after this toolbar item.static StringInsert separator before this toolbar item.static StringThe String ID of the Icon to be used in a swing component, usually a tool bar button (seeIN_TOOL_BAR).static StringLocation of large icon data for desktop application (seeIN_TOOL_BAR).static StringSpecify relative location of the action in the menu.static Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic StringPreferred action properties.static StringPreferred menu item for an action.static StringThe String ID of the Icon to be used in a swing component, usually a menu item (seeIN_MENU_BAR).static StringLocation of small icon data for desktop application (seeIN_MENU_BAR).static StringHuman-readable display name of a servicestatic StringSpecify relative location of the action in the tool bar.static StringShort tool tip text for an action.static StringOptional tool tip image for an action (usually used in tool bars).static StringOptional longer tool tip description for an action (usually used in tool bars).
-
Field Details
-
ID
Unique ID of an OSGi service. If you need to filter a service from collection of services, use this property as its unique identifier.- See Also:
- Constant Field Values
-
TITLE
Human-readable display name of a service- See Also:
- Constant Field Values
-
ENABLE_FOR
Action should be enabled or disabled by states if this property is set- See Also:
- Constant Field Values
-
PREFERRED_MENU
Preferred menu item for an action.- See Also:
- Constant Field Values
-
COMMAND
Name of command used by Command Executor.- See Also:
- Constant Field Values
-
COMMAND_NAMESPACE
Name space for a command.- See Also:
- Constant Field Values
-
COMMAND_DESCRIPTION
Description for a command.- See Also:
- Constant Field Values
-
COMMAND_LONG_DESCRIPTION
Prose description for a command.- See Also:
- Constant Field Values
-
COMMAND_EXAMPLE_JSON
A valid JSON string representative of the expected JSON output of a command.- See Also:
- Constant Field Values
-
COMMAND_SUPPORTS_JSON
Indicates if the command supports JSON output.- See Also:
- Constant Field Values
-
LARGE_ICON_URL
Location of large icon data for desktop application (seeIN_TOOL_BAR).- See Also:
- Constant Field Values
-
SMALL_ICON_URL
Location of small icon data for desktop application (seeIN_MENU_BAR).- See Also:
- Constant Field Values
-
LARGE_ICON_ID
The String ID of the Icon to be used in a swing component, usually a tool bar button (seeIN_TOOL_BAR). The icon must be registered with the same ID first -- seeIconManager.addIcon(String, Icon).- See Also:
- Constant Field Values
-
SMALL_ICON_ID
The String ID of the Icon to be used in a swing component, usually a menu item (seeIN_MENU_BAR). The icon must be registered with the same ID first -- seeIconManager.addIcon(String, Icon).- See Also:
- Constant Field Values
-
TOOLTIP
Short tool tip text for an action.- See Also:
- Constant Field Values
-
TOOLTIP_LONG_DESCRIPTION
Optional longer tool tip description for an action (usually used in tool bars).- See Also:
- Constant Field Values
-
TOOLTIP_IMAGE
Optional tool tip image for an action (usually used in tool bars).- See Also:
- Constant Field Values
-
IN_MENU_BAR
The CyAction or TaskFactory will be added to menu bar if this flag is set to"true". You can also set the menu item's icon through the propertiesSMALL_ICON_URLorSMALL_ICON_ID.- See Also:
- Constant Field Values
-
IN_TOOL_BAR
The CyAction (or TaskFactory) will be added to the main tool bar if this flag is set to"true". You can also set the button's icon through the propertiesLARGE_ICON_URLorLARGE_ICON_ID.- See Also:
- Constant Field Values
-
IN_NODE_TABLE_TOOL_BAR
TheCyAction,TaskFactoryorTableTaskFactorywill be added to the Node Table Panel's tool bar if this flag is set to"true". You can also set the button's icon through the propertiesLARGE_ICON_URLorLARGE_ICON_ID.- See Also:
- Constant Field Values
-
IN_EDGE_TABLE_TOOL_BAR
TheCyAction,TaskFactoryorTableTaskFactorywill be added to the Edge Table Panel's tool bar if this flag is set to"true". You can also set the button's icon through the propertiesLARGE_ICON_URLorLARGE_ICON_ID.- See Also:
- Constant Field Values
-
IN_NETWORK_TABLE_TOOL_BAR
TheCyAction,TaskFactoryorTableTaskFactorywill be added to the Network Table Panel's tool bar if this flag is set to"true". You can also set the button's icon through the propertiesLARGE_ICON_URLorLARGE_ICON_ID.- See Also:
- Constant Field Values
-
IN_UNASSIGNED_TABLE_TOOL_BAR
TheCyAction,TaskFactoryorTableTaskFactorywill be added to the Unassigned Tables Panel's tool bar if this flag is set to"true". You can also set the button's icon through the propertiesLARGE_ICON_URLorLARGE_ICON_ID.- See Also:
- Constant Field Values
-
IN_CONTEXT_MENU
Action will be added to the network view context menu if this flag is set to"true".This service property only affects:
NodeViewTaskFactoryEdgeViewTaskFactoryNetworkViewTaskFactory
If no value is defined, the default value is
"true".- See Also:
- Constant Field Values
-
ACCELERATOR
Shortcut key combination for desktop app.- See Also:
- Constant Field Values
-
MENU_GRAVITY
Specify relative location of the action in the menu.- See Also:
- Constant Field Values
-
TOOL_BAR_GRAVITY
Specify relative location of the action in the tool bar.- See Also:
- Constant Field Values
-
IN_NETWORK_PANEL_CONTEXT_MENU
Action will be added to network panel's context menu if this flag is set to"true".- See Also:
- Constant Field Values
-
PREFERRED_ACTION
Preferred action properties.- See Also:
- Constant Field Values
-
INSERT_SEPARATOR_BEFORE
Insert separator before this menu item.- See Also:
- Constant Field Values
-
INSERT_SEPARATOR_AFTER
Insert separator after this menu item.- See Also:
- Constant Field Values
-
INSERT_TOOLBAR_SEPARATOR_BEFORE
Insert separator before this toolbar item.- See Also:
- Constant Field Values
-
INSERT_TOOLBAR_SEPARATOR_AFTER
Insert separator after this toolbar item.- See Also:
- Constant Field Values
-
APPS_MENU
Define standard context menus. This is done here so that they will be consistenty used since this is the only way to define gravity for these...- See Also:
- Constant Field Values
-
NETWORK_ADD_MENU
- See Also:
- Constant Field Values
-
NETWORK_DELETE_MENU
- See Also:
- Constant Field Values
-
NETWORK_EDIT_MENU
- See Also:
- Constant Field Values
-
NETWORK_SELECT_MENU
- See Also:
- Constant Field Values
-
NETWORK_GROUP_MENU
- See Also:
- Constant Field Values
-
NETWORK_LAYOUT_MENU
- See Also:
- Constant Field Values
-
NETWORK_APPS_MENU
- See Also:
- Constant Field Values
-
NETWORK_PREFERENCES_MENU
- See Also:
- Constant Field Values
-
NODE_ADD_MENU
- See Also:
- Constant Field Values
-
NODE_EDIT_MENU
- See Also:
- Constant Field Values
-
NODE_SELECT_MENU
- See Also:
- Constant Field Values
-
NODE_GROUP_MENU
- See Also:
- Constant Field Values
-
NODE_NESTED_NETWORKS_MENU
- See Also:
- Constant Field Values
-
NODE_APPS_MENU
- See Also:
- Constant Field Values
-
NODE_LINKOUTS_MENU
- See Also:
- Constant Field Values
-
NODE_DYNAMIC_LINKOUTS_MENU
- See Also:
- Constant Field Values
-
NODE_PREFERENCES_MENU
- See Also:
- Constant Field Values
-
EDGE_EDIT_MENU
- See Also:
- Constant Field Values
-
EDGE_SELECT_MENU
- See Also:
- Constant Field Values
-
EDGE_APPS_MENU
- See Also:
- Constant Field Values
-
EDGE_LINKOUTS_MENU
- See Also:
- Constant Field Values
-
EDGE_DYNAMIC_LINKOUTS_MENU
- See Also:
- Constant Field Values
-
EDGE_PREFERENCES_MENU
- See Also:
- Constant Field Values
-