X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.workbench%2Fsrc%2Forg%2Fsimantics%2Fworkbench%2FAboutHandler.java;fp=bundles%2Forg.simantics.workbench%2Fsrc%2Forg%2Fsimantics%2Fworkbench%2FAboutHandler.java;h=88ffb7b70242583be1afe1e2e2d4e53ed3558a05;hp=a561e6fab49d40895e53c2ad41849b76c15d7de7;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hpb=24e2b34260f219f0d1644ca7a138894980e25b14 diff --git a/bundles/org.simantics.workbench/src/org/simantics/workbench/AboutHandler.java b/bundles/org.simantics.workbench/src/org/simantics/workbench/AboutHandler.java index a561e6fab..88ffb7b70 100644 --- a/bundles/org.simantics.workbench/src/org/simantics/workbench/AboutHandler.java +++ b/bundles/org.simantics.workbench/src/org/simantics/workbench/AboutHandler.java @@ -1,29 +1,29 @@ -/******************************************************************************* - * Copyright (c) 2007, 2010 Association for Decentralized Information Management - * in Industry THTH ry. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * VTT Technical Research Centre of Finland - initial API and implementation - *******************************************************************************/ -package org.simantics.workbench; - -import org.eclipse.core.commands.AbstractHandler; -import org.eclipse.core.commands.ExecutionEvent; -import org.eclipse.core.commands.ExecutionException; -import org.eclipse.core.commands.IHandler; -import org.eclipse.ui.PlatformUI; -import org.eclipse.ui.actions.ActionFactory; - -public class AboutHandler extends AbstractHandler implements IHandler { - - @Override - public Object execute(ExecutionEvent arg0) throws ExecutionException { - ActionFactory.ABOUT.create(PlatformUI.getWorkbench().getActiveWorkbenchWindow()).run(); - return null; - } - -} +/******************************************************************************* + * Copyright (c) 2007, 2010 Association for Decentralized Information Management + * in Industry THTH ry. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * VTT Technical Research Centre of Finland - initial API and implementation + *******************************************************************************/ +package org.simantics.workbench; + +import org.eclipse.core.commands.AbstractHandler; +import org.eclipse.core.commands.ExecutionEvent; +import org.eclipse.core.commands.ExecutionException; +import org.eclipse.core.commands.IHandler; +import org.eclipse.ui.PlatformUI; +import org.eclipse.ui.actions.ActionFactory; + +public class AboutHandler extends AbstractHandler implements IHandler { + + @Override + public Object execute(ExecutionEvent arg0) throws ExecutionException { + ActionFactory.ABOUT.create(PlatformUI.getWorkbench().getActiveWorkbenchWindow()).run(); + return null; + } + +}