public class VPropertiesAction extends java.lang.Object implements VAction, java.io.Serializable
If a property dialog is already visible for the object, then it will be given focus.
Most errors are reported as ErrorEvents rather than throwing exceptions. Users should listen for ErrorEvents in order to diagnose and recover from error conditions.
VPropertiesAction objects generate the following events:
VPropertiesPane
,
Serialized FormConstructor and Description |
---|
VPropertiesAction()
Deprecated.
Constructs a VPropertiesAction object.
|
Modifier and Type | Method and Description |
---|---|
void |
addErrorListener(ErrorListener listener)
Deprecated.
Adds a listener to be notified when an error occurs.
|
void |
addVObjectListener(VObjectListener listener)
Deprecated.
Adds a listener to be notified when a VObject is changed,
created, or deleted.
|
void |
addWorkingListener(WorkingListener listener)
Deprecated.
Adds a listener to be notified when work starts and stops
on potentially long-running operations.
|
VObject |
getObject()
Deprecated.
Returns the object with which the action is associated.
|
java.lang.String |
getText()
Deprecated.
Returns the text for the properties action.
|
boolean |
isEnabled()
Deprecated.
Indicates if the action is enabled.
|
void |
perform(VActionContext context)
Deprecated.
Performs the action.
|
void |
removeErrorListener(ErrorListener listener)
Deprecated.
Removes an error listener.
|
void |
removeVObjectListener(VObjectListener listener)
Deprecated.
Removes a VObjectListener.
|
void |
removeWorkingListener(WorkingListener listener)
Deprecated.
Removes a working listener.
|
void |
setEnabled(boolean enabled)
Deprecated.
Sets the enabled state of the action.
|
void |
setObject(VObject object)
Deprecated.
Sets the object with which the action is associated.
|
java.lang.String |
toString()
Deprecated.
Returns the string representation of the properties action.
|
public VPropertiesAction()
public void addErrorListener(ErrorListener listener)
addErrorListener
in interface VAction
listener
- The listener.public void addVObjectListener(VObjectListener listener)
addVObjectListener
in interface VAction
listener
- The listener.public void addWorkingListener(WorkingListener listener)
addWorkingListener
in interface VAction
listener
- The listener.public VObject getObject()
public java.lang.String getText()
public boolean isEnabled()
public void perform(VActionContext context)
public void removeErrorListener(ErrorListener listener)
removeErrorListener
in interface VAction
listener
- The listener.public void removeVObjectListener(VObjectListener listener)
removeVObjectListener
in interface VAction
listener
- The listener.public void removeWorkingListener(WorkingListener listener)
removeWorkingListener
in interface VAction
listener
- The listener.public void setEnabled(boolean enabled)
setEnabled
in interface VAction
enabled
- true if the action is enabled; false otherwise.public void setObject(VObject object)
object
- The object.public java.lang.String toString()
toString
in class java.lang.Object