/** * Inserts the tree into the GUI. * Does not check if the previous tree has been saved. * Clears the existing GUI test plan if we are inserting a complete plan. * @param id the id for the ActionEvent that is created * @param tree the tree to load * @return true if the loaded tree was a full test plan * @throws IllegalUserActionException if the tree cannot be merged at the selected position or the tree is empty */ // Called by JMeter#startGui() public static boolean insertLoadedTree(final int id, final HashTree tree) throws IllegalUserActionException { return insertLoadedTree(id, tree, false); }
final boolean isTestPlan = insertLoadedTree(e.getID(), tree, merging);
Load.insertLoadedTree(1, tree); } catch (ConversionException e) { log.error("Failure loading test file", e);