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());
}
}