Examples of removePropertyChangeListener()


Examples of org.apache.catalina.Realm.removePropertyChangeListener()

    public void removePropertyChangeListener(final PropertyChangeListener listener) {
        final Realm instance = instance();
        if (instance == null) {
            return;
        }
        instance.removePropertyChangeListener(listener);
    }
}
View Full Code Here

Examples of org.apache.log4j.rule.Rule.removePropertyChangeListener()

  public void setLoggerRule(Rule r) {
    Rule oldLoggerRule = this.loggerRule;
    this.loggerRule = r;
    if(oldLoggerRule!=null){
      oldLoggerRule.removePropertyChangeListener(ruleChangerNotifier);
    }
    this.loggerRule.addPropertyChangeListener(ruleChangerNotifier);
    firePropertyChange("loggerRule", oldLoggerRule, this.loggerRule);
  }
View Full Code Here

Examples of org.eclipse.core.runtime.Preferences.removePropertyChangeListener()

  @Override
  public void deactivate() {
    if (isActive()) {
      super.deactivate();
      Preferences pluginPreferences = Activator.getDefault().getPluginPreferences();
      pluginPreferences.removePropertyChangeListener(pluginPreferencesChangeListener);
    }
  }
}
View Full Code Here

Examples of org.eclipse.gef.palette.PaletteEntry.removePropertyChangeListener()

   */
  protected void setActiveEntry(PaletteEntry entry) {
    //remove listener on previous entry before adding to new entry
    PaletteEntry pre = getSelectedPaletteEntry();
    if (pre != null) {
      pre.removePropertyChangeListener(applyButtonUpdater);
    } else {
      getButton(APPLY_ID).setEnabled(false);
    }
   
    if (entry != null)
View Full Code Here

Examples of org.eclipse.jface.action.IAction.removePropertyChangeListener()

        status = new Status(IStatus.ERROR, ICheatSheetResource.CHEAT_SHEET_PLUGIN_ID, IStatus.OK, Messages.EXCEPTION_RUNNING_ACTION, e);
      }
    }

    // Remove the PropertyChangeListener
    action.removePropertyChangeListener(propertyChangeListener);

    if (status.isOK() && listenerFired[0]) {
      if (!listenerResult[0]) {       
          status =new Status(IStatus.WARNING, ICheatSheetResource.CHEAT_SHEET_PLUGIN_ID, IStatus.OK, Messages.ACTION_FAILED, null);
        }
View Full Code Here

Examples of org.eclipse.jface.preference.IPreferenceStore.removePropertyChangeListener()

    public void destroy()
    {
        IPreferenceStore prefs = SigilCore.getDefault().getPreferenceStore();
        if (prefs != null)
        {
            prefs.removePropertyChangeListener(this);
        }
    }   

    /* (non-Javadoc)
     * @see org.apache.felix.sigil.common.repository.AbstractRepositoryManager#loadRepositories()
View Full Code Here

Examples of org.eclipse.php.internal.server.core.Server.removePropertyChangeListener()

    ServersManager manager = getInstance();
    Server oldValue = ServersManager.getServer(server);
    if (server != oldValue) {
      manager.servers.remove(oldValue.getName());
      oldValue.removePropertyChangeListener(manager);
      ServerManagerEvent event = new ServerManagerEvent(
          ServerManagerEvent.MANAGER_EVENT_REMOVED, oldValue);
      manager.fireEvent(event);
    }
    oldValue = (Server) manager.servers.put(server.getName(), server);
View Full Code Here

Examples of org.eclipse.sapphire.ui.swt.gef.model.ShapeModel.removePropertyChangeListener()

    {
      if (getModel() instanceof ShapeModel)
      {
        ShapeModel shapeModel = (ShapeModel)getModel();
        //shapeModel.getNodeModel().removePropertyChangeListener(this);
        shapeModel.removePropertyChangeListener(this);
        super.deactivate();
      }
    }
  }
 
View Full Code Here

Examples of org.eclipse.ui.SubActionBars.removePropertyChangeListener()

        }
        IWorkbenchPart part = getActivePart();
        if (part != null) {
            IWorkbenchPartSite site = part.getSite();
            SubActionBars bars = (SubActionBars) ((PartSite) site).getActionBars();
            bars.removePropertyChangeListener(propertyChangeListener);
        }
    }

    /**
     * Enables the accelerator for this action.
View Full Code Here

Examples of org.eclipse.ui.console.IConsole.removePropertyChangeListener()

    }

    IPage page = pageRecord.page;
    page.dispose();
    pageRecord.dispose();
    console.removePropertyChangeListener(this);
           
    // empty cross-reference cache
    fPartToConsole.remove(part);
    fConsoleToPart.remove(console);
        if (fPartToConsole.isEmpty()) {
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.