01: /*
02: * SimplePropertyEditor.java
03: *
04: * This file is part of SQL Workbench/J, http://www.sql-workbench.net
05: *
06: * Copyright 2002-2008, Thomas Kellerer
07: * No part of this code maybe reused without the permission of the author
08: *
09: * To contact the author please send an email to: support@sql-workbench.net
10: *
11: */
12: package workbench.interfaces;
13:
14: import java.beans.PropertyChangeListener;
15:
16: /**
17: *
18: * @author support@sql-workbench.net
19: */
20: public interface SimplePropertyEditor {
21: void setSourceObject(Object aSource, String aProperty);
22:
23: void applyChanges();
24:
25: boolean isChanged();
26:
27: void addPropertyChangeListener(PropertyChangeListener aListener);
28:
29: void removePropertyChangeListener(PropertyChangeListener aListener);
30:
31: void setImmediateUpdate(boolean aFlag);
32:
33: boolean getImmediateUpdate();
34: }
|