Package com.onpositive.gae.profiler.ui

Source Code of com.onpositive.gae.profiler.ui.MenuContributor

package com.onpositive.gae.profiler.ui;

import org.eclipse.jface.action.IMenuManager;
import org.eclipse.jface.action.MenuManager;
import org.eclipse.jface.action.Separator;

import com.onpositive.gae.profiler.StartProfilingAction;
import com.onpositive.gae.profiler.StopProfilingAction;
import com.onpositive.gae.tools.IMenuContributor;

public class MenuContributor implements IMenuContributor {

  public MenuContributor() {
   
  }

  public void contributeTo(IMenuManager manager2) {
    MenuManager manager=new MenuManager("Profiling");
    manager2.add(manager);
    manager.add(new StartProfilingAction());
    manager.add(new StopProfilingAction());
    manager.add(new Separator());
//    MenuManager menuManager0 = new MenuManager("Google");
//    menuManager0.add(new CaptureSnapshotAction("Capture Snapshot ",false));
//    menuManager0.add(new ClearProfilingDataAction("Clear profiling data",false));
//    manager.add(menuManager0);
//    MenuManager menuManager = new MenuManager("Local Server");
//    menuManager.add(new CaptureSnapshotAction("Capture Snapshot",true));   
//    menuManager.add(new ClearProfilingDataAction("Clear profiling data",true));
//    manager.add(menuManager);
    //manager.add(new ConfigureProfiling());
   
  }
}
TOP

Related Classes of com.onpositive.gae.profiler.ui.MenuContributor

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.