org.eclipse.ui.workbench_3.7.1.v20120104-1859

16:48:37.447 INFO  jd.cli.Main - Decompiling org.eclipse.ui.workbench_3.7.1.v20120104-1859.jar
package org.eclipse.ui;

import java.util.Map;
import org.eclipse.core.commands.util.Tracing;
import org.eclipse.ui.internal.misc.Policy;
import org.eclipse.ui.services.IServiceLocator;

public abstract class AbstractSourceProvider
  implements ISourceProvider
{
  protected static boolean DEBUG = Policy.DEBUG_SOURCES;
  private ISourceProviderListener[] listeners = new ISourceProviderListener[7];
  private int listenerCount = 0;
  
  public final void addSourceProviderListener(ISourceProviderListener listener)
  {
    if (listener == null) {
      throw new NullPointerException("The listener cannot be null");
    }
    if (listenerCount == listeners.length)
    {
      ISourceProviderListener[] growArray = new ISourceProviderListener[listeners.length + 4];
      System.arraycopy(listeners, 0, growArray, 0, listeners.length);
      listeners = growArray;
    }
    listeners[(listenerCount++)] = listener;
  }
  
  protected final void fireSourceChanged(int sourcePriority, String sourceName, Object sourceValue)
  {
    for (int i = 0; i < listenerCount; i++)
    {
      ISourceProviderListener listener = listeners[i];
      listener.sourceChanged(sourcePriority, sourceName, sourceValue);
    }
  }
  
  protected final void fireSourceChanged(int sourcePriority, Map sourceValuesByName)
  {
    for (int i = 0; i < listenerCount; i++)
    {
      ISourceProviderListener listener = listeners[i];
      listener.sourceChanged(sourcePriority, sourceValuesByName);
    }
  }
  
  protected final void logDebuggingInfo(String message)
  {
    if ((DEBUG) && (message != null)) {
      Tracing.printTrace("SOURCES", message);
    }
  }
  
  public final void removeSourceProviderListener(ISourceProviderListener listener)
  {
    if (listener == null) {
      throw new NullPointerException("The listener cannot be null");
    }
    int emptyIndex = -1;
    for (int i = 0; i < listenerCount; i++) {
      if (listeners[i] == listener)
      {
        listeners[i] = null;
        emptyIndex = i;
      }
    }
    if (emptyIndex != -1)
    {
      for (int i = emptyIndex + 1; i < listenerCount; i++) {
        listeners[(i - 1)] = listeners[i];
      }
      listenerCount -= 1;
    }
  }
  
  public void initialize(IServiceLocator locator) {}
}

/* Location:
 * Qualified Name:     org.eclipse.ui.AbstractSourceProvider
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ui;

import org.eclipse.core.expressions.EvaluationResult;
import org.eclipse.core.expressions.Expression;
import org.eclipse.core.expressions.ExpressionInfo;
import org.eclipse.core.expressions.IEvaluationContext;
import org.eclipse.swt.widgets.Shell;

public final class ActiveShellExpression
  extends Expression
{
  private static final int HASH_INITIAL = ActiveShellExpression.class
    .getName().hashCode();
  public static final int SOURCES = 17408;
  private final Shell activeShell;
  
  public ActiveShellExpression(Shell activeShell)
  {
    this.activeShell = activeShell;
  }
  
  public final void collectExpressionInfo(ExpressionInfo info)
  {
    info.addVariableNameAccess("activeShell");
    info.addVariableNameAccess("activeWorkbenchWindow");
  }
  
  protected final int computeHashCode()
  {
    return HASH_INITIAL * 89 + hashCode(activeShell);
  }
  
  public final boolean equals(Object object)
  {
    if ((object instanceof ActiveShellExpression))
    {
      ActiveShellExpression that = (ActiveShellExpression)object;
      return equals(activeShell, activeShell);
    }
    return false;
  }
  
  public final EvaluationResult evaluate(IEvaluationContext context)
  {
    if (activeShell != null)
    {
      Object value = context.getVariable("activeShell");
      if (!activeShell.equals(value))
      {
        value = 
          context.getVariable("activeWorkbenchWindowShell");
        if (!activeShell.equals(value)) {
          return EvaluationResult.FALSE;
        }
      }
    }
    return EvaluationResult.TRUE;
  }
  
  public final String toString()
  {
    StringBuffer buffer = new StringBuffer();
    buffer.append("ActiveShellExpression(");
    buffer.append(activeShell);
    buffer.append(')');
    return buffer.toString();
  }
}

/* Location:
 * Qualified Name:     org.eclipse.ui.ActiveShellExpression
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ui;

class BasicWorkingSetElementAdapter$Type
{
  private static final int NONE = 0;
  private static final int ADAPT = 1;
  String className;
  int flags;
  final BasicWorkingSetElementAdapter this$0;
  
  BasicWorkingSetElementAdapter$Type(BasicWorkingSetElementAdapter paramBasicWorkingSetElementAdapter, Type paramType)
  {
    this(paramBasicWorkingSetElementAdapter);
  }
  
  private BasicWorkingSetElementAdapter$Type(BasicWorkingSetElementAdapter paramBasicWorkingSetElementAdapter)
  {
    this$0 = paramBasicWorkingSetElementAdapter;
  }
}

/* Location:
 * Qualified Name:     org.eclipse.ui.BasicWorkingSetElementAdapter.Type
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ui;

import java.util.ArrayList;
import java.util.List;
import java.util.StringTokenizer;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.core.runtime.IAdapterManager;
import org.eclipse.core.runtime.IConfigurationElement;
import org.eclipse.core.runtime.IExecutableExtension;
import org.eclipse.core.runtime.Platform;
import org.eclipse.ui.internal.WorkbenchPlugin;
import org.osgi.framework.Bundle;
import org.osgi.service.packageadmin.ExportedPackage;
import org.osgi.service.packageadmin.PackageAdmin;
import org.osgi.util.tracker.ServiceTracker;

public final class BasicWorkingSetElementAdapter
  implements IWorkingSetElementAdapter, IExecutableExtension
{
  private class Type
  {
    private static final int NONE = 0;
    private static final int ADAPT = 1;
    String className;
    int flags;
    
    private Type() {}
    
    Type(Type paramType)
    {
      this();
    }
  }
  
  private Type[] preferredTypes = new Type[0];
  private ServiceTracker packageTracker;
  
  public IAdaptable[] adaptElements(IWorkingSet ws, IAdaptable[] elements)
  {
    List adaptedElements = new ArrayList();
    for (int i = 0; i < elements.length; i++)
    {
      IAdaptable adaptable = adapt(elements[i]);
      if (adaptable != null) {
        adaptedElements.add(adaptable);
      }
    }
    return (IAdaptable[])adaptedElements
      .toArray(new IAdaptable[adaptedElements.size()]);
  }
  
  private IAdaptable adapt(IAdaptable adaptable)
  {
    for (int i = 0; i < preferredTypes.length; i++)
    {
      IAdaptable adaptedAdaptable = adapt(preferredTypes[i], adaptable);
      if (adaptedAdaptable != null) {
        return adaptedAdaptable;
      }
    }
    return null;
  }
  
  private IAdaptable adapt(Type type, IAdaptable adaptable)
  {
    IAdapterManager adapterManager = Platform.getAdapterManager();
    Class[] directClasses = adapterManager.computeClassOrder(adaptable
      .getClass());
    for (int i = 0; i < directClasses.length; i++)
    {
      Class clazz = directClasses[i];
      if (clazz.getName().equals(className)) {
        return adaptable;
      }
    }
    if ((flags & 0x1) != 0)
    {
      Object adapted = adapterManager.getAdapter(adaptable, 
        className);
      if ((adapted instanceof IAdaptable)) {
        return (IAdaptable)adapted;
      }
      PackageAdmin admin = getPackageAdmin();
      if (admin != null)
      {
        int lastDot = className.lastIndexOf('.');
        if (lastDot > 0)
        {
          String packageName = className.substring(0, lastDot);
          ExportedPackage[] packages = admin
            .getExportedPackages(packageName);
          if ((packages != null) && (packages.length == 1)) {
            if (packages[0].getExportingBundle().getState() == 32) {
              try
              {
                adapted = adaptable.getAdapter(packages[0]
                  .getExportingBundle().loadClass(
                  className));
                if ((adapted instanceof IAdaptable)) {
                  return (IAdaptable)adapted;
                }
              }
              catch (ClassNotFoundException e)
              {
                WorkbenchPlugin.log(e);
              }
            }
          }
        }
      }
    }
    return null;
  }
  
  public void dispose()
  {
    if (packageTracker != null) {
      packageTracker.close();
    }
  }
  
  public void setInitializationData(IConfigurationElement config, String propertyName, Object data)
  {
    if ((data instanceof String))
    {
      List preferredTypes = new ArrayList(0);
      for (StringTokenizer toker = new StringTokenizer((String)data, ","); toker.hasMoreTokens();)
      {
        String classNameAndOptions = toker.nextToken();
        Type record = new Type(null);
        parseOptions(classNameAndOptions, record);
        preferredTypes.add(record);
      }
      this.preferredTypes = 
        ((Type[])preferredTypes.toArray(new Type[preferredTypes.size()]));
    }
  }
  
  private void parseOptions(String classNameAndOptions, Type record)
  {
    for (StringTokenizer toker = new StringTokenizer(classNameAndOptions, 
          ";"); 
          toker.hasMoreTokens();)
    {
      String token = toker.nextToken();
      if (className == null) {
        className = token;
      } else {
        for (StringTokenizer pair = new StringTokenizer(token, "="); pair.hasMoreTokens();) {
          if (pair.countTokens() == 2)
          {
            String param = pair.nextToken();
            String value = pair.nextToken();
            if ("adapt".equals(param)) {
              flags ^= ("true".equals(value) ? 1 : 0);
            }
          }
        }
      }
    }
  }
  
  private PackageAdmin getPackageAdmin()
  {
    if (packageTracker == null)
    {
      packageTracker = new ServiceTracker(WorkbenchPlugin.getDefault()
        .getBundleContext(), PackageAdmin.class.getName(), null);
      packageTracker.open();
    }
    return (PackageAdmin)packageTracker.getService();
  }
}

/* Location:
 * Qualified Name:     org.eclipse.ui.BasicWorkingSetElementAdapter
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ui;

import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IConfigurationElement;
import org.eclipse.core.runtime.IExecutableExtension;
import org.eclipse.core.runtime.IExecutableExtensionFactory;
import org.eclipse.core.runtime.Status;
import org.eclipse.ui.internal.ShowInMenu;
import org.eclipse.ui.internal.dialogs.ContentTypesPreferencePage;
import org.eclipse.ui.internal.dialogs.DecoratorsPreferencePage;
import org.eclipse.ui.internal.dialogs.EditorsPreferencePage;
import org.eclipse.ui.internal.dialogs.FileEditorsPreferencePage;
import org.eclipse.ui.internal.dialogs.PerspectivesPreferencePage;
import org.eclipse.ui.internal.dialogs.ViewsPreferencePage;
import org.eclipse.ui.internal.dialogs.WorkbenchPreferencePage;
import org.eclipse.ui.internal.keys.KeysPreferencePage;
import org.eclipse.ui.internal.keys.NewKeysPreferencePage;
import org.eclipse.ui.internal.progress.ProgressView;
import org.eclipse.ui.internal.themes.ColorsAndFontsPreferencePage;
import org.eclipse.ui.internal.wizards.preferences.PreferencesExportWizard;
import org.eclipse.ui.internal.wizards.preferences.PreferencesImportWizard;

public class ExtensionFactory
  implements IExecutableExtensionFactory, IExecutableExtension
{
  public static final String APPEARANCE_PREFERENCE_PAGE = "appearancePreferencePage";
  public static final String COLORS_AND_FONTS_PREFERENCE_PAGE = "colorsAndFontsPreferencePage";
  public static final String DECORATORS_PREFERENCE_PAGE = "decoratorsPreferencePage";
  public static final String EDITORS_PREFERENCE_PAGE = "editorsPreferencePage";
  public static final String FILE_ASSOCIATIONS_PREFERENCE_PAGE = "fileAssociationsPreferencePage";
  public static final String KEYS_PREFERENCE_PAGE = "keysPreferencePage";
  public static final String NEW_KEYS_PREFERENCE_PAGE = "newKeysPreferencePage";
  public static final String PERSPECTIVES_PREFERENCE_PAGE = "perspectivesPreferencePage";
  public static final String PREFERENCES_EXPORT_WIZARD = "preferencesExportWizard";
  public static final String PREFERENCES_IMPORT_WIZARD = "preferencesImportWizard";
  public static final String PROGRESS_VIEW = "progressView";
  public static final String WORKBENCH_PREFERENCE_PAGE = "workbenchPreferencePage";
  public static final String CONTENT_TYPES_PREFERENCE_PAGE = "contentTypesPreferencePage";
  public static final String SHOW_IN_CONTRIBUTION = "showInContribution";
  private IConfigurationElement config;
  private String id;
  private String propertyName;
  
  private Object configure(Object obj)
    throws CoreException
  {
    if ((obj instanceof IExecutableExtension)) {
      ((IExecutableExtension)obj).setInitializationData(config, 
        propertyName, null);
    }
    return obj;
  }
  
  public Object create()
    throws CoreException
  {
    if ("appearancePreferencePage".equals(id)) {
      return configure(new ViewsPreferencePage());
    }
    if ("colorsAndFontsPreferencePage".equals(id)) {
      return configure(new ColorsAndFontsPreferencePage());
    }
    if ("decoratorsPreferencePage".equals(id)) {
      return configure(new DecoratorsPreferencePage());
    }
    if ("editorsPreferencePage".equals(id)) {
      return configure(new EditorsPreferencePage());
    }
    if ("fileAssociationsPreferencePage".equals(id)) {
      return configure(new FileEditorsPreferencePage());
    }
    if ("keysPreferencePage".equals(id)) {
      return configure(new KeysPreferencePage());
    }
    if ("newKeysPreferencePage".equals(id)) {
      return configure(new NewKeysPreferencePage());
    }
    if ("perspectivesPreferencePage".equals(id)) {
      return configure(new PerspectivesPreferencePage());
    }
    if ("preferencesExportWizard".equals(id)) {
      return configure(new PreferencesExportWizard());
    }
    if ("preferencesImportWizard".equals(id)) {
      return configure(new PreferencesImportWizard());
    }
    if ("progressView".equals(id)) {
      return configure(new ProgressView());
    }
    if ("workbenchPreferencePage".equals(id)) {
      return configure(new WorkbenchPreferencePage());
    }
    if ("contentTypesPreferencePage".equals(id)) {
      return configure(new ContentTypesPreferencePage());
    }
    if ("showInContribution".equals(id))
    {
      ShowInMenu showInMenu = new ShowInMenu();
      return showInMenu;
    }
    throw new CoreException(new Status(4, "org.eclipse.ui", 
      0, "Unknown id in data argument for " + getClass(), null));
  }
  
  public void setInitializationData(IConfigurationElement config, String propertyName, Object data)
    throws CoreException
  {
    if ((data instanceof String)) {
      id = ((String)data);
    } else {
      throw new CoreException(new Status(4, 
        "org.eclipse.ui", 0, 
        "Data argument must be a String for " + getClass(), null));
    }
    this.config = config;
    this.propertyName = propertyName;
  }
}

/* Location:
 * Qualified Name:     org.eclipse.ui.ExtensionFactory
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ui;

import org.eclipse.jface.action.IAction;
import org.eclipse.jface.action.IMenuManager;
import org.eclipse.jface.action.IStatusLineManager;
import org.eclipse.jface.action.IToolBarManager;
import org.eclipse.ui.services.IServiceLocator;

public abstract interface IActionBars
{
  public abstract void clearGlobalActionHandlers();
  
  public abstract IAction getGlobalActionHandler(String paramString);
  
  public abstract IMenuManager getMenuManager();
  
  public abstract IServiceLocator getServiceLocator();
  
  public abstract IStatusLineManager getStatusLineManager();
  
  public abstract IToolBarManager getToolBarManager();
  
  public abstract void setGlobalActionHandler(String paramString, IAction paramIAction);
  
  public abstract void updateActionBars();
}

/* Location:
 * Qualified Name:     org.eclipse.ui.IActionBars
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ui;

import org.eclipse.jface.action.ICoolBarManager;

public abstract interface IActionBars2
  extends IActionBars
{
  public abstract ICoolBarManager getCoolBarManager();
}

/* Location:
 * Qualified Name:     org.eclipse.ui.IActionBars2
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ui;

import org.eclipse.jface.action.IAction;
import org.eclipse.jface.viewers.ISelection;

public abstract interface IActionDelegate
{
  public abstract void run(IAction paramIAction);
  
  public abstract void selectionChanged(IAction paramIAction, ISelection paramISelection);
}

/* Location:
 * Qualified Name:     org.eclipse.ui.IActionDelegate
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ui;

import org.eclipse.jface.action.IAction;
import org.eclipse.swt.widgets.Event;

public abstract interface IActionDelegate2
  extends IActionDelegate
{
  public abstract void init(IAction paramIAction);
  
  public abstract void dispose();
  
  public abstract void runWithEvent(IAction paramIAction, Event paramEvent);
}

/* Location:
 * Qualified Name:     org.eclipse.ui.IActionDelegate2
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ui;

import org.eclipse.jface.action.IAction;
import org.eclipse.swt.widgets.Event;

/**
 * @deprecated
 */
public abstract interface IActionDelegateWithEvent
{
  /**
   * @deprecated
   */
  public abstract void runWithEvent(IAction paramIAction, Event paramEvent);
}

/* Location:
 * Qualified Name:     org.eclipse.ui.IActionDelegateWithEvent
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ui;

public abstract interface IActionFilter
{
  public abstract boolean testAttribute(Object paramObject, String paramString1, String paramString2);
}

/* Location:
 * Qualified Name:     org.eclipse.ui.IActionFilter
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ui;

public abstract interface IAggregateWorkingSet
  extends IWorkingSet
{
  public abstract IWorkingSet[] getComponents();
}

/* Location:
 * Qualified Name:     org.eclipse.ui.IAggregateWorkingSet
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ui;

public abstract interface IContainmentAdapter
{
  public static final int CHECK_CONTEXT = 1;
  public static final int CHECK_IF_CHILD = 2;
  public static final int CHECK_IF_ANCESTOR = 4;
  public static final int CHECK_IF_DESCENDANT = 8;
  
  public abstract boolean contains(Object paramObject1, Object paramObject2, int paramInt);
}

/* Location:
 * Qualified Name:     org.eclipse.ui.IContainmentAdapter
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ui;

import org.eclipse.core.runtime.CoreException;
import org.eclipse.jface.viewers.IBaseLabelProvider;
import org.eclipse.jface.viewers.IDelayedLabelDecorator;
import org.eclipse.jface.viewers.ILabelDecorator;
import org.eclipse.jface.viewers.ILightweightLabelDecorator;

public abstract interface IDecoratorManager
  extends IDelayedLabelDecorator
{
  public abstract ILabelDecorator getLabelDecorator();
  
  public abstract IBaseLabelProvider getBaseLabelProvider(String paramString);
  
  public abstract ILabelDecorator getLabelDecorator(String paramString);
  
  /**
   * @deprecated
   */
  public abstract ILightweightLabelDecorator getLightweightLabelDecorator(String paramString);
  
  public abstract boolean getEnabled(String paramString);
  
  public abstract void setEnabled(String paramString, boolean paramBoolean)
    throws CoreException;
  
  public abstract void update(String paramString);
}

/* Location:
 * Qualified Name:     org.eclipse.ui.IDecoratorManager
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ui;

public abstract interface IEditorActionBarContributor
{
  public abstract void init(IActionBars paramIActionBars, IWorkbenchPage paramIWorkbenchPage);
  
  public abstract void setActiveEditor(IEditorPart paramIEditorPart);
  
  public abstract void dispose();
}

/* Location:
 * Qualified Name:     org.eclipse.ui.IEditorActionBarContributor
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ui;

import org.eclipse.jface.action.IAction;

public abstract interface IEditorActionDelegate
  extends IActionDelegate
{
  public abstract void setActiveEditor(IAction paramIAction, IEditorPart paramIEditorPart);
}

/* Location:
 * Qualified Name:     org.eclipse.ui.IEditorActionDelegate
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ui;

import org.eclipse.jface.resource.ImageDescriptor;

public abstract interface IEditorDescriptor
  extends IWorkbenchPartDescriptor
{
  public abstract String getId();
  
  public abstract ImageDescriptor getImageDescriptor();
  
  public abstract String getLabel();
  
  public abstract boolean isInternal();
  
  public abstract boolean isOpenInPlace();
  
  public abstract boolean isOpenExternal();
  
  public abstract IEditorMatchingStrategy getEditorMatchingStrategy();
}

/* Location:
 * Qualified Name:     org.eclipse.ui.IEditorDescriptor
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ui;

import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.jface.resource.ImageDescriptor;

public abstract interface IEditorInput
  extends IAdaptable
{
  public abstract boolean exists();
  
  public abstract ImageDescriptor getImageDescriptor();
  
  public abstract String getName();
  
  public abstract IPersistableElement getPersistable();
  
  public abstract String getToolTipText();
}

/* Location:
 * Qualified Name:     org.eclipse.ui.IEditorInput
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ui;

import org.eclipse.core.runtime.IPath;

public abstract interface IEditorLauncher
{
  public abstract void open(IPath paramIPath);
}

/* Location:
 * Qualified Name:     org.eclipse.ui.IEditorLauncher
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ui;

public abstract interface IEditorMatchingStrategy
{
  public abstract boolean matches(IEditorReference paramIEditorReference, IEditorInput paramIEditorInput);
}

/* Location:
 * Qualified Name:     org.eclipse.ui.IEditorMatchingStrategy
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ui;

public abstract interface IEditorPart
  extends IWorkbenchPart, ISaveablePart
{
  public static final int PROP_DIRTY = 257;
  public static final int PROP_INPUT = 258;
  
  public abstract IEditorInput getEditorInput();
  
  public abstract IEditorSite getEditorSite();
  
  public abstract void init(IEditorSite paramIEditorSite, IEditorInput paramIEditorInput)
    throws PartInitException;
}

/* Location:
 * Qualified Name:     org.eclipse.ui.IEditorPart
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ui;

public abstract interface IEditorReference
  extends IWorkbenchPartReference
{
  public abstract String getFactoryId();
  
  public abstract String getName();
  
  public abstract IEditorPart getEditor(boolean paramBoolean);
  
  public abstract boolean isPinned();
  
  public abstract IEditorInput getEditorInput()
    throws PartInitException;
}

/* Location:
 * Qualified Name:     org.eclipse.ui.IEditorReference
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ui;

import org.eclipse.core.runtime.content.IContentType;
import org.eclipse.jface.resource.ImageDescriptor;

public abstract interface IEditorRegistry
{
  public static final int PROP_CONTENTS = 1;
  public static final String SYSTEM_EXTERNAL_EDITOR_ID = "org.eclipse.ui.systemExternalEditor";
  public static final String SYSTEM_INPLACE_EDITOR_ID = "org.eclipse.ui.systemInPlaceEditor";
  
  public abstract void addPropertyListener(IPropertyListener paramIPropertyListener);
  
  public abstract IEditorDescriptor findEditor(String paramString);
  
  /**
   * @deprecated
   */
  public abstract IEditorDescriptor getDefaultEditor();
  
  public abstract IEditorDescriptor getDefaultEditor(String paramString);
  
  public abstract IEditorDescriptor getDefaultEditor(String paramString, IContentType paramIContentType);
  
  public abstract IEditorDescriptor[] getEditors(String paramString);
  
  public abstract IEditorDescriptor[] getEditors(String paramString, IContentType paramIContentType);
  
  public abstract IFileEditorMapping[] getFileEditorMappings();
  
  public abstract ImageDescriptor getImageDescriptor(String paramString);
  
  public abstract ImageDescriptor getImageDescriptor(String paramString, IContentType paramIContentType);
  
  public abstract void removePropertyListener(IPropertyListener paramIPropertyListener);
  
  public abstract void setDefaultEditor(String paramString1, String paramString2);
  
  public abstract boolean isSystemInPlaceEditorAvailable(String paramString);
  
  public abstract boolean isSystemExternalEditorAvailable(String paramString);
  
  public abstract ImageDescriptor getSystemExternalEditorImageDescriptor(String paramString);
}

/* Location:
 * Qualified Name:     org.eclipse.ui.IEditorRegistry
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ui;

import org.eclipse.jface.action.MenuManager;
import org.eclipse.jface.viewers.ISelectionProvider;

public abstract interface IEditorSite
  extends IWorkbenchPartSite
{
  public abstract IEditorActionBarContributor getActionBarContributor();
  
  public abstract IActionBars getActionBars();
  
  public abstract void registerContextMenu(MenuManager paramMenuManager, ISelectionProvider paramISelectionProvider, boolean paramBoolean);
  
  public abstract void registerContextMenu(String paramString, MenuManager paramMenuManager, ISelectionProvider paramISelectionProvider, boolean paramBoolean);
}

/* Location:
 * Qualified Name:     org.eclipse.ui.IEditorSite
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ui;

import org.eclipse.core.runtime.IAdaptable;

public abstract interface IElementFactory
{
  public abstract IAdaptable createElement(IMemento paramIMemento);
}

/* Location:
 * Qualified Name:     org.eclipse.ui.IElementFactory
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ui;

public abstract interface IExportWizard
  extends IWorkbenchWizard
{}

/* Location:
 * Qualified Name:     org.eclipse.ui.IExportWizard
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ui;

import org.eclipse.jface.resource.ImageDescriptor;

public abstract interface IFileEditorMapping
{
  public abstract IEditorDescriptor getDefaultEditor();
  
  public abstract IEditorDescriptor[] getEditors();
  
  public abstract IEditorDescriptor[] getDeletedEditors();
  
  public abstract String getExtension();
  
  public abstract ImageDescriptor getImageDescriptor();
  
  public abstract String getLabel();
  
  public abstract String getName();
}

/* Location:
 * Qualified Name:     org.eclipse.ui.IFileEditorMapping
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ui;

public abstract interface IFolderLayout
  extends IPlaceholderFolderLayout
{
  public abstract void addView(String paramString);
}

/* Location:
 * Qualified Name:     org.eclipse.ui.IFolderLayout
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ui;

public abstract interface IImportWizard
  extends IWorkbenchWizard
{}

/* Location:
 * Qualified Name:     org.eclipse.ui.IImportWizard
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ui;

public abstract interface IInPlaceEditor
  extends IEditorPart
{
  public abstract void sourceDeleted();
  
  public abstract void sourceChanged(IInPlaceEditorInput paramIInPlaceEditorInput);
}

/* Location:
 * Qualified Name:     org.eclipse.ui.IInPlaceEditor
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ui;

public abstract interface IInPlaceEditorInput
  extends IPathEditorInput
{
  public abstract void setInPlaceEditor(IInPlaceEditor paramIInPlaceEditor);
}

/* Location:
 * Qualified Name:     org.eclipse.ui.IInPlaceEditorInput
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ui;

import org.eclipse.jface.action.IAction;

/**
 * @deprecated
 */
public abstract interface IKeyBindingService
{
  public abstract String[] getScopes();
  
  public abstract void registerAction(IAction paramIAction);
  
  public abstract void setScopes(String[] paramArrayOfString);
  
  public abstract void unregisterAction(IAction paramIAction);
}

/* Location:
 * Qualified Name:     org.eclipse.ui.IKeyBindingService
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ui;

public abstract interface ILocalWorkingSetManager
  extends IWorkingSetManager
{
  public abstract void saveState(IMemento paramIMemento);
  
  public abstract void restoreState(IMemento paramIMemento);
}

/* Location:
 * Qualified Name:     org.eclipse.ui.ILocalWorkingSetManager
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ui;

public abstract interface IMemento
{
  public static final String TAG_ID = "IMemento.internal.id";
  
  public abstract IMemento createChild(String paramString);
  
  public abstract IMemento createChild(String paramString1, String paramString2);
  
  public abstract IMemento getChild(String paramString);
  
  public abstract IMemento[] getChildren(String paramString);
  
  public abstract Float getFloat(String paramString);
  
  public abstract String getType();
  
  public abstract String getID();
  
  public abstract Integer getInteger(String paramString);
  
  public abstract String getString(String paramString);
  
  public abstract Boolean getBoolean(String paramString);
  
  public abstract String getTextData();
  
  public abstract String[] getAttributeKeys();
  
  public abstract void putFloat(String paramString, float paramFloat);
  
  public abstract void putInteger(String paramString, int paramInt);
  
  public abstract void putMemento(IMemento paramIMemento);
  
  public abstract void putString(String paramString1, String paramString2);
  
  public abstract void putBoolean(String paramString, boolean paramBoolean);
  
  public abstract void putTextData(String paramString);
}

/* Location:
 * Qualified Name:     org.eclipse.ui.IMemento
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ui;

public abstract interface INavigationHistory
{
  public abstract void markLocation(IEditorPart paramIEditorPart);
  
  public abstract INavigationLocation getCurrentLocation();
  
  public abstract INavigationLocation[] getLocations();
}

/* Location:
 * Qualified Name:     org.eclipse.ui.INavigationHistory
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ui;

public abstract interface INavigationLocation
{
  public abstract void dispose();
  
  public abstract void releaseState();
  
  public abstract void saveState(IMemento paramIMemento);
  
  public abstract void restoreState(IMemento paramIMemento);
  
  public abstract void restoreLocation();
  
  public abstract boolean mergeInto(INavigationLocation paramINavigationLocation);
  
  public abstract Object getInput();
  
  public abstract String getText();
  
  public abstract void setInput(Object paramObject);
  
  public abstract void update();
}

/* Location:
 * Qualified Name:     org.eclipse.ui.INavigationLocation
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ui;

public abstract interface INavigationLocationProvider
{
  public abstract INavigationLocation createEmptyNavigationLocation();
  
  public abstract INavigationLocation createNavigationLocation();
}

/* Location:
 * Qualified Name:     org.eclipse.ui.INavigationLocationProvider
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ui;

/**
 * @deprecated
 */
public abstract interface INestableKeyBindingService
  extends IKeyBindingService
{
  public abstract boolean activateKeyBindingService(IWorkbenchSite paramIWorkbenchSite);
  
  public abstract IKeyBindingService getKeyBindingService(IWorkbenchSite paramIWorkbenchSite);
  
  public abstract boolean removeKeyBindingService(IWorkbenchSite paramIWorkbenchSite);
}

/* Location:
 * Qualified Name:     org.eclipse.ui.INestableKeyBindingService
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ui;

public abstract interface INewWizard
  extends IWorkbenchWizard
{}

/* Location:
 * Qualified Name:     org.eclipse.ui.INewWizard
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ui;

public abstract interface INullSelectionListener
  extends ISelectionListener
{}

/* Location:
 * Qualified Name:     org.eclipse.ui.INullSelectionListener
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ui;

import org.eclipse.jface.action.IAction;

public abstract interface IObjectActionDelegate
  extends IActionDelegate
{
  public abstract void setActivePart(IAction paramIAction, IWorkbenchPart paramIWorkbenchPart);
}

/* Location:
 * Qualified Name:     org.eclipse.ui.IObjectActionDelegate
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ui;

public abstract interface IPageLayout
{
  public static final String ID_EDITOR_AREA = "org.eclipse.ui.editorss";
  /**
   * @deprecated
   */
  public static final String ID_RES_NAV = "org.eclipse.ui.views.ResourceNavigator";
  public static final String ID_PROJECT_EXPLORER = "org.eclipse.ui.navigator.ProjectExplorer";
  public static final String ID_PROP_SHEET = "org.eclipse.ui.views.PropertySheet";
  public static final String ID_OUTLINE = "org.eclipse.ui.views.ContentOutline";
  public static final String ID_BOOKMARKS = "org.eclipse.ui.views.BookmarkView";
  public static final String ID_PROBLEM_VIEW = "org.eclipse.ui.views.ProblemView";
  public static final String ID_PROGRESS_VIEW = "org.eclipse.ui.views.ProgressView";
  public static final String ID_TASK_LIST = "org.eclipse.ui.views.TaskList";
  public static final String ID_NAVIGATE_ACTION_SET = "org.eclipse.ui.NavigateActionSet";
  public static final int LEFT = 1;
  public static final int RIGHT = 2;
  public static final int TOP = 3;
  public static final int BOTTOM = 4;
  public static final float RATIO_MIN = 0.05F;
  public static final float RATIO_MAX = 0.95F;
  public static final float DEFAULT_FASTVIEW_RATIO = 0.3F;
  public static final float DEFAULT_VIEW_RATIO = 0.5F;
  public static final float INVALID_RATIO = -1.0F;
  public static final float NULL_RATIO = -2.0F;
  
  public abstract void addActionSet(String paramString);
  
  public abstract void addFastView(String paramString);
  
  public abstract void addFastView(String paramString, float paramFloat);
  
  public abstract void addNewWizardShortcut(String paramString);
  
  public abstract void addPerspectiveShortcut(String paramString);
  
  public abstract void addPlaceholder(String paramString1, int paramInt, float paramFloat, String paramString2);
  
  /**
   * @deprecated
   */
  public abstract void addShowInPart(String paramString);
  
  public abstract void addShowViewShortcut(String paramString);
  
  public abstract void addView(String paramString1, int paramInt, float paramFloat, String paramString2);
  
  public abstract IFolderLayout createFolder(String paramString1, int paramInt, float paramFloat, String paramString2);
  
  public abstract IPlaceholderFolderLayout createPlaceholderFolder(String paramString1, int paramInt, float paramFloat, String paramString2);
  
  public abstract String getEditorArea();
  
  public abstract boolean isEditorAreaVisible();
  
  public abstract void setEditorAreaVisible(boolean paramBoolean);
  
  /**
   * @deprecated
   */
  public abstract int getEditorReuseThreshold();
  
  /**
   * @deprecated
   */
  public abstract void setEditorReuseThreshold(int paramInt);
  
  public abstract void setFixed(boolean paramBoolean);
  
  public abstract boolean isFixed();
  
  public abstract IViewLayout getViewLayout(String paramString);
  
  public abstract void addStandaloneView(String paramString1, boolean paramBoolean, int paramInt, float paramFloat, String paramString2);
  
  public abstract void addStandaloneViewPlaceholder(String paramString1, int paramInt, float paramFloat, String paramString2, boolean paramBoolean);
  
  public abstract IPerspectiveDescriptor getDescriptor();
  
  public abstract IPlaceholderFolderLayout getFolderForView(String paramString);
}

/* Location:
 * Qualified Name:     org.eclipse.ui.IPageLayout
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ui;

public abstract interface IPageListener
{
  public abstract void pageActivated(IWorkbenchPage paramIWorkbenchPage);
  
  public abstract void pageClosed(IWorkbenchPage paramIWorkbenchPage);
  
  public abstract void pageOpened(IWorkbenchPage paramIWorkbenchPage);
}

/* Location:
 * Qualified Name:     org.eclipse.ui.IPageListener
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ui;

public abstract interface IPageService
{
  public abstract void addPageListener(IPageListener paramIPageListener);
  
  public abstract void addPerspectiveListener(IPerspectiveListener paramIPerspectiveListener);
  
  public abstract IWorkbenchPage getActivePage();
  
  public abstract void removePageListener(IPageListener paramIPageListener);
  
  public abstract void removePerspectiveListener(IPerspectiveListener paramIPerspectiveListener);
}

/* Location:
 * Qualified Name:     org.eclipse.ui.IPageService
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ui;

public abstract interface IPartListener
{
  public abstract void partActivated(IWorkbenchPart paramIWorkbenchPart);
  
  public abstract void partBroughtToTop(IWorkbenchPart paramIWorkbenchPart);
  
  public abstract void partClosed(IWorkbenchPart paramIWorkbenchPart);
  
  public abstract void partDeactivated(IWorkbenchPart paramIWorkbenchPart);
  
  public abstract void partOpened(IWorkbenchPart paramIWorkbenchPart);
}

/* Location:
 * Qualified Name:     org.eclipse.ui.IPartListener
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.ui;

public abstract interface IPartListener2
{
  public abstract void partActivated(IWorkbenchPartReference paramIWorkbenchPartReference);
  
  public abstract void partBroughtToTop(IWorkbenchPartReference paramIWorkbenchPartReference);
  
  public abstract void partClosed(IWorkbenchPartReference paramIWorkbenchPartReference);
  
  public abstract void partDeactivated(IWorkbenchPartReference paramIWorkbenchPartReference);
  
  public abstract void partOpened(IWorkbenchPartReference paramIWorkbenchPartReference);
  
  public abstract void partHidden(IWorkbenchPartReference paramIWorkbenchPartReference);
  
  public abstract void partVisible(IWorkbenchPartReference paramIWorkbenchPartReference);
  
  public abstract void partInputChanged(IWorkbenchPartReference paramIWorkbenchPartReference);
}

/* Location:
 * Qualified Name:     org.eclipse.ui.IPartListener2
 * Java Class Version: 1.2 (46.0)
 * JD-Core Version:    0.7.1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209

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-2019. Infinite Loop Ltd