Java Doc for Utilities.java in  » IDE-Netbeans » performance » gui » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Netbeans » performance » gui 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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


Field Summary
final public static  StringSOURCE_PACKAGES
    
final public static  StringTEST_PACKAGES
    
final public static  StringWEB_PAGES
    

Constructor Summary
public  Utilities()
    

Method Summary
public static  voidactionOnProject(String project, String pushAction)
    
public static  voidaddApplicationServer()
    
public static  voidbuildproject(String project)
    
public static  voidcloseAllDocuments()
     Close All Documents.
public static  voidcloseBluePrints()
     Close BluePrints.
public static  voidcloseLog()
    
public static  voidcloseMemoryToolbar()
     Close Memory Toolbar.
public static  voidcloseWelcome()
     Close Welcome.
public static  voidcopyFile(java.io.File f1, java.io.File f2)
    
public static  Stringcreateproject(String category, String project, boolean wait)
    
public static  voiddebugProject(String project)
    
public static  voiddeleteProject(String project)
    
public static  voiddeleteProject(String project, boolean waitStatus)
    
public static  voiddeployProject(String project)
    
public static  EditorOperatoreditFile(String project, String filepackage, String filename)
    
public static  NodegetApplicationServerNode()
    
public static  StringgetTimeIndex()
    
public static  voidinitLog(PerformanceTestCase testCase)
    
public static  voidinsertToFile(String filename, int line, String text, boolean save)
    
public static  EditorOperatoropenFile(Node fileNode, String filename, boolean waitforeditor)
    
public static  EditorOperatoropenFile(String project, String filepackage, String filename, boolean waitforeditor)
    
public static  voidopenFiles(String project, String[][] files_path)
    
public static  FormDesignerOperatoropenSmallFormFile()
    
public static  voidrunProject(String project)
    
public static  NodestartApplicationServer()
    
public static  NodestopApplicationServer()
    
public static  voidtestProject(String project)
    
public static  voidverifyProject(String project)
    
public static  voidwaitForPendingBackgroundTasks()
    
public static  voidwaitForPendingBackgroundTasks(int n)
    
protected static  voidwaitForProjectCreation(int delay, boolean wait)
    
public static  voidwaitProjectOpenedScanFinished(String projectFolder)
    
public static  voidwaitScanFinished()
    
public static  voidworkarroundMainMenuRolledUp()
    

Field Detail
SOURCE_PACKAGES
final public static String SOURCE_PACKAGES(Code)



TEST_PACKAGES
final public static String TEST_PACKAGES(Code)



WEB_PAGES
final public static String WEB_PAGES(Code)




Constructor Detail
Utilities
public Utilities()(Code)
Creates a new instance of Utilities




Method Detail
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.



copyFile
public static void copyFile(java.io.File f1, java.io.File f2) throws java.io.FileNotFoundException, java.io.IOException(Code)
Copy file f1 to f2
Parameters:
  f1 - file 1
Parameters:
  f2 - file 2
throws:
  java.io.FileNotFoundException -
throws:
  java.io.IOException -



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)



getTimeIndex
public static String getTimeIndex()(Code)



initLog
public static void initLog(PerformanceTestCase testCase)(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



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.