automated build configuration is on its way
[taxeditor.git] / taxeditor-editor / src / test / java / eu / etaxonomy / taxeditor / editor / ApplicationWorkbenchAdvisor.java
index c4b1bbb6f8ec8c534dd8fd9fe2b50e5d8f2444fb..c22da912cdc9ce30bf5b75c0de6138f717235629 100644 (file)
@@ -5,15 +5,11 @@ import java.net.URL;
 import org.eclipse.core.resources.IWorkspace;
 import org.eclipse.core.resources.ResourcesPlugin;
 import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.Platform;
 import org.eclipse.jface.resource.ImageDescriptor;
 import org.eclipse.ui.application.IWorkbenchConfigurer;
 import org.eclipse.ui.application.IWorkbenchWindowConfigurer;
 import org.eclipse.ui.application.WorkbenchAdvisor;
 import org.eclipse.ui.application.WorkbenchWindowAdvisor;
-import org.eclipse.ui.ide.IDE;
-import org.eclipse.ui.internal.ide.IDEWorkbenchPlugin;
-import org.eclipse.ui.internal.ide.model.WorkbenchAdapterBuilder;
 import org.osgi.framework.Bundle;
 
 @SuppressWarnings("restriction")
@@ -32,17 +28,17 @@ public class ApplicationWorkbenchAdvisor extends WorkbenchAdvisor {
 
        public void initialize(IWorkbenchConfigurer configurer) {
 
-               WorkbenchAdapterBuilder.registerAdapters();
-
-               final String ICONS_PATH = "icons/full/";
-               final String PATH_OBJECT = ICONS_PATH + "obj16/";
-               Bundle ideBundle = Platform.getBundle(IDEWorkbenchPlugin.IDE_WORKBENCH);
-               declareWorkbenchImage(configurer, ideBundle,
-                               IDE.SharedImages.IMG_OBJ_PROJECT, PATH_OBJECT + "prj_obj.gif",
-                               true);
-               declareWorkbenchImage(configurer, ideBundle,
-                               IDE.SharedImages.IMG_OBJ_PROJECT_CLOSED, PATH_OBJECT
-                                               + "cprj_obj.gif", true);
+//             WorkbenchAdapterBuilder.registerAdapters();
+//
+//             final String ICONS_PATH = "icons/full/";
+//             final String PATH_OBJECT = ICONS_PATH + "obj16/";
+//             Bundle ideBundle = Platform.getBundle(IDEWorkbenchPlugin.IDE_WORKBENCH);
+//             declareWorkbenchImage(configurer, ideBundle,
+//                             IDE.SharedImages.IMG_OBJ_PROJECT, PATH_OBJECT + "prj_obj.gif",
+//                             true);
+//             declareWorkbenchImage(configurer, ideBundle,
+//                             IDE.SharedImages.IMG_OBJ_PROJECT_CLOSED, PATH_OBJECT
+//                                             + "cprj_obj.gif", true);
 
        }