Examples of removeListener()


Examples of org.rhq.enterprise.agent.AgentPrintWriter.removeListener()

            apw.addListener(listener);
            agent.executePromptCommand(command);
        } catch (Exception e) {
            throw new ExecutionException(listener.toString(), e); // the message is the output, cause is the thrown exception
        } finally {
            apw.removeListener(listener);
        }

        String output = listener.toString();
        return output;
    }
View Full Code Here

Examples of org.rsbot.bot.Bot.removeListener()

                if (!wasSelected) {
                  current.addListener(el);
                }
              } else {
                if (wasSelected) {
                  current.removeListener(el);
                }
              }
            }
          }
        } else {
View Full Code Here

Examples of org.sylfra.idea.plugins.revu.settings.app.RevuAppSettingsComponent.removeListener()

  {
    messageContent.dispose();

    RevuAppSettingsComponent appSettingsComponent =
      ApplicationManager.getApplication().getComponent(RevuAppSettingsComponent.class);
    appSettingsComponent.removeListener(appSettingsListener);
  }

  public ToolWindow getToolwindow()
  {
    return toolwindow;
View Full Code Here

Examples of org.waveprotocol.wave.model.conversation.ObservableConversation.removeListener()

        conversationListener.deltaEnd();
      }
    } catch (OperationException e) {
      throw new IllegalStateException("Operation failed to apply when generating events", e);
    } finally {
      conversation.removeListener(conversationListener);
      wavelet.removeListener(waveletListener);
      for (EventGeneratingDocumentHandler docHandler : docHandlers.values()) {
        docHandler.doc.removeListener(docHandler);
      }
    }
View Full Code Here

Examples of org.waveprotocol.wave.model.wave.opbased.OpBasedWavelet.removeListener()

      }
    } catch (OperationException e) {
      throw new IllegalStateException("Operation failed to apply when generating events", e);
    } finally {
      conversation.removeListener(conversationListener);
      wavelet.removeListener(waveletListener);
      for (EventGeneratingDocumentHandler docHandler : docHandlers.values()) {
        docHandler.doc.removeListener(docHandler);
      }
    }
View Full Code Here

Examples of org.wicketstuff.push.examples.chatservice.ChatRoom.removeListener()

      public void onMessage(final Message msg)
      {
        if (pushService.isConnected(pushChannel))
          pushService.publish(pushChannel, msg);
        else
          chatRoom.removeListener(this);
      }
    });

    /*
     * render chat history
View Full Code Here

Examples of org.xtext.tortoiseshell.lib.Tortoise.removeListener()

                  } else {
                    throw Exceptions.sneakyThrow(_t);
                  }
                }
              }
              _xblockexpression = tortoise.removeListener(TortoiseView.this);
            }
            _xifexpression = _xblockexpression;
          }
          return Boolean.valueOf(_xifexpression);
        }
View Full Code Here

Examples of simtools.data.DataSource.removeListener()

        SourceCategoryDataset dst = (SourceCategoryDataset)plot.getDataset();
        dst.setDataSourceCollection((DataSourceCollection)o);
        chart.setTitle(dst.getName());
        for (int i=0; i<mappers.size(); ++i) {
          DataSource ds = (DataSource)mapperSources.get(i);
          if (ds!=null) ds.removeListener(this);
          ColorMapper cm = (ColorMapper)mappers.get(i);
          if (cm!=null) cm.removeListener(this);
        }
        for (int i=0; i<((DataSourceCollection)o).size(); ++i) {
          mappers.add(null); mapperSources.add(null); // no mapper by default
View Full Code Here

Examples of simtools.ui.GenericMapper.removeListener()

        // Now we can remove the deleted curves, and update the existing ones
        // Start from the end, to remove the entries and keep the index OK
        for (int i=n-1; i>=0; i--) {
          if (!toKeep[i]) {
            GenericMapper mapper = (GenericMapper)mappers.remove(i);
            if (mapper!=null) mapper.removeListener(BarChartShape.this);
            DataSource source = (DataSource)mapperSources.remove(i);
            if (source!=null) source.removeListener(BarChartShape.this);
            dst.removeSource(i);
          }
        }
View Full Code Here

Examples of uk.ac.bbsrc.tgac.miso.core.data.impl.illumina.IlluminaRun.removeListener()

    s = new StatusImpl();
    s.setHealth(HealthType.Completed);
    r.setStatus(s);

    log.info("Unregistering listeners");
    r.removeListener(foo);
  }

  @After
  public void tearDown() {
    dataObjectFactory = null;
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.