Examples of ISourceProvider


Examples of org.eclipse.ui.ISourceProvider

   * must not override.
   */
  public void dispose() {
    final Iterator providerItr = providers.iterator();
    while (providerItr.hasNext()) {
      final ISourceProvider provider = (ISourceProvider) providerItr
          .next();
      provider.removeSourceProviderListener(this);
    }

    providers.clear();
  }
View Full Code Here

Examples of org.eclipse.ui.ISourceProvider

   * source providers.
   */
  protected final void updateCurrentState() {
    final Iterator providerItr = providers.iterator();
    while (providerItr.hasNext()) {
      final ISourceProvider provider = (ISourceProvider) providerItr
          .next();
      final Map currentState = provider.getCurrentState();
      final Iterator variableItr = currentState.entrySet().iterator();
      while (variableItr.hasNext()) {
        final Map.Entry entry = (Map.Entry) variableItr.next();
        final String variableName = (String) entry.getKey();
        final Object variableValue = entry.getValue();
View Full Code Here

Examples of org.eclipse.ui.ISourceProvider

  private final Set sourceProviders = new HashSet();

  public final void dispose() {
    final Iterator sourceProviderItr = sourceProviders.iterator();
    while (sourceProviderItr.hasNext()) {
      final ISourceProvider sourceProvider = (ISourceProvider) sourceProviderItr
          .next();
      sourceProvider.dispose();
    }
    sourceProviders.clear();
    sourceProvidersByName.clear();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.