| java.lang.Object gui.Utilities
All known Subclasses: gui.VWPUtilities, gui.ScriptingUtilities, footprint.FootprintUtilities, gui.MPUtilities, gui.UMLUtilities, gui.EPUtilities,
Utilities | public class Utilities (Code) | | Utilities for Performance tests, workarrounds, often used methods, ...
author: mmirilovic@netbeans.org, mrkam@netbeans.org |
Method Summary | |
public static void | actionOnProject(String project, String pushAction) | public static void | addApplicationServer() | public static void | buildproject(String project) | public static void | closeAllDocuments() Close All Documents. | public static void | closeBluePrints() Close BluePrints. | public static void | closeLog() | public static void | closeMemoryToolbar() Close Memory Toolbar. | public static void | closeWelcome() Close Welcome. | public static void | copyFile(java.io.File f1, java.io.File f2) | public static String | createproject(String category, String project, boolean wait) | public static void | debugProject(String project) | public static void | deleteProject(String project) | public static void | deleteProject(String project, boolean waitStatus) | public static void | deployProject(String project) | public static EditorOperator | editFile(String project, String filepackage, String filename) | public static Node | getApplicationServerNode() | public static String | getTimeIndex() | public static void | initLog(PerformanceTestCase testCase) | public static void | insertToFile(String filename, int line, String text, boolean save) | public static EditorOperator | openFile(Node fileNode, String filename, boolean waitforeditor) | public static EditorOperator | openFile(String project, String filepackage, String filename, boolean waitforeditor) | public static void | openFiles(String project, String[][] files_path) | public static FormDesignerOperator | openSmallFormFile() | public static void | runProject(String project) | public static Node | startApplicationServer() | public static Node | stopApplicationServer() | public static void | testProject(String project) | public static void | verifyProject(String project) | public static void | waitForPendingBackgroundTasks() | public static void | waitForPendingBackgroundTasks(int n) | protected static void | waitForProjectCreation(int delay, boolean wait) | public static void | waitProjectOpenedScanFinished(String projectFolder) | public static void | waitScanFinished() | public static void | workarroundMainMenuRolledUp() |
SOURCE_PACKAGES | final public static String SOURCE_PACKAGES(Code) | | |
Utilities | public Utilities()(Code) | | Creates a new instance of Utilities
|
actionOnProject | public static void actionOnProject(String project, String pushAction)(Code) | | Invoke action on project node from popup menu
Parameters: project - Parameters: pushAction - |
addApplicationServer | public static void addApplicationServer()(Code) | | Adds GlassFish V2 using path from com.sun.aas.installRoot property
|
buildproject | public static void buildproject(String project)(Code) | | Build project and wait for finish
Parameters: project - |
closeAllDocuments | public static void closeAllDocuments()(Code) | | Close All Documents.
|
closeBluePrints | public static void closeBluePrints()(Code) | | Close BluePrints.
|
closeLog | public static void closeLog()(Code) | | |
closeMemoryToolbar | public static void closeMemoryToolbar()(Code) | | Close Memory Toolbar.
|
closeWelcome | public static void closeWelcome()(Code) | | Close Welcome.
|
createproject | public static String createproject(String category, String project, boolean wait)(Code) | | Create project
Parameters: category - project's category Parameters: project - type of the project Parameters: wait - wait for background tasks name of recently created project |
debugProject | public static void debugProject(String project)(Code) | | Debug project
Parameters: project - |
deleteProject | public static void deleteProject(String project)(Code) | | Delete project
Parameters: project - project to be deleted |
deleteProject | public static void deleteProject(String project, boolean waitStatus)(Code) | | |
deployProject | public static void deployProject(String project)(Code) | | Deploy project and wait for finish
Parameters: project - |
editFile | public static EditorOperator editFile(String project, String filepackage, String filename)(Code) | | Invoke Edit Action on file and wait for editor
Parameters: project - Parameters: filepackage - Parameters: filename - |
getApplicationServerNode | public static Node getApplicationServerNode()(Code) | | |
insertToFile | public static void insertToFile(String filename, int line, String text, boolean save)(Code) | | Edit file and type there a text
Parameters: filename - file that will be eddited Parameters: line - line where put the text Parameters: text - write the text Parameters: save - save at the and |
openFile | public static EditorOperator openFile(Node fileNode, String filename, boolean waitforeditor)(Code) | | Invoke open action on file and wait for editor
Parameters: filename - Parameters: waitforeditor - |
openFile | public static EditorOperator openFile(String project, String filepackage, String filename, boolean waitforeditor)(Code) | | |
openFiles | public static void openFiles(String project, String[][] files_path)(Code) | | Open files
Parameters: project - project which will be used as source for files to be opened Parameters: files_path - path to the files to be opened |
openSmallFormFile | public static FormDesignerOperator openSmallFormFile()(Code) | | open small form file in the editor
Form Designer |
runProject | public static void runProject(String project)(Code) | | Run project
Parameters: project - |
startApplicationServer | public static Node startApplicationServer()(Code) | | |
stopApplicationServer | public static Node stopApplicationServer()(Code) | | |
testProject | public static void testProject(String project)(Code) | | Test project
Parameters: project - |
verifyProject | public static void verifyProject(String project)(Code) | | Verify project and wait for finish
Parameters: project - |
waitForPendingBackgroundTasks | public static void waitForPendingBackgroundTasks()(Code) | | |
waitForPendingBackgroundTasks | public static void waitForPendingBackgroundTasks(int n)(Code) | | |
waitForProjectCreation | protected static void waitForProjectCreation(int delay, boolean wait)(Code) | | |
waitProjectOpenedScanFinished | public static void waitProjectOpenedScanFinished(String projectFolder)(Code) | | Open project and wait until it's scanned
Parameters: projectFolder - Project's location |
waitScanFinished | public static void waitScanFinished()(Code) | | Wait finished scan - repeatedly
|
workarroundMainMenuRolledUp | public static void workarroundMainMenuRolledUp()(Code) | | Work around issue 35962 (Main menu popup accidentally rolled up)
Issue has been fixed for JDK 1.5, so we will use it only for JDK 1.4.X
|
|
|