Commit 62d0d4ac authored by Hernan Ponce de Leon's avatar Hernan Ponce de Leon
Browse files

No commit message

No commit message
parent eaf1267f 11f2035cca4656fd80dd5d56f49abd8c156357a1 RED 2e3c9141e07f9aa1b969250aba40746832c0b0e5 YELLOW
......@@ -21,7 +21,7 @@ import static org.eclipse.emf.common.util.URI.createFileURI;
import static org.eclipse.jface.dialogs.ErrorDialog.openError;
import static org.eclipse.jface.dialogs.MessageDialog.openError;
import static org.eclipse.jface.dialogs.MessageDialog.openWarning;
import static org.eclipse.ui.internal.about.AboutUtils.openErrorLogBrowser;
import static org.eclipse.ui.PlatformUI.getWorkbench;
import static;
import static org.fortiss.af3.project.ui.utils.ExportProjectUtils.exportProject;
import static org.fortiss.af3.project.ui.utils.ExportProjectUtils.fileSelectionDialog;
......@@ -50,7 +50,6 @@ import org.eclipse.core.runtime.Status;
import org.eclipse.jface.dialogs.InputDialog;
import org.eclipse.jface.window.Window;
import org.eclipse.swt.widgets.Display;
import org.eclipse.ui.PlatformUI;
import org.fortiss.af3.expression.examples.ConfiguredExpressionExample;
import org.fortiss.af3.mode.AF3ModeActivator;
import org.fortiss.af3.mode.ui.examples.SimpleTrafficLightsModesExample;
......@@ -164,7 +163,7 @@ public class ApplicationCommandHandler {
/** {@inheritDoc} */
public Object execute(ExecutionEvent event) {
return null;
......@@ -523,14 +522,9 @@ public class ApplicationCommandHandler {
public static final class ShowErrorLogCommandHandler extends AbstractHandler {
/** Opens the error log. */
// TODO(AD): This SuppressWarings is forbidden acc. to the coding guidelines. Can we use an
// alternate method? (There are exceptions to the general rule, since we are still using
// the compatibility layer of eclipse, which could make the use of restricted APIs
// necessary). Warning is misplaced several lines above.
public Object execute(ExecutionEvent event) {
openError(Display.getCurrent().getActiveShell(), "Errors", null);
return null;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment