Examples of addPropertyListener()


Examples of com.atomikos.swing.PropertiesPanel.addPropertyListener()

                  if ( rec.wasCommitted () )
                      outcome = messages_.getString ( "commitOutcomeMessage" );
                  else
                      outcome = messages_
                              .getString ( "rollbackOutcomeMessage" );
                  panel.addPropertyListener ( pListener_ );
                  int n = JOptionPane.showOptionDialog ( frame_, panel
                          .getPanel (), outcome + id.toString (),
                          JOptionPane.YES_NO_CANCEL_OPTION,
                          JOptionPane.QUESTION_MESSAGE, null, options,
                          options[2] );
View Full Code Here

Examples of com.atomikos.swing.PropertiesPanel.addPropertyListener()

                  if ( rec.wasCommitted () )
                      outcome = messages_.getString ( "commitOutcomeMessage" );
                  else
                      outcome = messages_
                              .getString ( "rollbackOutcomeMessage" );
                  panel.addPropertyListener ( pListener_ );
                  int n = JOptionPane.showOptionDialog ( frame_, panel
                          .getPanel (), outcome + id.toString (),
                          JOptionPane.YES_NO_CANCEL_OPTION,
                          JOptionPane.QUESTION_MESSAGE, null, options,
                          options[2] );
View Full Code Here

Examples of com.atomikos.swing.PropertiesPanel.addPropertyListener()

                  if ( rec.wasCommitted () )
                      outcome = messages_.getString ( "commitOutcomeMessage" );
                  else
                      outcome = messages_
                              .getString ( "rollbackOutcomeMessage" );
                  panel.addPropertyListener ( pListener_ );
                  int n = JOptionPane.showOptionDialog ( frame_, panel
                          .getPanel (), outcome + id.toString (),
                          JOptionPane.YES_NO_CANCEL_OPTION,
                          JOptionPane.QUESTION_MESSAGE, null, options,
                          options[2] );
View Full Code Here

Examples of net.sf.robocode.settings.ISettingsManager.addPropertyListener()

    final ISettingsManager props = properties;

    loadPreferences(props);

    props.addPropertyListener(new ISettingsListener() {
      public void settingChanged(String property) {
        if (property.equals(ISettingsManager.OPTIONS_BATTLE_DESIREDTPS)) {
          PreferencesViewOptionsTab.this.desiredTpsTextField.setText("" + props.getOptionsBattleDesiredTPS());
        }
      }
View Full Code Here

Examples of net.sf.robocode.settings.ISettingsManager.addPropertyListener()

      ISettingsManager props = properties;

      replayButton.setVisible(props.getOptionsCommonEnableReplayRecording());

      props.addPropertyListener(new ISettingsListener() {
        public void settingChanged(String property) {
          if (property.equals(ISettingsManager.OPTIONS_COMMON_ENABLE_REPLAY_RECORDING)) {
            replayButton.setVisible(properties.getOptionsCommonEnableReplayRecording());
          }
        }
View Full Code Here

Examples of net.sf.robocode.settings.ISettingsManager.addPropertyListener()

      tpsSlider.setMajorTickSpacing(5);
      tpsSlider.setLabelTable(labels);

      WindowUtil.setFixedSize(tpsSlider, new Dimension((MAX_TPS_SLIDER_VALUE + 1) * 6, 40));

      props.addPropertyListener(new ISettingsListener() {
        public void settingChanged(String property) {
          if (property.equals(ISettingsManager.OPTIONS_BATTLE_DESIREDTPS)) {
            setTpsOnSlider(props.getOptionsBattleDesiredTPS());
          }
        }
View Full Code Here

Examples of net.sf.robocode.settings.ISettingsManager.addPropertyListener()

      battleSaveRecordAsMenuItem.setEnabled(false);
      battleSaveRecordAsMenuItem.addActionListener(eventHandler);

      ISettingsManager props = properties;

      props.addPropertyListener(
          new ISettingsListener() {
        public void settingChanged(String property) {
          if (property.equals(ISettingsManager.OPTIONS_COMMON_ENABLE_REPLAY_RECORDING)) {
            final boolean canReplayRecord = recordManager.hasRecord();
            final boolean enableSaveRecord = properties.getOptionsCommonEnableReplayRecording()
View Full Code Here

Examples of net.sf.robocode.settings.ISettingsManager.addPropertyListener()

      battleExportRecordMenuItem.setEnabled(false);
      battleExportRecordMenuItem.addActionListener(eventHandler);

      ISettingsManager props = properties;

      props.addPropertyListener(
          new ISettingsListener() {
        public void settingChanged(String property) {
          if (property.equals(ISettingsManager.OPTIONS_COMMON_ENABLE_REPLAY_RECORDING)) {
            final boolean canReplayRecord = recordManager.hasRecord();
            final boolean enableSaveRecord = properties.getOptionsCommonEnableReplayRecording()
View Full Code Here

Examples of org.carrot2.workbench.core.ui.SearchEditor.addPropertyListener()

    {
        final SearchEditor _previous = (SearchEditor) previous;
        final SearchEditor _active = (SearchEditor) activeEditor;
       
        if (_previous != null) _previous.removePropertyListener(listener);
        if (_active != null) _active.addPropertyListener(listener);
    }

    /*
     *
     */
 
View Full Code Here

Examples of org.eclipse.ui.IEditorPart.addPropertyListener()

    lastActivePage = currentPage;
    lastPerspective = persp;
    lastInput = input;

    if (activeEditor != null) {
      activeEditor.addPropertyListener(editorPropertyListener);
    }

    recomputeTitle();
  }
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.