Package org.eclipse.wb.core.model.broadcast

Examples of org.eclipse.wb.core.model.broadcast.BroadcastSupport.addListener()


  public FileContextDescriptionSupport(ObjectInfo object) {
    m_object = object;
    m_gwtState = ((IGwtStateProvider) object).getState();
    BroadcastSupport broadcastSupport = m_object.getBroadcastSupport();
    // add IFile based context descriptions
    broadcastSupport.addListener(null, new StylePropertyEditorListener() {
      @Override
      public void addContextDescriptions(ObjectInfo object, List<ContextDescription> contexts)
          throws Exception {
        addFileContextDesccriptions(contexts);
      }
View Full Code Here


          throws Exception {
        addFileContextDesccriptions(contexts);
      }
    });
    // dispose on hierarchy dispose
    broadcastSupport.addListener(null, new ObjectEventListener() {
      @Override
      public void dispose() throws Exception {
        for (ContextDescription context : m_fileContexts.values()) {
          context.dispose();
        }
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.