Saros
Distributed Collaborative Editing and Distributed Party Programming
de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.contextmenu.peview.submenu.IRefactorC Interface Reference
Inheritance diagram for de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.contextmenu.peview.submenu.IRefactorC:
de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.contextmenu.peview.submenu.impl.RefactorC

List of all members.

Public Member Functions

void moveTo (String targetProject, String targetFolder) throws RemoteException
void moveClassTo (String targetProject, String targetPkg) throws RemoteException
void rename (String newName) throws RemoteException

Member Function Documentation

void de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.contextmenu.peview.submenu.IRefactorC.moveClassTo ( String  targetProject,
String  targetPkg 
) throws RemoteException

Performs the action "move class to another package" which should be done with the following steps:

  1. selects menu "Refactor -> Move..."
  2. choose the package specified by the passed parameter "targetPkg"
  3. click "OK" to confirm the move
Parameters:
targetProject
targetPkg
Exceptions:
RemoteException

Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.contextmenu.peview.submenu.impl.RefactorC.

void de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.contextmenu.peview.submenu.IRefactorC.moveTo ( String  targetProject,
String  targetFolder 
) throws RemoteException

Performs the action Refactor -> move

Parameters:
targetProjectthen name of the target project
targetFolderthe name of the target folder

Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.contextmenu.peview.submenu.impl.RefactorC.

void de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.contextmenu.peview.submenu.IRefactorC.rename ( String  newName) throws RemoteException

Perform the action "rename class" which should be done with the following steps:

  1. click menu "Refactor" > "Rename..."
  2. Enter the given new name to the text field with the title "New name:"
  3. click "OK" to confirm the rename
  4. Waits until the shell "Rename Compilation Unit" is closed. It guarantee that the "rename file" action is completely done.

Attention:

  1. Makes sure, the package explorer view is open and active.
  2. The function should treat all the recursive following actions, which are activated or indirectly activated by clicking the sub menu "rename..." . I mean, after clicking the sub menu you need to treat the following popup window too.

    Parameters:
    newNamethe new name of the given class.
    Exceptions:
    RemoteException

Implemented in de.fu_berlin.inf.dpp.stf.server.rmi.superbot.component.contextmenu.peview.submenu.impl.RefactorC.

 All Classes Namespaces Files Functions Variables Enumerations