1 19 package org.netbeans.modules.xml.api.scenario; 20 21 import javax.swing.event.ChangeListener ; 22 import java.beans.PropertyChangeListener ; 23 import org.openide.loaders.DataObject; 24 25 40 public interface Scenario { 41 42 public static final String PROP_SCENARIO_MODIFIED = "SCENARIO_MODIFIED"; 43 44 48 public void addPropertyChangeListener(PropertyChangeListener listener); 49 50 54 public void removePropertyChangeListener(PropertyChangeListener listener); 55 56 66 public java.awt.Component getCustomizer(DataObject dataObject, boolean activatePropertyChange); 67 68 72 public void execute(DataObject dataObject); 73 74 78 public String getName(); 79 80 84 public void setName(String name); 85 86 90 public void saveChanges(); 91 92 } 93 | Popular Tags |