/**
* Copyright (c) 2009-2011, The HATS Consortium. All rights reserved.
* This file is licensed under the terms of the Modified BSD License.
*/
package org.absmodels.abs.plugin.actions.shortcuts;
import static org.absmodels.abs.plugin.util.Constants.ACTION_START_SDE;
import org.eclipse.debug.ui.ILaunchShortcut;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.ui.IEditorPart;
public class LaunchJavaUmlShortcut extends AbstractLaunchJavaShortcut implements ILaunchShortcut {
@Override
public void launch(ISelection selection, String mode) {
launchSelectedFile(selection, ACTION_START_SDE);
}
@Override
public void launch(IEditorPart editor, String mode) {
launchActiveFile(editor, ACTION_START_SDE);
}
}