Project

General

Profile

Download (957 Bytes) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2007 EDIT
3
* European Distributed Institute of Taxonomy
4
* http://www.e-taxonomy.eu
5
*
6
* The contents of this file are subject to the Mozilla Public License Version 1.1
7
* See LICENSE.TXT at the top of this package for the full license terms.
8
*/
9

    
10
package eu.etaxonomy.taxeditor.workbench;
11

    
12
import java.io.IOException;
13
import java.net.URL;
14

    
15
import org.apache.log4j.Logger;
16
import org.eclipse.e4.core.di.annotations.Execute;
17

    
18
/**
19
 * @author p.ciardelli
20
 * @created 04.09.2009
21
 * @version 1.0
22
 */
23
public class OpenExternalAboutPlatformHandler {
24
	private static final Logger logger = Logger.getLogger(OpenExternalAboutPlatformHandler.class);
25

    
26

    
27
	@Execute
28
	public Object execute() {
29
		String url = "https://cybertaxonomy.eu/";
30

    
31
		try {
32
            WorkbenchUtility.openWebpage(new URL(url));
33
        } catch (IOException| RuntimeException e) {
34
            logger.error(e);
35
            throw new RuntimeException(e);
36
        }
37

    
38
		return null;
39
	}
40
}
(3-3/8)