Package org.cytoscape.work
Interface ServiceProperties
-
public interface ServicePropertiesReserved keywords for OSGi service properties (meta data). These properties will be used forTaskFactoryservices.Module:
work-apiTo 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
Fields Modifier and Type Field Description static StringACCELERATORShortcut key combination for desktop app.static StringAPPS_MENUDefine standard context menus.static StringCOMMANDName of command used by Command Executorstatic StringCOMMAND_DESCRIPTIONDescription for a commandstatic StringCOMMAND_EXAMPLE_JSONA valid JSON string representative of the expected JSON output of a command.static StringCOMMAND_LONG_DESCRIPTIONProse description for a commandstatic StringCOMMAND_NAMESPACEName space for a commandstatic StringCOMMAND_SUPPORTS_JSONIndicates if the command supports JSON output.static StringEDGE_APPS_MENUstatic StringEDGE_DYNAMIC_LINKOUTS_MENUstatic StringEDGE_EDIT_MENUstatic StringEDGE_LINKOUTS_MENUstatic StringEDGE_PREFERENCES_MENUstatic StringEDGE_SELECT_MENUstatic StringENABLE_FORAction should be enabled or disabled by states if this property is setstatic StringIDUnique ID of an OSGi service.static StringIN_CONTEXT_MENUAction will be added to context menu if this flag is set to true.static StringIN_MENU_BARAction (or TaskFactory) will be added to menu bar if this flag is set to "true".static StringIN_NETWORK_PANEL_CONTEXT_MENUAction will be added to network panel's context menu if this flag is set to truestatic StringIN_TOOL_BARAction (or TaskFactory) will be added to tool bar if this flag is set to "true".static StringINSERT_SEPARATOR_AFTERInsert separator after this menu itemstatic StringINSERT_SEPARATOR_BEFOREInsert separator before this menu itemstatic StringINSERT_TOOLBAR_SEPARATOR_AFTERInsert separator after this toolbar itemstatic StringINSERT_TOOLBAR_SEPARATOR_BEFOREInsert separator before this toolbar itemstatic StringLARGE_ICON_IDThe String ID of the Icon to be used in a swing component, usually a tool bar button (seeIN_TOOL_BAR).static StringLARGE_ICON_URLLocation of large icon data for desktop application (seeIN_TOOL_BAR).static StringMENU_GRAVITYSpecify relative location of the action in the menustatic StringNETWORK_ADD_MENUstatic StringNETWORK_APPS_MENUstatic StringNETWORK_DELETE_MENUstatic StringNETWORK_EDIT_MENUstatic StringNETWORK_GROUP_MENUstatic StringNETWORK_LAYOUT_MENUstatic StringNETWORK_PREFERENCES_MENUstatic StringNETWORK_SELECT_MENUstatic StringNODE_ADD_MENUstatic StringNODE_APPS_MENUstatic StringNODE_DYNAMIC_LINKOUTS_MENUstatic StringNODE_EDIT_MENUstatic StringNODE_GROUP_MENUstatic StringNODE_LINKOUTS_MENUstatic StringNODE_NESTED_NETWORKS_MENUstatic StringNODE_PREFERENCES_MENUstatic StringNODE_SELECT_MENUstatic StringPREFERRED_ACTIONPreferred action properties.static StringPREFERRED_MENUPreferred menu item for an actionstatic StringSMALL_ICON_IDThe String ID of the Icon to be used in a swing component, usually a menu item (seeIN_MENU_BAR).static StringSMALL_ICON_URLLocation of small icon data for desktop application (seeIN_MENU_BAR).static StringTITLEHuman-readable display name of a servicestatic StringTOOL_BAR_GRAVITYSpecify relative location of the action in the tool barstatic StringTOOLTIPShort tool tip text for an action.static StringTOOLTIP_IMAGEOptional tool tip image for an action (usually used in tool bars).static StringTOOLTIP_LONG_DESCRIPTIONOptional longer tool tip description for an action (usually used in tool bars).
-
-
-
Field Detail
-
ID
static final String 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
static final String TITLE
Human-readable display name of a service- See Also:
- Constant Field Values
-
ENABLE_FOR
static final String ENABLE_FOR
Action should be enabled or disabled by states if this property is set- See Also:
- Constant Field Values
-
PREFERRED_MENU
static final String PREFERRED_MENU
Preferred menu item for an action- See Also:
- Constant Field Values
-
COMMAND
static final String COMMAND
Name of command used by Command Executor- See Also:
- Constant Field Values
-
COMMAND_NAMESPACE
static final String COMMAND_NAMESPACE
Name space for a command- See Also:
- Constant Field Values
-
COMMAND_DESCRIPTION
static final String COMMAND_DESCRIPTION
Description for a command- See Also:
- Constant Field Values
-
COMMAND_LONG_DESCRIPTION
static final String COMMAND_LONG_DESCRIPTION
Prose description for a command- See Also:
- Constant Field Values
-
COMMAND_EXAMPLE_JSON
static final String COMMAND_EXAMPLE_JSON
A valid JSON string representative of the expected JSON output of a command.- See Also:
- Constant Field Values
-
COMMAND_SUPPORTS_JSON
static final String COMMAND_SUPPORTS_JSON
Indicates if the command supports JSON output.- See Also:
- Constant Field Values
-
LARGE_ICON_URL
static final String LARGE_ICON_URL
Location of large icon data for desktop application (seeIN_TOOL_BAR).- See Also:
- Constant Field Values
-
SMALL_ICON_URL
static final String SMALL_ICON_URL
Location of small icon data for desktop application (seeIN_MENU_BAR).- See Also:
- Constant Field Values
-
LARGE_ICON_ID
static final String 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
static final String 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
static final String TOOLTIP
Short tool tip text for an action.- See Also:
- Constant Field Values
-
TOOLTIP_LONG_DESCRIPTION
static final String TOOLTIP_LONG_DESCRIPTION
Optional longer tool tip description for an action (usually used in tool bars).- See Also:
- Constant Field Values
-
TOOLTIP_IMAGE
static final String TOOLTIP_IMAGE
Optional tool tip image for an action (usually used in tool bars).- See Also:
- Constant Field Values
-
IN_TOOL_BAR
static final String IN_TOOL_BAR
Action (or TaskFactory) will be added to 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_MENU_BAR
static final String IN_MENU_BAR
Action (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_CONTEXT_MENU
static final String IN_CONTEXT_MENU
Action will be added to 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
static final String ACCELERATOR
Shortcut key combination for desktop app.- See Also:
- Constant Field Values
-
MENU_GRAVITY
static final String MENU_GRAVITY
Specify relative location of the action in the menu- See Also:
- Constant Field Values
-
TOOL_BAR_GRAVITY
static final String TOOL_BAR_GRAVITY
Specify relative location of the action in the tool bar- See Also:
- Constant Field Values
-
IN_NETWORK_PANEL_CONTEXT_MENU
static final String 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
static final String PREFERRED_ACTION
Preferred action properties.- See Also:
- Constant Field Values
-
INSERT_SEPARATOR_BEFORE
static final String INSERT_SEPARATOR_BEFORE
Insert separator before this menu item- See Also:
- Constant Field Values
-
INSERT_SEPARATOR_AFTER
static final String INSERT_SEPARATOR_AFTER
Insert separator after this menu item- See Also:
- Constant Field Values
-
INSERT_TOOLBAR_SEPARATOR_BEFORE
static final String INSERT_TOOLBAR_SEPARATOR_BEFORE
Insert separator before this toolbar item- See Also:
- Constant Field Values
-
INSERT_TOOLBAR_SEPARATOR_AFTER
static final String INSERT_TOOLBAR_SEPARATOR_AFTER
Insert separator after this toolbar item- See Also:
- Constant Field Values
-
APPS_MENU
static final String 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
static final String NETWORK_ADD_MENU
- See Also:
- Constant Field Values
-
NETWORK_DELETE_MENU
static final String NETWORK_DELETE_MENU
- See Also:
- Constant Field Values
-
NETWORK_EDIT_MENU
static final String NETWORK_EDIT_MENU
- See Also:
- Constant Field Values
-
NETWORK_SELECT_MENU
static final String NETWORK_SELECT_MENU
- See Also:
- Constant Field Values
-
NETWORK_GROUP_MENU
static final String NETWORK_GROUP_MENU
- See Also:
- Constant Field Values
-
NETWORK_LAYOUT_MENU
static final String NETWORK_LAYOUT_MENU
- See Also:
- Constant Field Values
-
NETWORK_APPS_MENU
static final String NETWORK_APPS_MENU
- See Also:
- Constant Field Values
-
NETWORK_PREFERENCES_MENU
static final String NETWORK_PREFERENCES_MENU
- See Also:
- Constant Field Values
-
NODE_ADD_MENU
static final String NODE_ADD_MENU
- See Also:
- Constant Field Values
-
NODE_EDIT_MENU
static final String NODE_EDIT_MENU
- See Also:
- Constant Field Values
-
NODE_SELECT_MENU
static final String NODE_SELECT_MENU
- See Also:
- Constant Field Values
-
NODE_GROUP_MENU
static final String NODE_GROUP_MENU
- See Also:
- Constant Field Values
-
NODE_NESTED_NETWORKS_MENU
static final String NODE_NESTED_NETWORKS_MENU
- See Also:
- Constant Field Values
-
NODE_APPS_MENU
static final String NODE_APPS_MENU
- See Also:
- Constant Field Values
-
NODE_LINKOUTS_MENU
static final String NODE_LINKOUTS_MENU
- See Also:
- Constant Field Values
-
NODE_DYNAMIC_LINKOUTS_MENU
static final String NODE_DYNAMIC_LINKOUTS_MENU
- See Also:
- Constant Field Values
-
NODE_PREFERENCES_MENU
static final String NODE_PREFERENCES_MENU
- See Also:
- Constant Field Values
-
EDGE_EDIT_MENU
static final String EDGE_EDIT_MENU
- See Also:
- Constant Field Values
-
EDGE_SELECT_MENU
static final String EDGE_SELECT_MENU
- See Also:
- Constant Field Values
-
EDGE_APPS_MENU
static final String EDGE_APPS_MENU
- See Also:
- Constant Field Values
-
EDGE_LINKOUTS_MENU
static final String EDGE_LINKOUTS_MENU
- See Also:
- Constant Field Values
-
EDGE_DYNAMIC_LINKOUTS_MENU
static final String EDGE_DYNAMIC_LINKOUTS_MENU
- See Also:
- Constant Field Values
-
EDGE_PREFERENCES_MENU
static final String EDGE_PREFERENCES_MENU
- See Also:
- Constant Field Values
-
-