edu.columbia.cs.irt.sipcloud.gui
Class MenuController

java.lang.Object
  extended by edu.columbia.cs.irt.sipcloud.gui.MenuController

public class MenuController
extends java.lang.Object

Right-click PopUp menu Controller

Author:
Jin Hyung Park [jp2105]

Constructor Summary
MenuController()
           
 
Method Summary
 void makePopUpForVMIcon(org.eclipse.swt.widgets.Label label, java.lang.String menuDescription, java.lang.String[] vmInfo)
          This function creates the right-click pop-up menu for the given VM icon.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MenuController

public MenuController()
Method Detail

makePopUpForVMIcon

public void makePopUpForVMIcon(org.eclipse.swt.widgets.Label label,
                               java.lang.String menuDescription,
                               java.lang.String[] vmInfo)
This function creates the right-click pop-up menu for the given VM icon.

Parameters:
label - This label will be 1st menu item to show what this menu is.
menuDescription - This string will be 2nd menu item to describe what this menu does.
vmInfo - This string includes VM's information.