public abstract class AbstractNewProjectStep<T> extends DefaultActionGroup implements DumbAware
Modifier and Type | Class and Description |
---|---|
static class |
AbstractNewProjectStep.AbstractCallback<T> |
protected static class |
AbstractNewProjectStep.Customization<T> |
AnAction.TransparentUpdate
EMPTY_GROUP
ACTIONS_KEY, EMPTY_ARRAY
Modifier | Constructor and Description |
---|---|
protected |
AbstractNewProjectStep(AbstractNewProjectStep.Customization<T> customization) |
Modifier and Type | Method and Description |
---|---|
protected void |
addProjectSpecificAction(ProjectSpecificAction projectSpecificAction) |
static Project |
doGenerateProject(Project projectToClose,
java.lang.String locationString,
DirectoryProjectGenerator generator,
java.lang.Object settings) |
void |
update(AnActionEvent e)
Updates the state of the action.
|
protected void |
updateActions() |
add, add, add, add, addAction, addAction, addAction, addAll, addAll, addAll, addAll, addSeparator, addSeparator, copyFromGroup, createFlatGroup, createPopupGroup, createPopupGroupWithEmptyText, createUserDataAwareGroup, getChildActionsOrStubs, getChildren, getChildren, getChildrenCount, getModificationStamp, remove, remove, remove, removeAll, replaceAction
actionPerformed, addPropertyChangeListener, canBePerformed, disableIfNoVisibleChildren, firePropertyChange, hideIfNoVisibleChildren, isDumbAware, isPopup, isPopup, isPrimary, removePropertyChangeListener, replace, setPopup
addTextOverride, applyTextOverride, beforeActionPerformedUpdate, copyFrom, copyShortcutFrom, displayTextInToolbar, getEventProject, getShortcutSet, getTemplatePresentation, getTemplateText, isDefaultIcon, isEnabledInModalContext, isInInjectedContext, isTransparentUpdate, registerCustomShortcutSet, registerCustomShortcutSet, registerCustomShortcutSet, registerCustomShortcutSet, setDefaultIcon, setEnabledInModalContext, setInjectedContext, setShortcutSet, startInTransaction, toString, unregisterCustomShortcutSet, useSmallerFontForTextInToolbar
protected AbstractNewProjectStep(AbstractNewProjectStep.Customization<T> customization)
public void update(AnActionEvent e)
AnAction
AnAction.actionPerformed(AnActionEvent)
method and notify
the user that action cannot be executed if it's the case.
If the action is added to a toolbar, its "update" can be called twice a second, but only if there was
any user activity or a focus transfer. If your action's availability is changed
in absence of any of these events, please call ActivityTracker.getInstance().inc()
to notify
action subsystem to update all toolbar actions when your subsystem's determines that its actions' visibility might be affected.protected void updateActions()
protected void addProjectSpecificAction(ProjectSpecificAction projectSpecificAction)
public static Project doGenerateProject(Project projectToClose, java.lang.String locationString, DirectoryProjectGenerator generator, java.lang.Object settings)