Saros
Distributed Collaborative Editing and Distributed Party Programming
|
Public Member Functions | |
IRemoteBotTree | setWidget (SWTBotTree tree) |
IRemoteBotTree | uncheckAllItems () |
void | clickContextMenu (String...texts) throws RemoteException |
IRemoteBotTreeItem | collapseNode (String nodeText) throws RemoteException |
IRemoteBotTreeItem | expandNode (String nodeText, boolean recursive) throws RemoteException |
IRemoteBotTreeItem | expandNode (String...nodes) throws RemoteException |
IRemoteBotTree | select (int...indices) throws RemoteException |
IRemoteBotTree | select (String...items) throws RemoteException |
IRemoteBotTree | unselect () throws RemoteException |
IRemoteBotTreeItem | selectTreeItem (String...pathToTreeItem) throws RemoteException |
IRemoteBotTreeItem | selectTreeItemWithRegex (String...regexNodes) throws RemoteException |
IRemoteBotTreeItem | selectTreeItemAndWait (String...pathToTreeItem) throws RemoteException |
boolean | hasItems () throws RemoteException |
int | rowCount () throws RemoteException |
int | selectionCount () throws RemoteException |
int | columnCount () throws RemoteException |
List< String > | columns () throws RemoteException |
List< String > | getTextOfItems () throws RemoteException |
boolean | existsSubItem (String treeItemText) throws RemoteException |
boolean | existsSubItemWithRegex (String regex) throws RemoteException |
void | waitUntilItemExists (final String itemText) throws RemoteException |
void | waitUntilItemNotExists (final String itemText) throws RemoteException |
Static Public Member Functions | |
static RemoteBotTree | getInstance () |
void de.fu_berlin.inf.dpp.stf.server.rmi.remotebot.widget.impl.RemoteBotTree.clickContextMenu | ( | String... | texts | ) | throws RemoteException |
IRemoteBotTreeItem de.fu_berlin.inf.dpp.stf.server.rmi.remotebot.widget.impl.RemoteBotTree.collapseNode | ( | String | nodeText | ) | throws RemoteException |
Collapses the node matching the node information.
nodeText | the text on the node. |
WidgetNotFoundException | if the node is not found. |
Implements de.fu_berlin.inf.dpp.stf.server.rmi.remotebot.widget.IRemoteBotTree.
int de.fu_berlin.inf.dpp.stf.server.rmi.remotebot.widget.impl.RemoteBotTree.columnCount | ( | ) | throws RemoteException |
Gets the column count of this tree.
Implements de.fu_berlin.inf.dpp.stf.server.rmi.remotebot.widget.IRemoteBotTree.
List<String> de.fu_berlin.inf.dpp.stf.server.rmi.remotebot.widget.impl.RemoteBotTree.columns | ( | ) | throws RemoteException |
Gets the columns of this tree.
Implements de.fu_berlin.inf.dpp.stf.server.rmi.remotebot.widget.IRemoteBotTree.
boolean de.fu_berlin.inf.dpp.stf.server.rmi.remotebot.widget.impl.RemoteBotTree.existsSubItem | ( | String | itemText | ) | throws RemoteException |
This method is suitable for shell widget.
itemText | name of the tree item. |
true
, if the treeItem in the bot.tree() exists. RemoteException |
Implements de.fu_berlin.inf.dpp.stf.server.rmi.remotebot.widget.IRemoteBotTree.
boolean de.fu_berlin.inf.dpp.stf.server.rmi.remotebot.widget.impl.RemoteBotTree.existsSubItemWithRegex | ( | String | regex | ) | throws RemoteException |
IRemoteBotTreeItem de.fu_berlin.inf.dpp.stf.server.rmi.remotebot.widget.impl.RemoteBotTree.expandNode | ( | String | nodeText, |
boolean | recursive | ||
) | throws RemoteException |
Expands the nodes as if the plus sign was clicked.
nodeText | the node to be expanded. |
recursive | if the expansion should be recursive. |
WidgetNotFoundException | if the node is not found. |
Implements de.fu_berlin.inf.dpp.stf.server.rmi.remotebot.widget.IRemoteBotTree.
IRemoteBotTreeItem de.fu_berlin.inf.dpp.stf.server.rmi.remotebot.widget.impl.RemoteBotTree.expandNode | ( | String... | nodes | ) | throws RemoteException |
Attempts to expand all nodes along the path specified by the node array parameter.
nodes | node path to expand |
WidgetNotFoundException | if any of the nodes on the path do not exist |
Implements de.fu_berlin.inf.dpp.stf.server.rmi.remotebot.widget.IRemoteBotTree.
static RemoteBotTree de.fu_berlin.inf.dpp.stf.server.rmi.remotebot.widget.impl.RemoteBotTree.getInstance | ( | ) | [static] |
List<String> de.fu_berlin.inf.dpp.stf.server.rmi.remotebot.widget.impl.RemoteBotTree.getTextOfItems | ( | ) | throws RemoteException |
This method is suitable for shell widget.
RemoteException |
Implements de.fu_berlin.inf.dpp.stf.server.rmi.remotebot.widget.IRemoteBotTree.
boolean de.fu_berlin.inf.dpp.stf.server.rmi.remotebot.widget.impl.RemoteBotTree.hasItems | ( | ) | throws RemoteException |
Gets if this tree has items within it.
true
if the tree has any items, false
otherwise. Implements de.fu_berlin.inf.dpp.stf.server.rmi.remotebot.widget.IRemoteBotTree.
int de.fu_berlin.inf.dpp.stf.server.rmi.remotebot.widget.impl.RemoteBotTree.rowCount | ( | ) | throws RemoteException |
Gets the number of rows in the tree.
Implements de.fu_berlin.inf.dpp.stf.server.rmi.remotebot.widget.IRemoteBotTree.
IRemoteBotTree de.fu_berlin.inf.dpp.stf.server.rmi.remotebot.widget.impl.RemoteBotTree.select | ( | int... | indices | ) | throws RemoteException |
Select the indexes provided.
indices | the indices to select. |
Implements de.fu_berlin.inf.dpp.stf.server.rmi.remotebot.widget.IRemoteBotTree.
IRemoteBotTree de.fu_berlin.inf.dpp.stf.server.rmi.remotebot.widget.impl.RemoteBotTree.select | ( | String... | items | ) | throws RemoteException |
Selects the items matching the array list.
items | the items to select. |
Implements de.fu_berlin.inf.dpp.stf.server.rmi.remotebot.widget.IRemoteBotTree.
int de.fu_berlin.inf.dpp.stf.server.rmi.remotebot.widget.impl.RemoteBotTree.selectionCount | ( | ) | throws RemoteException |
Gets the current selection count.
Implements de.fu_berlin.inf.dpp.stf.server.rmi.remotebot.widget.IRemoteBotTree.
IRemoteBotTreeItem de.fu_berlin.inf.dpp.stf.server.rmi.remotebot.widget.impl.RemoteBotTree.selectTreeItem | ( | String... | pathToTreeItem | ) | throws RemoteException |
IRemoteBotTreeItem de.fu_berlin.inf.dpp.stf.server.rmi.remotebot.widget.impl.RemoteBotTree.selectTreeItemAndWait | ( | String... | nodes | ) | throws RemoteException |
Selects the treeItem matching the given nodes in the tree: bot.tree() with waiting until the parentTreeItem is expanded. This method is suitable for shell widget.
nodes | node path to expand. Attempts to expand all nodes along the path specified by the node array parameter. |
RemoteException |
Implements de.fu_berlin.inf.dpp.stf.server.rmi.remotebot.widget.IRemoteBotTree.
IRemoteBotTreeItem de.fu_berlin.inf.dpp.stf.server.rmi.remotebot.widget.impl.RemoteBotTree.selectTreeItemWithRegex | ( | String... | regexNodes | ) | throws RemoteException |
Selects the treeItem matching the given Regexnodes in the tree: bot.tree(). This method is suitable for shell widget.
regexNodes | node path to expand. Attempts to expand all nodes along the path specified by the regex array parameter.e.g.{"Foo-saros.*", "my.pkg.*", "myClass.*"} |
WidgetNotFoundException | If the item wasn't found. |
Implements de.fu_berlin.inf.dpp.stf.server.rmi.remotebot.widget.IRemoteBotTree.
IRemoteBotTree de.fu_berlin.inf.dpp.stf.server.rmi.remotebot.widget.impl.RemoteBotTree.setWidget | ( | SWTBotTree | tree | ) |
IRemoteBotTree de.fu_berlin.inf.dpp.stf.server.rmi.remotebot.widget.impl.RemoteBotTree.uncheckAllItems | ( | ) |
IRemoteBotTree de.fu_berlin.inf.dpp.stf.server.rmi.remotebot.widget.impl.RemoteBotTree.unselect | ( | ) | throws RemoteException |
Unselects the selection in the tree.
Implements de.fu_berlin.inf.dpp.stf.server.rmi.remotebot.widget.IRemoteBotTree.
void de.fu_berlin.inf.dpp.stf.server.rmi.remotebot.widget.impl.RemoteBotTree.waitUntilItemExists | ( | final String | itemText | ) | throws RemoteException |
void de.fu_berlin.inf.dpp.stf.server.rmi.remotebot.widget.impl.RemoteBotTree.waitUntilItemNotExists | ( | final String | itemText | ) | throws RemoteException |