diff options
Diffstat (limited to 'bundles/org.eclipse.wst.jsdt.support.ie/src/org/eclipse/wst/jsdt/core/compiler/libraries/InternetExplorerUILibInitializer.java')
-rw-r--r-- | bundles/org.eclipse.wst.jsdt.support.ie/src/org/eclipse/wst/jsdt/core/compiler/libraries/InternetExplorerUILibInitializer.java | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/bundles/org.eclipse.wst.jsdt.support.ie/src/org/eclipse/wst/jsdt/core/compiler/libraries/InternetExplorerUILibInitializer.java b/bundles/org.eclipse.wst.jsdt.support.ie/src/org/eclipse/wst/jsdt/core/compiler/libraries/InternetExplorerUILibInitializer.java deleted file mode 100644 index e6d7ec98..00000000 --- a/bundles/org.eclipse.wst.jsdt.support.ie/src/org/eclipse/wst/jsdt/core/compiler/libraries/InternetExplorerUILibInitializer.java +++ /dev/null @@ -1,47 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2005, 2008 IBM Corporation and others. - * 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: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -/** - * - */ -package org.eclipse.wst.jsdt.core.compiler.libraries; - -import org.eclipse.core.runtime.IPath; -import org.eclipse.core.runtime.Path; -import org.eclipse.jface.resource.ImageDescriptor; -import org.eclipse.wst.jsdt.core.IJavaScriptProject; -import org.eclipse.wst.jsdt.internal.ui.IJsGlobalScopeContainerInitializerExtension; - -/** - * @author childsb - * - */ -public class InternetExplorerUILibInitializer implements IJsGlobalScopeContainerInitializerExtension{ - public ImageDescriptor getImage(IPath containerPath, String element, IJavaScriptProject project) { - - if(containerPath==null) return null; - /* Dont use the rino image for the individual files */ - String requestedContainerPath = new Path(element).getFileExtension(); - if(requestedContainerPath!=null && requestedContainerPath.equalsIgnoreCase("js")) return null; - - -// char[][] allLibFiles = ( new IeLibLocation()).getLibraryFileNames(); -// for(int i = 0;i<allLibFiles.length;i++) { -// String libName = new String(allLibFiles[i]); -// if (element!=null && requestedContainerPath.equals(libName)) { -// return null; -// } -// } - return ImageDescriptor.createFromFile(this.getClass(),"ie_small.gif"); - //return ImageDescriptor.createFromFile(this.getClass(),"ie_small.gif"); - // System.out.println("Unimplemented method:BasicBrowserLibraryJsGlobalScopeContainerInitializer.getImage"); - //return null; - } -} |