java_beans_PropertyChangeEvent


pattern_0 (3 partitions, 387 files)


java.beans.PropertyChangeEvent.getPropertyName


Cluster 2 (135 files, similarity: 0.7064939075733278)

metasfresh_____metasfresh_____VBinary
		if (evt.getPropertyName().equals(org.compiere.model.GridField.PROPERTY))
			setValue(evt.getNewValue());
            
trol73_____mucommander_____GoToDocumentationAction
        if (propertyChangeEvent.getPropertyName().equals(TOPIC_PROPERTY_KEY)) {
            updateURL();
        }
            
4thline_____cling_____DefaultServiceManager
            if (e.getPropertyName().equals(EVENTED_STATE_VARIABLES)) return;
            

pattern_3 (3 partitions, 130 files)


java.beans.PropertyChangeEvent.getSource


Cluster 2 (28 files, similarity: 0.7859352566137582)

metasfresh_____metasfresh_____ProcessParametersPanel
			if (evt.getSource() instanceof VEditor)
			{
				final VEditor editor = (VEditor)evt.getSource();
				changedField = editor.getField();
			}
            
unofficial-openjdk_____openjdk_____SynthProgressBarUI
        if (SynthLookAndFeel.shouldUpdateStyle(e) ||
                "indeterminate".equals(e.getPropertyName())) {
            updateStyle((JProgressBar)e.getSource());
        }
            
openjdk-mirror_____jdk7u-jdk_____SynthListUI
        if (SynthLookAndFeel.shouldUpdateStyle(e)) {
            updateStyle((JList)e.getSource());
        }
            

pattern_1 (3 partitions, 305 files)


java.beans.PropertyChangeEvent.getNewValue


Cluster 0 (98 files, similarity: 0.7069365388176019)

bardsoftware_____ganttproject_____CopyAction
        if ("enabled".equals(evt.getPropertyName())) {
          result.setEnabled((Boolean)evt.getNewValue());
        }
            
openmicroscopy_____openmicroscopy_____ClearAction
        if (pce.getPropertyName().equals(TreeViewer.FINDER_VISIBLE_PROPERTY))
            setEnabled(((Boolean) pce.getNewValue()).booleanValue());
            
JetBrains_____intellij-community_____IntroduceParameterDialog
                if (evt.getPropertyName().equals("enabled")) {
                    myPreviewAction.setEnabled(((Boolean)evt.getNewValue()) && !myCreateWithDefault.isSelected());
                }
            

pattern_4 (4 partitions, 53 files)


java.beans.PropertyChangeEvent.<init>


Cluster 0 (15 files, similarity: 0.7162925238095236)

neuroph_____neuroph_____ParticleInfluencerPropertyEditor
        for (Iterator it = listeners.iterator(); it.hasNext();) {
            PropertyChangeListener propertyChangeListener = it.next();
            //TODO: check what the "programmatic name" is supposed to be here.. for now its Quaternion
            propertyChangeListener.propertyChange(new PropertyChangeEvent(this, null, before, after));
        }
            
protegeproject_____protege_____AbstractAxiomSelectionStrategy
        for (PropertyChangeListener l : listeners){
        l.propertyChange(new PropertyChangeEvent(this, property, null, null));
        }
            
Activiti_____Activiti-Designer_____ChoiceConditionEditor
    if(listener != null) {
      listener.propertyChange(new PropertyChangeEvent(this, "condition", definition, definition));
    }
            

Cluster 2 (11 files, similarity: 0.6958307454545456)

apache_____groovy_____ObservableMap
    protected void fireSizeChangedEvent(int oldValue, int newValue) {
        pcs.firePropertyChange(new PropertyChangeEvent(this, SIZE_PROPERTY, oldValue, newValue));
    }
            
adempiere_____adempiere_____CAbstractBOMTree
	protected void dispatchPropertyChange() {
		
		PropertyChangeEvent evt = new PropertyChangeEvent(lookup, ChangeASIAction.COMMAND, null, null); 
		propertyChange(evt);
	}
            
OpenNMS_____opennms_____PollerFrontEndTest
    private void anticipateFireConfigurationChangeEvent() {
        PropertyChangeEvent e = new PropertyChangeEvent(m_frontEnd,
                                                        "configuration", 
                                                        (oldConfig() == null ? null : oldConfig().getConfigurationTimestamp()), 
                                                        (pollConfig() == null ? null : pollConfig().getConfigurationTimestamp()));
        m_configChangeListener.configurationChanged(eq(e));
    }