org.eclipse.wst.jsdt.support.firefox_1.0.400.v201008112000

16:49:13.370 INFO  jd.cli.Main - Decompiling org.eclipse.wst.jsdt.support.firefox_1.0.400.v201008112000.jar
package org.eclipse.wst.jsdt.core.compiler.libraries;

class FireFoxLibInitializer$FireFoxLibLocation
  extends SystemLibraryLocation
{
  private static LibraryLocation fInstance;
  
  public char[][] getLibraryFileNames()
  {
    return new char[][] { FireFoxLibInitializer.LIBRARY_FILE_NAMES[0] };
  }
  
  protected String getPluginId()
  {
    return "org.eclipse.wst.jsdt.support.firefox";
  }
  
  public static LibraryLocation getInstance()
  {
    if (fInstance == null) {
      fInstance = new FireFoxLibLocation();
    }
    return fInstance;
  }
}

/* Location:
 * Qualified Name:     org.eclipse.wst.jsdt.core.compiler.libraries.FireFoxLibInitializer.FireFoxLibLocation
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.wst.jsdt.core.compiler.libraries;

import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.Path;
import org.eclipse.wst.jsdt.core.IJavaScriptProject;
import org.eclipse.wst.jsdt.core.IJsGlobalScopeContainerInitializer;
import org.eclipse.wst.jsdt.core.JsGlobalScopeContainerInitializer;

public class FireFoxLibInitializer
  extends JsGlobalScopeContainerInitializer
  implements IJsGlobalScopeContainerInitializer
{
  protected static final String CONTAINER_ID = "org.eclipse.wst.jsdt.launching.FireFoxBrowserLibrary";
  protected static final String ContainerDescription = "FireFox Browser Support Library";
  protected static final char[][] LIBRARY_FILE_NAMES = {
    { 'F', 'i', 'r', 'e', 'F', 'o', 'x', '2', '.', '0', '.', '0', '.', '3', '.', 'j', 's' }, 
    { 'X', 'M', 'L', 'H', 't', 't', 'p', 'R', 'e', 'q', 'u', 'e', 's', 't', '.', 'j', 's' } };
  protected static final String PLUGIN_ID = "org.eclipse.wst.jsdt.support.firefox";
  
  static class FireFoxLibLocation
    extends SystemLibraryLocation
  {
    private static LibraryLocation fInstance;
    
    public char[][] getLibraryFileNames()
    {
      return new char[][] { FireFoxLibInitializer.LIBRARY_FILE_NAMES[0] };
    }
    
    protected String getPluginId()
    {
      return "org.eclipse.wst.jsdt.support.firefox";
    }
    
    public static LibraryLocation getInstance()
    {
      if (fInstance == null) {
        fInstance = new FireFoxLibLocation();
      }
      return fInstance;
    }
  }
  
  public LibraryLocation getLibraryLocation()
  {
    return FireFoxLibLocation.getInstance();
  }
  
  public String getDescription(IPath containerPath, IJavaScriptProject project)
  {
    return "FireFox Browser Support Library";
  }
  
  public String getDescription()
  {
    return "FireFox Browser Support Library";
  }
  
  public IPath getPath()
  {
    return new Path("org.eclipse.wst.jsdt.launching.FireFoxBrowserLibrary");
  }
  
  public int getKind()
  {
    return 2;
  }
  
  public boolean canUpdateJsGlobalScopeContainer(IPath containerPath, IJavaScriptProject project)
  {
    return true;
  }
  
  public String[] containerSuperTypes()
  {
    return new String[] { "window" };
  }
}

/* Location:
 * Qualified Name:     org.eclipse.wst.jsdt.core.compiler.libraries.FireFoxLibInitializer
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
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;

public class FireFoxUiInitializer
  implements IJsGlobalScopeContainerInitializerExtension
{
  public ImageDescriptor getImage(IPath containerPath, String element, IJavaScriptProject project)
  {
    if (containerPath == null) {
      return null;
    }
    String requestedContainerPath = new Path(element).lastSegment();
    if ((element != null) && (requestedContainerPath.equals(new String(FireFoxLibInitializer.LIBRARY_FILE_NAMES[0])))) {
      return null;
    }
    return ImageDescriptor.createFromFile(getClass(), "FireFoxSmall.gif");
  }
}

/* Location:
 * Qualified Name:     org.eclipse.wst.jsdt.core.compiler.libraries.FireFoxUiInitializer
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.wst.jsdt.internal.ui.wizards;

import org.eclipse.osgi.util.NLS;

public class FirefoxMessages
  extends NLS
{
  private static final String BUNDLE_NAME = "org.eclipse.wst.jsdt.internal.ui.wizards.FirefoxMessages";
  public static String FirefoxLibraryWizardPage_title;
  public static String FirefoxLibraryWizardPage_FirefoxLibraryAdded;
  public static String FirefoxLibraryWizardPage_BrowserSupport;
  
  static
  {
    NLS.initializeMessages("org.eclipse.wst.jsdt.internal.ui.wizards.FirefoxMessages", FirefoxMessages.class);
  }
}

/* Location:
 * Qualified Name:     org.eclipse.wst.jsdt.internal.ui.wizards.FirefoxMessages
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.wst.jsdt.internal.ui.wizards.buildpaths;

import java.io.PrintStream;
import org.eclipse.core.runtime.Path;
import org.eclipse.jface.dialogs.Dialog;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.wst.jsdt.core.IIncludePathEntry;
import org.eclipse.wst.jsdt.core.IJavaScriptProject;
import org.eclipse.wst.jsdt.core.JavaScriptCore;
import org.eclipse.wst.jsdt.internal.ui.JavaPluginImages;
import org.eclipse.wst.jsdt.internal.ui.wizards.FirefoxMessages;
import org.eclipse.wst.jsdt.internal.ui.wizards.dialogfields.DialogField;
import org.eclipse.wst.jsdt.internal.ui.wizards.dialogfields.LayoutUtil;
import org.eclipse.wst.jsdt.ui.wizards.IJsGlobalScopeContainerPage;
import org.eclipse.wst.jsdt.ui.wizards.IJsGlobalScopeContainerPageExtension;
import org.eclipse.wst.jsdt.ui.wizards.IJsGlobalScopeContainerPageExtension2;
import org.eclipse.wst.jsdt.ui.wizards.NewElementWizardPage;

public class FireFoxLibraryWizardPage
  extends NewElementWizardPage
  implements IJsGlobalScopeContainerPage, IJsGlobalScopeContainerPageExtension, IJsGlobalScopeContainerPageExtension2
{
  private static final String CONTAINER_ID = "org.eclipse.wst.jsdt.launching.FireFoxBrowserLibrary";
  
  public FireFoxLibraryWizardPage()
  {
    super("FireFoxBrowserLib");
    setTitle(FirefoxMessages.FirefoxLibraryWizardPage_title);
    setImageDescriptor(JavaPluginImages.DESC_WIZBAN_ADD_LIBRARY);
  }
  
  public boolean finish()
  {
    return true;
  }
  
  public IIncludePathEntry getSelection()
  {
    System.out.println("Unimplemented method:BaseLibraryWizardPage.getSelection");
    return null;
  }
  
  public void setSelection(IIncludePathEntry containerEntry) {}
  
  public void createControl(Composite parent)
  {
    Composite composite = new Composite(parent, 0);
    composite.setFont(parent.getFont());
    DialogField field = new DialogField();
    
    field.setLabelText(FirefoxMessages.FirefoxLibraryWizardPage_FirefoxLibraryAdded);
    LayoutUtil.doDefaultLayout(composite, new DialogField[] { field }, false, -1, -1);
    Dialog.applyDialogFont(composite);
    setControl(composite);
    setDescription(FirefoxMessages.FirefoxLibraryWizardPage_BrowserSupport);
  }
  
  public void initialize(IJavaScriptProject project, IIncludePathEntry[] currentEntries) {}
  
  public IIncludePathEntry[] getNewContainers()
  {
    IIncludePathEntry library = JavaScriptCore.newContainerEntry(new Path("org.eclipse.wst.jsdt.launching.FireFoxBrowserLibrary"));
    return new IIncludePathEntry[] { library };
  }
}

/* Location:
 * Qualified Name:     org.eclipse.wst.jsdt.internal.ui.wizards.buildpaths.FireFoxLibraryWizardPage
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
1

Further reading...

For more information on Java 1.5 Tiger, you may find Java 1.5 Tiger, A developer's Notebook by D. Flanagan and B. McLaughlin from O'Reilly of interest.

New!JAR listings


Copyright 2006-2017. Infinite Loop Ltd