|
org.netbeans.modules.jellytools.ide/3 3.14.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.jellytools.nodes.Node
org.netbeans.jellytools.modules.db.nodes.ConnectionNode
public class ConnectionNode
Node representing "Databases > ${connection}" node in Services tab.
Usage:
ConnectionNode conn = DriversNode.invoke("jdbc:derby:/mydb", "tester", "APP");
conn.connect();
conn.executeCommand();
....
conn.disconnect();
| Field Summary |
|---|
| Fields inherited from class org.netbeans.jellytools.nodes.Node |
|---|
stringPath, treeOperator, treePath |
| Constructor Summary | |
|---|---|
ConnectionNode(String url,
String user,
String schema)
creates new ConnectionNode |
|
| Method Summary | |
|---|---|
void |
connect()
performs ConnectAction with this node |
void |
delete()
performs DeleteAction with this node |
void |
disconnect()
performs DisconnectAction with this node |
void |
executeCommand()
performs ExecuteCommandAction with this node |
static ConnectionNode |
invoke(String url,
String user,
String schema)
Finds "Databases > ${connection}" node |
void |
properties()
performs PropertiesAction with this node |
| Methods inherited from class org.netbeans.jellytools.nodes.Node |
|---|
addSelectionPath, callPopup, collapse, expand, getChildren, getComparator, getOpenideNode, getParentPath, getPath, getText, getTreePath, isChildPresent, isCollapsed, isExpanded, isLeaf, isLink, isPresent, performAPIAction, performAPIActionNoBlock, performMenuAction, performMenuActionNoBlock, performPopupAction, performPopupActionNoBlock, select, setComparator, tree, verifyPopup, verifyPopup, verifyPopup, waitChildNotPresent, waitCollapsed, waitExpanded, waitNotPresent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConnectionNode(String url,
String user,
String schema)
url - database URLuser - user nameschema - schema name| Method Detail |
|---|
public static ConnectionNode invoke(String url,
String user,
String schema)
url - database URLuser - user nameschema - schema namepublic void connect()
public void disconnect()
public void executeCommand()
public void delete()
public void properties()
|
org.netbeans.modules.jellytools.ide/3 3.14.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||