public class Load extends AbstractActionWithNoRunningTest
| Constructor and Description |
|---|
Load() |
| Modifier and Type | Method and Description |
|---|---|
void |
doActionAfterCheck(ActionEvent e)
Called to handle
ActionEvent only if no test is running |
Set<String> |
getActionNames() |
static boolean |
insertLoadedTree(int id,
HashTree tree)
Inserts the tree into the GUI.
|
static boolean |
insertLoadedTree(int id,
HashTree tree,
boolean merging)
Inserts (or merges) the tree into the GUI.
|
doActiongetParentFrame, popupCheckExistingFileListener, popupShouldSavepublic void doActionAfterCheck(ActionEvent e)
AbstractActionWithNoRunningTestActionEvent only if no test is runningdoActionAfterCheck in class AbstractActionWithNoRunningTeste - ActionEventpublic static boolean insertLoadedTree(int id,
HashTree tree,
boolean merging)
throws IllegalUserActionException
id - the id for the ActionEvent that is createdtree - the tree to loadmerging - true if the tree is to be merged; false if it is to replace the existing treeIllegalUserActionException - if the tree cannot be merged at the selected position or the tree is emptypublic static boolean insertLoadedTree(int id,
HashTree tree)
throws IllegalUserActionException
id - the id for the ActionEvent that is createdtree - the tree to loadIllegalUserActionException - if the tree cannot be merged at the selected position or the tree is emptyCopyright © 1998-2019 Apache Software Foundation. All Rights Reserved.