Saros
Distributed Collaborative Editing and Distributed Party Programming
|
Public Member Functions | |
IContextMenusInPEView | tree () throws RemoteException |
IContextMenusInPEView | selectSrc (String projectName) throws RemoteException |
IContextMenusInPEView | selectJavaProject (String projectName) throws RemoteException |
IContextMenusInPEView | selectJavaProjectWithRegex (String projectName) throws RemoteException |
IContextMenusInPEView | selectProject (String projectName) throws RemoteException |
IContextMenusInPEView | selectProjectWithRegex (String projectName) throws RemoteException |
IContextMenusInPEView | selectPkg (String projectName, String pkg) throws RemoteException |
IContextMenusInPEView | selectPkgWithRegex (String projectName, String pkg) throws RemoteException |
IContextMenusInPEView | selectClass (String projectName, String pkg, String className) throws RemoteException |
IContextMenusInPEView | selectClassWithRegex (String projectName, String pkg, String className) throws RemoteException |
IContextMenusInPEView | selectFolder (String projectName, String...folderNodes) throws RemoteException |
IContextMenusInPEView | selectFile (String projectName, String...fileNodes) throws RemoteException |
String | getTitle () throws RemoteException |
boolean | isProjectManagedBySVN (String projectName) throws RemoteException |
boolean | isResourceShared (String path) throws RemoteException |
String | getRevision (String fullPath) throws RemoteException |
String | getURLOfRemoteResource (String fullPath) throws RemoteException |
void | waitUntilFolderExists (String...folderNodes) throws RemoteException |
void | waitUntilFolderNotExists (String...folderNodes) throws RemoteException |
void | waitUntilPkgExists (String projectName, String pkg) throws RemoteException |
void | waitUntilPkgNotExists (String projectName, String pkg) throws RemoteException |
void | waitUntilClassExists (String projectName, String pkg, String className) throws RemoteException |
void | waitUntilClassNotExists (String projectName, String pkg, String className) throws RemoteException |
void | waitUntilFileExists (String...fileNodes) throws RemoteException |
void | waitUntilFileNotExists (String...fileNodes) throws RemoteException |
void | waitUntilWindowSarosRunningVCSOperationClosed () throws RemoteException |
void | waitUntilProjectInSVN (String projectName) throws RemoteException |
void | waitUntilProjectNotInSVN (String projectName) throws RemoteException |
void | waitUntilRevisionIsSame (String fullPath, String revisionID) throws RemoteException |
void | waitUntilUrlIsSame (String fullPath, String url) throws RemoteException |
String | getFileContent (String...fileNodes) throws RemoteException, IOException, CoreException |
void | waitUntilFileContentSame (String otherFileContent, String...fileNodes) throws RemoteException |
void | waitUntilResourceIsShared (String path) throws RemoteException |
This interface contains methods to select treeItems in the package explorer view
String de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.IPackageExplorerView.getFileContent | ( | String... | fileNodes | ) | throws RemoteException, IOException, CoreException |
fileNodes | node path to expand. Attempts to expand all nodes along the path specified by the node array parameter.e.g. {"Foo-saros","parentFolder" ,"myFolder"}. |
RemoteException | |
IOException | |
CoreException |
Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.impl.PackageExplorerView.
String de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.IPackageExplorerView.getRevision | ( | String | fullPath | ) | throws RemoteException |
fullPath | the full path of the local resource, e.g. "example_project/src/org/eclipsecon/swtbot/example/MyFirstTest01.java" |
RemoteException |
Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.impl.PackageExplorerView.
String de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.IPackageExplorerView.getTitle | ( | ) | throws RemoteException |
String de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.IPackageExplorerView.getURLOfRemoteResource | ( | String | fullPath | ) | throws RemoteException |
fullPath | the full path of the local resource, e.g. "example_project/src/org/eclipsecon/swtbot/example/MyFirstTest01.java" |
RemoteException |
Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.impl.PackageExplorerView.
boolean de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.IPackageExplorerView.isProjectManagedBySVN | ( | String | projectName | ) | throws RemoteException |
projectName | the name of the project |
true
, if the given project is under SVN control RemoteException |
Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.impl.PackageExplorerView.
boolean de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.IPackageExplorerView.isResourceShared | ( | String | path | ) | throws RemoteException |
Tests if the given resource is shared in the current session
path | the full path of the local resource, e.g. "example_project/src/org/eclipsecon/swtbot/example/MyFirstTest01.java" |
true
if the resource is currently shared, false
otherwise RemoteException |
Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.impl.PackageExplorerView.
IContextMenusInPEView de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.IPackageExplorerView.selectClass | ( | String | projectName, |
String | pkg, | ||
String | className | ||
) | throws RemoteException |
Select the given class
projectName | the name of the project, e.g.foo_bar |
pkg | the name of the package, e.g. my.pkg |
className | the name of the class, e.g. myClass |
RemoteException | |
WidgetNotFoundException | if the project, package or class could not be found |
Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.impl.PackageExplorerView.
IContextMenusInPEView de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.IPackageExplorerView.selectClassWithRegex | ( | String | projectName, |
String | pkg, | ||
String | className | ||
) | throws RemoteException |
Select the given class matching the regular expression.
projectName | the name of the project as regular expression |
pkg | the name of the package as regular expression |
className | the name of the class as regular expression |
RemoteException | |
WidgetNotFoundException | if the project, package or class could not be found |
Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.impl.PackageExplorerView.
IContextMenusInPEView de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.IPackageExplorerView.selectFile | ( | String | projectName, |
String... | fileNodes | ||
) | throws RemoteException |
Select the given files
projectName | the name of the project |
fileNodes | node path to expand. Attempts to expand all nodes along the path specified by the node array parameter.e.g. {"myFolder", "myFile.xml"} |
RemoteException |
Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.impl.PackageExplorerView.
IContextMenusInPEView de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.IPackageExplorerView.selectFolder | ( | String | projectName, |
String... | folderNodes | ||
) | throws RemoteException |
Selects the given folder.
projectName | the name of the project |
folderNodes | node path to expand. Attempts to expand all nodes along the path specified by the node array parameter.e.g. {"myFolder", "foo", "bar"} |
RemoteException | |
WidgetNotFoundException | if the folder could not be found |
Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.impl.PackageExplorerView.
IContextMenusInPEView de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.IPackageExplorerView.selectJavaProject | ( | String | projectName | ) | throws RemoteException |
Selects the given Java project.
projectName | the name of the Java project |
RemoteException | |
WidgetNotFoundException | if the Java project could not be found |
Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.impl.PackageExplorerView.
IContextMenusInPEView de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.IPackageExplorerView.selectJavaProjectWithRegex | ( | String | projectName | ) | throws RemoteException |
Selects the given Java project matching the regular expression.
projectName | the name of the Java project as regular expression |
RemoteException | |
WidgetNotFoundException | if the Java project could not be found |
Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.impl.PackageExplorerView.
IContextMenusInPEView de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.IPackageExplorerView.selectPkg | ( | String | projectName, |
String | pkg | ||
) | throws RemoteException |
Select the given package.
projectName | the name of the project, e.g.foo_bar |
pkg | the name of the package, e.g. my.pkg |
RemoteException | |
WidgetNotFoundException | if the project or package could not be found |
Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.impl.PackageExplorerView.
IContextMenusInPEView de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.IPackageExplorerView.selectPkgWithRegex | ( | String | projectName, |
String | pkg | ||
) | throws RemoteException |
Select the given package matching the regular expression.
projectName | the name of the project as regular expression |
pkg | the name of the package as regular expression |
RemoteException | |
WidgetNotFoundException | if the project or package could not be found |
Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.impl.PackageExplorerView.
IContextMenusInPEView de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.IPackageExplorerView.selectProject | ( | String | projectName | ) | throws RemoteException |
Select the given project.
projectName | the name of the project |
RemoteException | |
WidgetNotFoundException | if the project could not be found |
Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.impl.PackageExplorerView.
IContextMenusInPEView de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.IPackageExplorerView.selectProjectWithRegex | ( | String | projectName | ) | throws RemoteException |
Select the given project matching the regular expression.
projectName | the name of the project as regular expression |
RemoteException | |
WidgetNotFoundException | if the project could not be found |
Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.impl.PackageExplorerView.
IContextMenusInPEView de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.IPackageExplorerView.selectSrc | ( | String | projectName | ) | throws RemoteException |
IContextMenusInPEView de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.IPackageExplorerView.tree | ( | ) | throws RemoteException |
void de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.IPackageExplorerView.waitUntilClassExists | ( | String | projectName, |
String | pkg, | ||
String | className | ||
) | throws RemoteException |
Wait until the specified class exists. This method would be used, if you want to check if a shared class exists or not which is created by another session_participant.
projectName | name of the project, e.g. Foo_Saros. |
pkg | name of the package, e.g. my.pkg. |
className | name of the class, e.g. myClass. |
RemoteException |
Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.impl.PackageExplorerView.
void de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.IPackageExplorerView.waitUntilClassNotExists | ( | String | projectName, |
String | pkg, | ||
String | className | ||
) | throws RemoteException |
Wait until the specified class not exists.This method would be used, if you want to check if a shared class exists or not which is deleted by another session_participant.
projectName | name of the project, e.g. Foo_Saros. |
pkg | name of the package, e.g. my.pkg. |
className | name of the class, e.g. myClass. |
RemoteException |
Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.impl.PackageExplorerView.
void de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.IPackageExplorerView.waitUntilFileContentSame | ( | String | otherFileContent, |
String... | fileNodes | ||
) | throws RemoteException |
Sometimes you want to know, if a peer(e.g. Bob) can see the changes of file, which is modified by another peer (e.g. Alice). Because of data transfer delay Bob need to wait a little to see the changes . So it will be a good idea that you give bob some time before you compare the two files from Alice and Bob.
Note: the mothod is different from IRemoteBotEditor#waitUntilIsTextSame(String), which compare only the text of editor which may be dirty.
otherFileContent | the file content of another peer, with which you want to compare your file content. |
fileNodes | node path to expand. Attempts to expand all nodes along the path specified by the node array parameter.e.g. {"Foo-saros","parentFolder" ,"myFolder"}. |
void de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.IPackageExplorerView.waitUntilFileExists | ( | String... | fileNodes | ) | throws RemoteException |
Wait until the file exists.
fileNodes | node path to expand. Attempts to expand all nodes along the path specified by the node array parameter.e.g. {"Foo-saros", "myFolder", "myFile.xml"} |
Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.impl.PackageExplorerView.
void de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.IPackageExplorerView.waitUntilFileNotExists | ( | String... | fileNodes | ) | throws RemoteException |
Wait until the file does not exist.
fileNodes | node path to expand. Attempts to expand all nodes along the path specified by the node array parameter.e.g. {"Foo-saros", "myFolder", "myFile.xml"} |
Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.impl.PackageExplorerView.
void de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.IPackageExplorerView.waitUntilFolderExists | ( | String... | folderNodes | ) | throws RemoteException |
Wait until the specified folder exists
folderNodes | node path to expand. Attempts to expand all nodes along the path specified by the node array parameter.e.g. {"Foo-saros","parentFolder" ,"myFolder"} |
Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.impl.PackageExplorerView.
void de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.IPackageExplorerView.waitUntilFolderNotExists | ( | String... | folderNodes | ) | throws RemoteException |
Wait until the specified folder does not exist
folderNodes | node path to expand. Attempts to expand all nodes along the path specified by the node array parameter.e.g. {"Foo-saros","parentFolder" ,"myFolder"} |
Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.impl.PackageExplorerView.
void de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.IPackageExplorerView.waitUntilPkgExists | ( | String | projectName, |
String | pkg | ||
) | throws RemoteException |
wait until the given package exists
projectName | name of the java project, e.g. Foo-Saros. |
pkg | name of the package, e.g. my.pkg. |
RemoteException |
Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.impl.PackageExplorerView.
void de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.IPackageExplorerView.waitUntilPkgNotExists | ( | String | projectName, |
String | pkg | ||
) | throws RemoteException |
Wait until the given package not exists. This method would be used, if you want to check if a shared package exists or not which is deleted by another session_participant.
projectName | name of the java project, e.g. Foo-Saros. |
pkg | name of the package, e.g. my.pkg. |
RemoteException |
Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.impl.PackageExplorerView.
void de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.IPackageExplorerView.waitUntilProjectInSVN | ( | String | projectName | ) | throws RemoteException |
waits until the given project is in SVN control
projectName | the name of the project |
RemoteException |
Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.impl.PackageExplorerView.
void de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.IPackageExplorerView.waitUntilProjectNotInSVN | ( | String | projectName | ) | throws RemoteException |
waits until the given project is not under SVN control
projectName | the name of the project |
RemoteException |
Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.impl.PackageExplorerView.
void de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.IPackageExplorerView.waitUntilResourceIsShared | ( | String | path | ) | throws RemoteException |
Waits until the given resource is shared in the current session
path | the full path of the local resource, e.g. "example_project/src/org/eclipsecon/swtbot/example/MyFirstTest01.java" |
RemoteException |
void de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.IPackageExplorerView.waitUntilRevisionIsSame | ( | String | fullPath, |
String | revisionID | ||
) | throws RemoteException |
fullPath | the full path of the local resource, e.g. "example_project/src/org/eclipsecon/swtbot/example/MyFirstTest01.java" |
revisionID | the expected revision. |
RemoteException |
Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.impl.PackageExplorerView.
void de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.IPackageExplorerView.waitUntilUrlIsSame | ( | String | fullPath, |
String | url | ||
) | throws RemoteException |
fullPath | the full path of the local resource, e.g. "example_project/src/org/eclipsecon/swtbot/example/MyFirstTest01.java" |
url | the expected URL of the remote resource, e.g. "http://myhost.com/svn/trunk/.../MyFirstTest01.java". |
RemoteException |
Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.impl.PackageExplorerView.
void de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.IPackageExplorerView.waitUntilWindowSarosRunningVCSOperationClosed | ( | ) | throws RemoteException |
waits until the window with the title "Saros running VCS operation" is closed
RemoteException |
Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.view.eclipse.impl.PackageExplorerView.