public class SelectNewTreeAction extends DataModuleAction
SelectListDialog.selectNewTree(Component, ClassLoader) to present a list of classes that
implement IDecisionMethod . If the user selects a tree, it is instantiated and added to
the list of decision trees IDecisionMethodsList in
ToxTreeModuleframe, modulechangeSupport, enabledACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON| Constructor and Description |
|---|
SelectNewTreeAction(DecisionMethodsDataModule module) |
SelectNewTreeAction(DecisionMethodsDataModule module,
String name) |
SelectNewTreeAction(DecisionMethodsDataModule module,
String name,
Icon icon) |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent arg0) |
void |
runAction() |
getFrame, setFrameaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledpublic SelectNewTreeAction(DecisionMethodsDataModule module)
public SelectNewTreeAction(DecisionMethodsDataModule module, String name)
public SelectNewTreeAction(DecisionMethodsDataModule module, String name, Icon icon)
public void actionPerformed(ActionEvent arg0)
actionPerformed in interface ActionListeneractionPerformed in class DataModuleActionpublic void runAction()
throws Exception
runAction in class DataModuleActionExceptionCopyright © 2004–2018 Ideaconsult Ltd. All rights reserved.