Saros
Distributed Collaborative Editing and Distributed Party Programming
|
Public Member Functions | |
void | multipleBuddies (String projectName, JID...inviteeBaseJIDS) throws RemoteException |
void | buddy (JID jid) throws RemoteException |
void | addToSarosSession () throws RemoteException |
This interface contains convenience API to perform actions activated by clicking subMenus of contextMenu StfRemoteObject#CM_SHARE_WITH in the package explorer view. STF users would start off as follows:
// // init alice and bob // initTesters(TypeOfTester.ALICE, Tester.BOB);
// // clean up workbench // setUpWorkbench();
// // open sarosViews, connect... // setUpSaros();
// // alice create a new java project with name Foo_bar // alice.superBot().views().packageExplorerView().tree().newC() .javaProject("Foo_bar");
// // alice share the project Foo_bar with bob // alice.superBot().views().packageExplorerView().selectProject("Foo_bar") .shareWith().buddy(bob.getJID());
For more information on how to write STF-Tests please read the user guide.
void de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.contextmenu.peview.submenu.IShareWithC.addToSarosSession | ( | ) | throws RemoteException |
void de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.contextmenu.peview.submenu.IShareWithC.buddy | ( | JID | jid | ) | throws RemoteException |
Perform the action share project with the given user which should be activated by clicking the contextMenu Share With-> [user's account] of the given project in the package explorer view.
Attention:
jid |
RemoteException |
Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.contextmenu.peview.submenu.impl.ShareWithC.
void de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.contextmenu.peview.submenu.IShareWithC.multipleBuddies | ( | String | projectName, |
JID... | inviteeBaseJIDS | ||
) | throws RemoteException |
Perform the action share project with multiple buddies which should be activated by clicking the contextMenu Share With-> multiple buddies of the given project in the package explorer view.
Attention:
inviteeBaseJIDS | the base JIDs of the users with whom you want to share your project. |
RemoteException |
FIXME: Can't click the contextMenu
Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.contextmenu.peview.submenu.impl.ShareWithC.