Internalize some TMF APIs
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / commands / ManageCustomParsersCommandHandler.java
1 /*******************************************************************************
2 * Copyright (c) 2010 Ericsson
3 *
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
8 *
9 * Contributors:
10 * Patrick Tasse - Initial API and implementation
11 *******************************************************************************/
12
13 package org.eclipse.linuxtools.tmf.ui.commands;
14
15 import org.eclipse.core.commands.AbstractHandler;
16 import org.eclipse.core.commands.ExecutionEvent;
17 import org.eclipse.core.commands.ExecutionException;
18 import org.eclipse.linuxtools.tmf.ui.dialogs.ManageCustomParsersDialog;
19 import org.eclipse.swt.widgets.Display;
20
21 public class ManageCustomParsersCommandHandler extends AbstractHandler {
22
23 @Override
24 public Object execute(ExecutionEvent event) throws ExecutionException {
25 ManageCustomParsersDialog dialog = new ManageCustomParsersDialog(Display.getDefault().getActiveShell());
26 dialog.open();
27 return null;
28 }
29
30 }
This page took 0.030678 seconds and 5 git commands to generate.