com.intellij.codeInsight.intention
Class IntentionManager
java.lang.Object
com.intellij.codeInsight.intention.IntentionManager
- All Implemented Interfaces:
- BaseComponent, ProjectComponent
public abstract class IntentionManager
- extends java.lang.Object
- implements ProjectComponent
Manager for intentions. All intentions must be registered here.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntentionManager
public IntentionManager()
getInstance
public static IntentionManager getInstance(Project project)
- Returns instance of
IntententionManager for given project.
- Parameters:
project -
- Returns:
addAction
public abstract void addAction(IntentionAction action)
- Registers intention action.
- Parameters:
action -
getIntentionActions
public abstract IntentionAction[] getIntentionActions()
- Returns all registered intention actions.
- Returns:
- array of registered actions.
registerIntentionAndMetaData
public abstract void registerIntentionAndMetaData(IntentionAction action,
java.lang.String[] category)
registerIntentionAndMetaData
public abstract void registerIntentionAndMetaData(IntentionAction action,
java.lang.String[] category,
java.lang.String descriptionDirectoryName)