Package org.apache.felix.mosgi.console.ifc

Examples of org.apache.felix.mosgi.console.ifc.CommonPlugin


    this.beanEventBroadcaster.addPropertyChangeListener(this);
  }

  public void propertyChange(PropertyChangeEvent event) {
    if (event.getPropertyName().equals(CommonPlugin.COMMON_PLUGIN_ADDED)) {
      CommonPlugin cp=(CommonPlugin)event.getNewValue();
      this.add(cp.getName(), cp.getGUI());
      this.beanEventBroadcaster.addPropertyChangeListener(cp);
    }
    if (event.getPropertyName().equals(CommonPlugin.COMMON_PLUGIN_REMOVED)){
      CommonPlugin cp=(CommonPlugin)event.getNewValue();
      this.remove(cp.getGUI());
      this.beanEventBroadcaster.removePropertyChangeListener(cp);
    }
  }
View Full Code Here

TOP

Related Classes of org.apache.felix.mosgi.console.ifc.CommonPlugin

Copyright © 2018 www.massapicom. 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.