1 |
/* AbstractAction.java -- |
/* AbstractAction.java -- |
2 |
Copyright (C) 2002, 2004 Free Software Foundation, Inc. |
Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
5 |
|
|
62 |
*/ |
*/ |
63 |
protected boolean enabled = true; |
protected boolean enabled = true; |
64 |
|
|
|
public static final String ENABLED_PROPERTY = "enabled"; |
|
|
|
|
65 |
/** |
/** |
66 |
* changeSupport |
* changeSupport |
67 |
*/ |
*/ |
191 |
if (enabled != this.enabled) |
if (enabled != this.enabled) |
192 |
{ |
{ |
193 |
this.enabled = enabled; |
this.enabled = enabled; |
194 |
firePropertyChange(ENABLED_PROPERTY, !this.enabled, this.enabled); |
firePropertyChange("enabled", !this.enabled, this.enabled); |
195 |
} |
} |
196 |
} |
} |
197 |
|
|