public class InsertPathAction extends AnAction
AnAction.TransparentUpdate
Modifier and Type | Field and Description |
---|---|
protected static CustomShortcutSet |
CTRL_F |
protected static Key |
INSERT_PATH_ACTION |
protected FileChooserDescriptor |
myDescriptor |
protected boolean |
myInsertSystemDependentPaths |
protected javax.swing.text.JTextComponent |
myTextField |
ACTIONS_KEY, EMPTY_ARRAY
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(AnActionEvent e)
Implement this method to provide your action handler.
|
static void |
addTo(javax.swing.text.JTextComponent textField) |
static void |
addTo(javax.swing.text.JTextComponent textField,
FileChooserDescriptor descriptor) |
static void |
addTo(javax.swing.text.JTextComponent textField,
FileChooserDescriptor descriptor,
boolean insertSystemDependentPaths) |
static void |
copyFromTo(javax.swing.text.JTextComponent original,
javax.swing.text.JTextComponent target) |
static void |
removeFrom(javax.swing.text.JTextComponent textComponent) |
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, update, useSmallerFontForTextInToolbar
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isDumbAware
protected final javax.swing.text.JTextComponent myTextField
protected static final CustomShortcutSet CTRL_F
protected final FileChooserDescriptor myDescriptor
protected final boolean myInsertSystemDependentPaths
protected static final Key INSERT_PATH_ACTION
public void actionPerformed(AnActionEvent e)
AnAction
actionPerformed
in class AnAction
e
- Carries information on the invocation placepublic static void addTo(javax.swing.text.JTextComponent textField)
public static void addTo(javax.swing.text.JTextComponent textField, FileChooserDescriptor descriptor)
public static void addTo(javax.swing.text.JTextComponent textField, FileChooserDescriptor descriptor, boolean insertSystemDependentPaths)
public static void removeFrom(javax.swing.text.JTextComponent textComponent)
public static void copyFromTo(javax.swing.text.JTextComponent original, javax.swing.text.JTextComponent target)