Java Doc for ServerExplorerOperator.java in  » IDE-Netbeans » visualweb.api.designer » org » netbeans » modules » visualweb » gravy » dataconnectivity » 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 » visualweb.api.designer » org.netbeans.modules.visualweb.gravy.dataconnectivity 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.netbeans.modules.visualweb.gravy.TopComponentOperator
   org.netbeans.modules.visualweb.gravy.dataconnectivity.ServerExplorerOperator

All known Subclasses:   org.netbeans.modules.visualweb.gravy.dataconnectivity.ServerNavigatorOperator,
ServerExplorerOperator
public class ServerExplorerOperator extends TopComponentOperator (Code)
This class implements test functionality for the window "ServerExplorer".


Field Summary
final public static  StringSTR_NAME_WEBLOGICSTR_NAME_JBOSSSTR_NAME_APPSERVERSTR_NAME_GLASSFISH_V1STR_NAME_GLASSFISH_V2STR_NAME_TOMCAT50STR_NAME_TOMCAT55STR_NAME_TOMCAT60STR_MENU_ITEM_SERVER_MANAGERSTR_DIALOG_TITLE_SERVER_MANAGERSTR_WIZARD_TITLE_ADD_SERVERSTR_BUTTON_TITLE_ADD_SERVERSTR_BUTTON_TITLE_CLOSESTR_BUTTON_TITLE_CHOOSESTR_MENU_ITEM_STARTSTR_MENU_ITEM_STOPSTR_SERVERS_PATHSTR_SERVER_STARTSTR_SERVER_STOP
    
 JTreeOperatortree
    

Constructor Summary
public  ServerExplorerOperator(ContainerOperator parent)
    
public  ServerExplorerOperator()
    

Method Summary
public static  voidaddDeploymentTarget(DeploymentTargetDescriptor DTDescriptor)
     Adds a deployment target.
public  voidaddTable(String treePath)
     Adds database table on Design View via popup menu, related to its tree node.
public  voidaddTable(String treePath, DesignerPaneOperator designer)
     Adds database table on Design View via popup menu, related to its tree node.
public  voidaddTable(TreePath treePath, DesignerPaneOperator designer)
     Adds database table on Design View via popup menu, related to its tree node.
public  voidaddTable(String treePath, DesignerPaneOperator designer, Point location)
     Adds database table on Design View via popup menu, related to its tree node.
public  voidaddTable(TreePath treePath, DesignerPaneOperator designer, Point location)
     Adds database table on Design View via popup menu, related to its tree node.
public  StringaddWebServiceLocal(String wsName)
     Adds a Web Service by using a local file.
public  StringaddWebServiceUrl(String url)
    
public  StringaddWebServiceUrl(String url, String proxyHost, String proxyPort)
    
public static  voiddeleteResource(String resource)
     Removes a resource from an application server.
public  JTreeOperatorgetTree()
     Returns a tree, which is contained in the window "Server Explorer".
public static  booleanisServerStarted(String server)
     Checks if an application server is started or not.
public  voidpushPopup(String treePath, String menu)
     Clicks an item of popup menu, related to required tree node.
public  voidpushPopup(JTreeOperator tree, String treePath, String menu)
     Clicks an item of popup menu, related to required tree node.
public  voidpushPopup(String[] treePath, String menu)
     Clicks an item of popup menu, related to required tree node.
public  voidselectPath(String treePath)
     Selects a tree node according to a required tree path.
public static  voidstartServer(String server)
     Starts an application server.
public static  voidstopServer(String server)
     Stops an application server.
public static  voidundeployProject(String server, String prj, boolean parse)
     Undeploys a project from an application server.
public static  booleanverifyUndeployment(String server, String prj, boolean parse)
     Checks undeployment of a project from an application server.

Field Detail
STR_NAME_WEBLOGICSTR_NAME_JBOSSSTR_NAME_APPSERVERSTR_NAME_GLASSFISH_V1STR_NAME_GLASSFISH_V2STR_NAME_TOMCAT50STR_NAME_TOMCAT55STR_NAME_TOMCAT60STR_MENU_ITEM_SERVER_MANAGERSTR_DIALOG_TITLE_SERVER_MANAGERSTR_WIZARD_TITLE_ADD_SERVERSTR_BUTTON_TITLE_ADD_SERVERSTR_BUTTON_TITLE_CLOSESTR_BUTTON_TITLE_CHOOSESTR_MENU_ITEM_STARTSTR_MENU_ITEM_STOPSTR_SERVERS_PATHSTR_SERVER_STARTSTR_SERVER_STOP
final public static String STR_NAME_WEBLOGICSTR_NAME_JBOSSSTR_NAME_APPSERVERSTR_NAME_GLASSFISH_V1STR_NAME_GLASSFISH_V2STR_NAME_TOMCAT50STR_NAME_TOMCAT55STR_NAME_TOMCAT60STR_MENU_ITEM_SERVER_MANAGERSTR_DIALOG_TITLE_SERVER_MANAGERSTR_WIZARD_TITLE_ADD_SERVERSTR_BUTTON_TITLE_ADD_SERVERSTR_BUTTON_TITLE_CLOSESTR_BUTTON_TITLE_CHOOSESTR_MENU_ITEM_STARTSTR_MENU_ITEM_STOPSTR_SERVERS_PATHSTR_SERVER_STARTSTR_SERVER_STOP(Code)



tree
JTreeOperator tree(Code)




Constructor Detail
ServerExplorerOperator
public ServerExplorerOperator(ContainerOperator parent)(Code)
Creates a new instance of this class
Parameters:
  parent - an object ContainerOperator related to container, which includes window "Server Explorer".



ServerExplorerOperator
public ServerExplorerOperator()(Code)
Creates a new instance of this class




Method Detail
addDeploymentTarget
public static void addDeploymentTarget(DeploymentTargetDescriptor DTDescriptor)(Code)
Adds a deployment target.
Parameters:
  DTDescriptor - object DeploymentTargetDescriptor, describingproperties of deployment target



addTable
public void addTable(String treePath)(Code)
Adds database table on Design View via popup menu, related to its tree node.
Parameters:
  treePath - a path of required tree node



addTable
public void addTable(String treePath, DesignerPaneOperator designer)(Code)
Adds database table on Design View via popup menu, related to its tree node.
Parameters:
  treePath - a path of required tree node
Parameters:
  designer - an object DesignerPaneOperator



addTable
public void addTable(TreePath treePath, DesignerPaneOperator designer)(Code)
Adds database table on Design View via popup menu, related to its tree node.
Parameters:
  treePath - a path of required tree node as object TreePath
Parameters:
  designer - an object DesignerPaneOperator



addTable
public void addTable(String treePath, DesignerPaneOperator designer, Point location)(Code)
Adds database table on Design View via popup menu, related to its tree node.
Parameters:
  treePath - a path of required tree node
Parameters:
  designer - an object DesignerPaneOperator
Parameters:
  location - a point on Design View for mouse clicking



addTable
public void addTable(TreePath treePath, DesignerPaneOperator designer, Point location)(Code)
Adds database table on Design View via popup menu, related to its tree node.
Parameters:
  treePath - a path of required tree node as object TreePath
Parameters:
  designer - an object DesignerPaneOperator
Parameters:
  location - a point on Design View for mouse clicking



addWebServiceLocal
public String addWebServiceLocal(String wsName)(Code)
Adds a Web Service by using a local file.
Parameters:
  wsName - a local WSDL file name of added Web Service



addWebServiceUrl
public String addWebServiceUrl(String url)(Code)
Adds an URL of Web Service
Parameters:
  url - URL of a Web Service WSDL file name of added Web Service



addWebServiceUrl
public String addWebServiceUrl(String url, String proxyHost, String proxyPort)(Code)
Adds an URL of Web Service
Parameters:
  url - URL of a Web Service WSDL file
Parameters:
  proxyHost - a proxy server host
Parameters:
  proxyPort - a proxy server port name of added Web Service



deleteResource
public static void deleteResource(String resource)(Code)
Removes a resource from an application server.
Parameters:
  resource - a name of resource (tree node)



getTree
public JTreeOperator getTree()(Code)
Returns a tree, which is contained in the window "Server Explorer". an object JTreeOperator



isServerStarted
public static boolean isServerStarted(String server) throws Exception(Code)
Checks if an application server is started or not.
Parameters:
  server - a name of an application server (name of tree node) true - server is running, false - otherwise.



pushPopup
public void pushPopup(String treePath, String menu)(Code)
Clicks an item of popup menu, related to required tree node.
Parameters:
  treePath - a path of required tree node
Parameters:
  menu - a name of menu item



pushPopup
public void pushPopup(JTreeOperator tree, String treePath, String menu)(Code)
Clicks an item of popup menu, related to required tree node.
Parameters:
  tree - an object JTreeOperator, related to a tree
Parameters:
  treePath - a path of required tree node
Parameters:
  menu - a name of menu item



pushPopup
public void pushPopup(String[] treePath, String menu)(Code)
Clicks an item of popup menu, related to required tree node.
Parameters:
  treePath - a string array with path of required tree node (sequence of node names from the root node to a required node)
Parameters:
  menu - a name of menu item



selectPath
public void selectPath(String treePath)(Code)
Selects a tree node according to a required tree path.
Parameters:
  treePath - a path of required tree node



startServer
public static void startServer(String server) throws Exception(Code)
Starts an application server.
Parameters:
  server - a name of an application server (name of tree node)



stopServer
public static void stopServer(String server)(Code)
Stops an application server.
Parameters:
  server - a name of an application server (name of tree node)



undeployProject
public static void undeployProject(String server, String prj, boolean parse)(Code)
Undeploys a project from an application server.
Parameters:
  server - a name of application server
Parameters:
  prj - a name of project
Parameters:
  parse - boolean parameter: true - only the first 2 chars of the project name are considered, false - full project name is valuable



verifyUndeployment
public static boolean verifyUndeployment(String server, String prj, boolean parse)(Code)
Checks undeployment of a project from an application server.
Parameters:
  server - a name of application server
Parameters:
  prj - a name of project
Parameters:
  parse - boolean parameter: true - only the first 2 chars of the project name are considered, false - full project name is valuable



Methods inherited from org.netbeans.modules.visualweb.gravy.TopComponentOperator
public void close()(Code)(Java Doc)
public void closeDiscard()(Code)(Java Doc)
protected static JComponent findTopComponent(ContainerOperator cont, String name, int index, ComponentChooser subchooser)(Code)(Java Doc)
public void save()(Code)(Java Doc)
public void waitClosed()(Code)(Java Doc)
protected static JComponent waitTopComponent(String name, int index)(Code)(Java Doc)
protected static JComponent waitTopComponent(ContainerOperator cont, String name, int index, ComponentChooser subchooser)(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.