Class PythonCreateVEnvAction
java.lang.Object
javax.swing.AbstractAction
org.netbeans.modules.python.actions.PythonCreateVEnvAction
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action,org.openide.util.ContextAwareAction,org.openide.util.LookupListener
public final class PythonCreateVEnvAction
extends AbstractAction
implements org.openide.util.LookupListener, org.openide.util.ContextAwareAction
- See Also:
-
Field Summary
FieldsFields inherited from class javax.swing.AbstractAction
changeSupport, enabledFields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateContextAwareInstance(org.openide.util.Lookup context) static voidcreateEnv(PythonProject get, String python, String virtualmanager) booleanvoidresultChanged(org.openide.util.LookupEvent ev) Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, putValue, removePropertyChangeListener, setEnabledMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.swing.Action
accept, addPropertyChangeListener, getValue, putValue, removePropertyChangeListener, setEnabled
-
Field Details
-
LOG
-
-
Constructor Details
-
PythonCreateVEnvAction
public PythonCreateVEnvAction() -
PythonCreateVEnvAction
public PythonCreateVEnvAction(org.openide.util.Lookup context)
-
-
Method Details
-
resultChanged
public void resultChanged(org.openide.util.LookupEvent ev) - Specified by:
resultChangedin interfaceorg.openide.util.LookupListener
-
createContextAwareInstance
- Specified by:
createContextAwareInstancein interfaceorg.openide.util.ContextAwareAction
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin interfaceAction- Overrides:
isEnabledin classAbstractAction
-
actionPerformed
- Specified by:
actionPerformedin interfaceActionListener
-
createEnv
public static void createEnv(PythonProject get, String python, String virtualmanager) throws IOException - Throws:
IOException
-