-// $Id$\r
-/**\r
-* Copyright (C) 2007 EDIT\r
-* European Distributed Institute of Taxonomy \r
-* http://www.e-taxonomy.eu\r
-* \r
-* The contents of this file are subject to the Mozilla Public License Version 1.1\r
-* See LICENSE.TXT at the top of this package for the full license terms.\r
-*/\r
-\r
-package eu.etaxonomy.taxeditor;\r
-\r
-import java.net.MalformedURLException;\r
-import java.net.URL;\r
-\r
-import org.apache.log4j.Logger;\r
-import org.eclipse.core.commands.AbstractHandler;\r
-import org.eclipse.core.commands.ExecutionEvent;\r
-import org.eclipse.core.commands.ExecutionException;\r
-import org.eclipse.ui.PartInitException;\r
-import org.eclipse.ui.PlatformUI;\r
-import org.eclipse.ui.browser.IWorkbenchBrowserSupport;\r
-\r
-/**\r
- * @author p.ciardelli\r
- * @created 04.09.2009\r
- * @version 1.0\r
- */\r
-public class OpenExternalAboutPlatformHandler extends AbstractHandler {\r
- private static final Logger logger = Logger.getLogger(OpenExternalAboutPlatformHandler.class);\r
-\r
- /* (non-Javadoc)\r
- * @see org.eclipse.core.commands.IHandler#execute(org.eclipse.core.commands.ExecutionEvent)\r
- */\r
- public Object execute(ExecutionEvent event) throws ExecutionException {\r
- String url = "http://wp5.e-taxonomy.eu/blog/";\r
-\r
- try {\r
- PlatformUI.getWorkbench().getBrowserSupport().createBrowser\r
- (IWorkbenchBrowserSupport.AS_EXTERNAL, "aCustomId", "url", "url").openURL(new URL(url));\r
- } catch (PartInitException e) {\r
- logger.error(e);\r
- throw new RuntimeException(e);\r
- } catch (MalformedURLException e) {\r
- logger.error(e);\r
- throw new RuntimeException(e);\r
- }\r
-\r
- return null;\r
- }\r
-}\r
+// $Id$
+/**
+* Copyright (C) 2007 EDIT
+* European Distributed Institute of Taxonomy
+* http://www.e-taxonomy.eu
+*
+* The contents of this file are subject to the Mozilla Public License Version 1.1
+* See LICENSE.TXT at the top of this package for the full license terms.
+*/
+
+package eu.etaxonomy.taxeditor;
+
+import java.net.MalformedURLException;
+import java.net.URL;
+
+import org.apache.log4j.Logger;
+import org.eclipse.core.commands.AbstractHandler;
+import org.eclipse.core.commands.ExecutionEvent;
+import org.eclipse.core.commands.ExecutionException;
+import org.eclipse.ui.PartInitException;
+import org.eclipse.ui.PlatformUI;
+import org.eclipse.ui.browser.IWorkbenchBrowserSupport;
+
+/**
+ * <p>OpenExternalAboutPlatformHandler class.</p>
+ *
+ * @author p.ciardelli
+ * @created 04.09.2009
+ * @version 1.0
+ */
+public class OpenExternalAboutPlatformHandler extends AbstractHandler {
+ private static final Logger logger = Logger.getLogger(OpenExternalAboutPlatformHandler.class);
+
+ /* (non-Javadoc)
+ * @see org.eclipse.core.commands.IHandler#execute(org.eclipse.core.commands.ExecutionEvent)
+ */
+ /** {@inheritDoc} */
+ public Object execute(ExecutionEvent event) throws ExecutionException {
+ String url = "http://wp5.e-taxonomy.eu/blog/";
+
+ try {
+ PlatformUI.getWorkbench().getBrowserSupport().createBrowser
+ (IWorkbenchBrowserSupport.AS_EXTERNAL, "aCustomId", "url", "url").openURL(new URL(url));
+ } catch (PartInitException e) {
+ logger.error(e);
+ throw new RuntimeException(e);
+ } catch (MalformedURLException e) {
+ logger.error(e);
+ throw new RuntimeException(e);
+ }
+
+ return null;
+ }
+}