1 package com.quantum.wizards;
3 import java.beans.PropertyChangeListener;
4 import java.beans.PropertyChangeSupport;
6 import org.eclipse.jface.wizard.WizardPage;
12 public abstract class PropertyChangeWizardPage extends WizardPage {
14 protected PropertyChangeWizardPage(String pageName) {
18 private PropertyChangeSupport propertyChangeSupport = new PropertyChangeSupport(this);
23 public void addPropertyChangeListener(PropertyChangeListener listener) {
24 this.propertyChangeSupport.addPropertyChangeListener(listener);
30 public void removePropertyChangeListener(PropertyChangeListener listener) {
31 this.propertyChangeSupport.removePropertyChangeListener(listener);
39 protected void firePropertyChange(String propertyName, boolean oldValue, boolean newValue) {
40 this.propertyChangeSupport.firePropertyChange(propertyName, oldValue, newValue);
47 protected void firePropertyChange(String propertyName, int oldValue, int newValue) {
48 this.propertyChangeSupport.firePropertyChange(propertyName, oldValue, newValue);
55 protected void firePropertyChange(String propertyName, Object oldValue, Object newValue) {
56 this.propertyChangeSupport.firePropertyChange(propertyName, oldValue, newValue);