Package | Description |
---|---|
org.eclipse.core.commands |
Application programming interfaces for commands and handlers.
|
org.eclipse.ui.commands |
Provides support for retrieving information on Commands from the workbench.
|
Modifier and Type | Method and Description |
---|---|
Category |
Command.getCategory()
Returns the category for this command.
|
Category |
CategoryEvent.getCategory()
Returns the instance of the interface that changed.
|
Category |
CommandManager.getCategory(String categoryId)
Gets the category with the given identifier.
|
Category[] |
CommandManager.getDefinedCategories()
Returns the categories that are defined.
|
Modifier and Type | Method and Description |
---|---|
void |
Command.define(String name,
String description,
Category category)
Defines this command by giving it a name, and possibly a description as
well.
|
void |
Command.define(String name,
String description,
Category category,
IParameter[] parameters)
Defines this command by giving it a name, and possibly a description as
well.
|
void |
Command.define(String name,
String description,
Category category,
IParameter[] parameters,
ParameterType returnType)
Defines this command by giving it a name, and possibly a description as
well.
|
void |
Command.define(String name,
String description,
Category category,
IParameter[] parameters,
ParameterType returnType,
String helpContextId)
Defines this command by giving it a name, and possibly a description as
well.
|
Constructor and Description |
---|
CategoryEvent(Category category,
boolean definedChanged,
boolean descriptionChanged,
boolean nameChanged)
Creates a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
Category |
ICommandService.getCategory(String categoryId)
Retrieves the category with the given identifier.
|
Category[] |
ICommandService.getDefinedCategories()
Returns the collection of all of the defined categories in the workbench.
|
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.