| org.netbeans.modules.visualweb.gravy.TopComponentOperator org.netbeans.modules.visualweb.gravy.dataconnectivity.ServerExplorerOperator org.netbeans.modules.visualweb.gravy.dataconnectivity.ServerNavigatorOperator
ServerNavigatorOperator | public class ServerNavigatorOperator extends ServerExplorerOperator (Code) | | This class implements test functionality for the window "Server Navigator".
|
Field Summary | |
JTreeOperator | tree |
Method Summary | |
public boolean | addDataSource(String p_dsname, DataSource p_ds) Adds a data source into window "Server Navigator". | public void | addNewServerType(String p_typeName, String p_template, String p_iniDrivers) Adds new type of DB server into Server Navigator. | public void | addNewServerType(String p_typeName, String p_template, String p_iniDrivers, String p_addDrivers) Adds new type of DB server into Server Navigator. | public void | addTable(TreePath p_path) Adds database table on Design View via popup menu, related to its tree node. | public void | closeDataView() Closes an opened window "View Data". | public void | connectToDataSource(String p_dsname, DataSource p_ds) Opens connection with a data source. | public void | deleteServerType(String p_typeName) Deletes a type of DB server from Server Navigator. | public static String | getBundleString(String p_text) Finds in a bundle file and returns an actual text of control component.
Parameters: p_text - string-key corresponding to required control component. | public static boolean | isPBRunning() Checks, whether built-in database server PointBase is running or not. | public boolean | modifyDataSource(String p_dsname, DataSource p_ds) Changes parameters of a data source. | public boolean | removeDataSource(String p_dsname) Removes a data source. | public static ServerNavigatorOperator | showNavigatorOperator() Makes the window "Server Navigator" visible. | public void | showSchema(String p_ds, String[] p_schema) Opens a window "View Data" for a schema of some database table/view. | public static void | startPB() Launches a built-in database server PointBase. | public static void | stopPB() Shuts a built-in database server PointBase down. | public void | viewData(String p_path) Opens a window "View Data" for some database table/view. | public void | viewData(String[] p_path) Opens a window "View Data" for some database table/view. |
ServerNavigatorOperator | public ServerNavigatorOperator(ContainerOperator parent)(Code) | | Creates a new instance of this class
Parameters: parent - an object ContainerOperator related to container, whichincludes window "Server Navigator". |
ServerNavigatorOperator | public ServerNavigatorOperator()(Code) | | Creates a new instance of this class
|
addDataSource | public boolean addDataSource(String p_dsname, DataSource p_ds)(Code) | | Adds a data source into window "Server Navigator".
Parameters: p_dsname - a name of data source Parameters: p_ds - an object DataSource with properties of data source true if data source was added successfully |
addNewServerType | public void addNewServerType(String p_typeName, String p_template, String p_iniDrivers)(Code) | | Adds new type of DB server into Server Navigator.
Parameters: p_typeName - a name of server type Parameters: p_template - not used Parameters: p_iniDrivers - drivers, needed for this DB server |
addNewServerType | public void addNewServerType(String p_typeName, String p_template, String p_iniDrivers, String p_addDrivers)(Code) | | Adds new type of DB server into Server Navigator.
Parameters: p_typeName - a name of server type Parameters: p_template - not used Parameters: p_iniDrivers - drivers, needed for this DB server Parameters: p_addDrivers - additional drivers, which should be added |
addTable | public void addTable(TreePath p_path)(Code) | | Adds database table on Design View via popup menu, related to its tree node.
Parameters: p_path - a path of required tree node as an object TreePath |
closeDataView | public void closeDataView()(Code) | | Closes an opened window "View Data".
|
connectToDataSource | public void connectToDataSource(String p_dsname, DataSource p_ds)(Code) | | Opens connection with a data source.
Parameters: p_dsname - a name of data source Parameters: p_ds - an object DataSource with properties of data source |
deleteServerType | public void deleteServerType(String p_typeName)(Code) | | Deletes a type of DB server from Server Navigator.
Parameters: p_typeName - a name of server type |
getBundleString | public static String getBundleString(String p_text)(Code) | | Finds in a bundle file and returns an actual text of control component.
Parameters: p_text - string-key corresponding to required control component. actual text of control component |
isPBRunning | public static boolean isPBRunning()(Code) | | Checks, whether built-in database server PointBase is running or not.
true - DB server ir running, false - otherwise |
modifyDataSource | public boolean modifyDataSource(String p_dsname, DataSource p_ds)(Code) | | Changes parameters of a data source.
Parameters: p_dsname - a name of data source Parameters: p_ds - an object DataSource with properties of data source true if data source was modified successfully |
removeDataSource | public boolean removeDataSource(String p_dsname)(Code) | | Removes a data source.
Parameters: p_dsname - a name of data source true if data source was removed successfully |
showNavigatorOperator | public static ServerNavigatorOperator showNavigatorOperator()(Code) | | Makes the window "Server Navigator" visible.
an object ServerNavigatorOperator |
showSchema | public void showSchema(String p_ds, String[] p_schema)(Code) | | Opens a window "View Data" for a schema of some database table/view.
Parameters: p_ds - a name of required data source Parameters: p_schema - not used |
startPB | public static void startPB()(Code) | | Launches a built-in database server PointBase.
|
stopPB | public static void stopPB()(Code) | | Shuts a built-in database server PointBase down.
|
viewData | public void viewData(String p_path)(Code) | | Opens a window "View Data" for some database table/view.
Parameters: p_path - a path of required tree node |
viewData | public void viewData(String[] p_path)(Code) | | Opens a window "View Data" for some database table/view.
Parameters: p_path - a string array with path of required tree node(sequence of node names from the root node to a required node) |
Fields inherited from org.netbeans.modules.visualweb.gravy.dataconnectivity.ServerExplorerOperator | 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)(Java Doc) JTreeOperator tree(Code)(Java Doc)
|
Methods inherited from org.netbeans.modules.visualweb.gravy.dataconnectivity.ServerExplorerOperator | public static void addDeploymentTarget(DeploymentTargetDescriptor DTDescriptor)(Code)(Java Doc) public void addTable(String treePath)(Code)(Java Doc) public void addTable(String treePath, DesignerPaneOperator designer)(Code)(Java Doc) public void addTable(TreePath treePath, DesignerPaneOperator designer)(Code)(Java Doc) public void addTable(String treePath, DesignerPaneOperator designer, Point location)(Code)(Java Doc) public void addTable(TreePath treePath, DesignerPaneOperator designer, Point location)(Code)(Java Doc) public String addWebServiceLocal(String wsName)(Code)(Java Doc) public String addWebServiceUrl(String url)(Code)(Java Doc) public String addWebServiceUrl(String url, String proxyHost, String proxyPort)(Code)(Java Doc) public static void deleteResource(String resource)(Code)(Java Doc) public JTreeOperator getTree()(Code)(Java Doc) public static boolean isServerStarted(String server) throws Exception(Code)(Java Doc) public void pushPopup(String treePath, String menu)(Code)(Java Doc) public void pushPopup(JTreeOperator tree, String treePath, String menu)(Code)(Java Doc) public void pushPopup(String[] treePath, String menu)(Code)(Java Doc) public void selectPath(String treePath)(Code)(Java Doc) public static void startServer(String server) throws Exception(Code)(Java Doc) public static void stopServer(String server)(Code)(Java Doc) public static void undeployProject(String server, String prj, boolean parse)(Code)(Java Doc) public static boolean verifyUndeployment(String server, String prj, boolean parse)(Code)(Java Doc)
|
|
|