Saros
Distributed Collaborative Editing and Distributed Party Programming
de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.menubar.menu.impl.WindowMenu Class Reference
Inheritance diagram for de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.menubar.menu.impl.WindowMenu:
de.fu_berlin.inf.dpp.stf.server.StfRemoteObject de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.menubar.menu.IWindowMenu de.fu_berlin.inf.dpp.stf.shared.Constants

List of all members.

Public Member Functions

void setNewTextFileLineDelimiter (String OS) throws RemoteException
void clickMenuPreferences () throws RemoteException
void showViewProblems () throws RemoteException
void showViewProjectExplorer () throws RemoteException
void showViewWithName (String parentNode, String node) throws RemoteException
void openPerspective () throws RemoteException
void openPerspectiveResource () throws RemoteException
void openPerspectiveJava () throws RemoteException
void openPerspectiveDebug () throws RemoteException
String getTextFileLineDelimiter () throws RemoteException
boolean isJavaPerspectiveActive () throws RemoteException
boolean isDebugPerspectiveActive () throws RemoteException

Static Public Member Functions

static WindowMenu getInstance ()

Member Function Documentation

void de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.menubar.menu.impl.WindowMenu.clickMenuPreferences ( ) throws RemoteException

if OS is windows: click menu "Window" -> "Preferences".
if OS is MAC: click menu "Eclipse" -> "Preferences".

Exceptions:
RemoteException

Implements de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.menubar.menu.IWindowMenu.

static WindowMenu de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.menubar.menu.impl.WindowMenu.getInstance ( ) [static]
String de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.menubar.menu.impl.WindowMenu.getTextFileLineDelimiter ( ) throws RemoteException
Returns:
the used text file line delimiter
Exceptions:
RemoteException

Implements de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.menubar.menu.IWindowMenu.

boolean de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.menubar.menu.impl.WindowMenu.isDebugPerspectiveActive ( ) throws RemoteException
Returns:
true, if the debug perspective is active.
Exceptions:
RemoteException

Implements de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.menubar.menu.IWindowMenu.

boolean de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.menubar.menu.impl.WindowMenu.isJavaPerspectiveActive ( ) throws RemoteException
Returns:
true, if the java perspective is active.
Exceptions:
RemoteException

Implements de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.menubar.menu.IWindowMenu.

void de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.menubar.menu.impl.WindowMenu.openPerspective ( ) throws RemoteException
void de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.menubar.menu.impl.WindowMenu.openPerspectiveDebug ( ) throws RemoteException

Open the perspective "Debug" with Id

Exceptions:
RemoteException

Implements de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.menubar.menu.IWindowMenu.

void de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.menubar.menu.impl.WindowMenu.openPerspectiveJava ( ) throws RemoteException

Open the perspective "Java" with id

Exceptions:
RemoteException

Implements de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.menubar.menu.IWindowMenu.

void de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.menubar.menu.impl.WindowMenu.openPerspectiveResource ( ) throws RemoteException

Open the perspective "Resource" with id

Exceptions:
RemoteException

Implements de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.menubar.menu.IWindowMenu.

void de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.menubar.menu.impl.WindowMenu.setNewTextFileLineDelimiter ( String  whichOS) throws RemoteException

selects a new text file line delimiter on the preference page which should be done with the following steps:

  1. Click menu "Window" -> "Preferences"
  2. In the preference dialog select "General" -> "Workspace"
  3. modify the text file line delimiter with the passed parameter "OS"

Attention:

  1. Makes sure, the saros-instance is active.
Parameters:
whichOSthe name of the OS, which you want to select.

Implements de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.menubar.menu.IWindowMenu.

void de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.menubar.menu.impl.WindowMenu.showViewProblems ( ) throws RemoteException

Open the view "Problems" using GUI which should be done with the following steps:

  1. Click menu "Window" -> "show view" -> "other..."
  2. Select "Gernaral" -> "Problems" and click "Finish" to confirm the action

Attention:

  1. Makes sure, the saros-instance is active.
Exceptions:
RemoteException

Implements de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.menubar.menu.IWindowMenu.

void de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.menubar.menu.impl.WindowMenu.showViewProjectExplorer ( ) throws RemoteException

Open the view "Project Explorer" using GUI which should be done with the following steps:

  1. Click menu "Window" -> "show view" -> "other..."
  2. Select "Gernaral" -> "Project Explorer" and click "Finish" to confirm the action

Attention:

  1. Makes sure, the saros-instance is active.
Exceptions:
RemoteException

Implements de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.menubar.menu.IWindowMenu.

void de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.menubar.menu.impl.WindowMenu.showViewWithName ( String  category,
String  nodeName 
) throws RemoteException

Open a view using menus Window->Show View->Other... . which should be done with the following steps:

  1. If the view is already open, return.
  2. Activate the saros-instance workbench(alice / bob / carl). If the workbench isn't active, bot can't find the main menus.
  3. Click main menus Window -> Show View -> Other...
  4. Confirm the pop-up window "Show View".
Parameters:
categoryexample: "General"
nodeNameexample: "Console"

Implements de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.menubar.menu.IWindowMenu.

 All Classes Namespaces Files Functions Variables Enumerations