Package com.volantis.mcs.eclipse.common

Examples of com.volantis.mcs.eclipse.common.ObservableProperties.addPropertyChangeListener()


            try {
                // update the properties
                dram.setLocalizedPolicyName(policy, localizedName);
            } finally {
                // re-register the property change listener
                properties.addPropertyChangeListener(propertyChangeListener);
            }

        }
    }
View Full Code Here


            try {
                // update the properties
                dram.setPolicyDescription(policy, helpText);
            } finally {
                // re-register the property change listener
                properties.addPropertyChangeListener(propertyChangeListener);
            }

        }
    }
View Full Code Here

        // We need to be notified of changes to the properties file associated
        // with the device repository so that we can refresh the viewer. So,
        // we use an ObservableProperties to provide this facility.
        ObservableProperties op = dram.getProperties();
        op.addPropertyChangeListener(new PropertyChangeListener() {
            public void propertyChange(PropertyChangeEvent evt) {
                viewer.refresh();
            }
        });
View Full Code Here

        policiesSection.setFocus();

        // Add listener for changes to properties in device repository
        ObservableProperties properties =
                context.getDeviceRepositoryAccessorManager().getProperties();
        properties.addPropertyChangeListener(new PropertyChangeListener() {
            // Javadoc inherited
            public void propertyChange(PropertyChangeEvent evt) {
                setDirty(true);
            }
        });
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.