|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.intellij.openapi.actionSystem.AnAction
de.frag.umlplugin.uml.actions.AbstractAddToDiagramAction
public abstract class AbstractAddToDiagramAction
Abstract base class for actions that add selected classes to diagrams.
Field Summary |
---|
Fields inherited from class com.intellij.openapi.actionSystem.AnAction |
---|
EMPTY_ARRAY, ourClientProperty |
Constructor Summary | |
---|---|
AbstractAddToDiagramAction()
|
Method Summary | |
---|---|
void |
actionPerformed(com.intellij.openapi.actionSystem.AnActionEvent e)
Shows current element under cursor or mouse in graphical navigator. |
protected abstract java.lang.String |
getDiagramName(com.intellij.openapi.actionSystem.AnActionEvent e,
java.util.List<com.intellij.psi.PsiClass> psiClasses)
Gets diagram name for given event. |
void |
setPsiClassProvider(PsiClassProvider psiClassProvider)
Sets psi class provider. |
void |
update(com.intellij.openapi.actionSystem.AnActionEvent e)
Updates the state of the action. |
Methods inherited from class com.intellij.openapi.actionSystem.AnAction |
---|
beforeActionPerformedUpdate, copyFrom, copyShortcutFrom, createTooltipText, displayTextInToolbar, getShortcutSet, getTemplatePresentation, isDefaultIcon, isEnabledInModalContext, isInInjectedContext, registerCustomShortcutSet, setDefaultIcon, setEnabledInModalContext, setInjectedContext, setShortcutSet, unregisterCustomShortcutSet |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractAddToDiagramAction()
Method Detail |
---|
public void setPsiClassProvider(@NotNull PsiClassProvider psiClassProvider)
setPsiClassProvider
in interface PsiClassConsumer
psiClassProvider
- new psi class providerpublic void update(com.intellij.openapi.actionSystem.AnActionEvent e)
update
in class com.intellij.openapi.actionSystem.AnAction
e
- Carries information on the invocation place and data availablepublic void actionPerformed(com.intellij.openapi.actionSystem.AnActionEvent e)
actionPerformed
in class com.intellij.openapi.actionSystem.AnAction
e
- Carries information on the invocation place@Nullable protected abstract java.lang.String getDiagramName(@NotNull com.intellij.openapi.actionSystem.AnActionEvent e, @NotNull java.util.List<com.intellij.psi.PsiClass> psiClasses)
e
- eventpsiClasses
- psi classes that will be added to diagram
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |