public class VMListener extends java.lang.Object implements IVMInstallChangedListener
PROPERTY_INSTALL_LOCATION, PROPERTY_JAVADOC_LOCATION, PROPERTY_LIBRARY_LOCATIONS, PROPERTY_NAME, PROPERTY_VM_ARGUMENTS| Constructor and Description |
|---|
VMListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
defaultVMInstallChanged(IVMInstall previous,
IVMInstall current)
Notification that the workspace default VM install
has changed.
|
boolean |
isChanged() |
void |
vmAdded(IVMInstall vm)
Notification that a VM has been created.
|
void |
vmChanged(PropertyChangeEvent event)
Notification that a property of a VM install has changed.
|
void |
vmRemoved(IVMInstall vm)
Notification that a VM has been disposed.
|
public void defaultVMInstallChanged(IVMInstall previous, IVMInstall current)
IVMInstallChangedListenerdefaultVMInstallChanged in interface IVMInstallChangedListenerprevious - the VM install that was previously assigned
to the workspace, possibly nullcurrent - the VM install that is currently assigned to the
workspace, possibly nullpublic void vmAdded(IVMInstall vm)
IVMInstallChangedListenervmAdded in interface IVMInstallChangedListenervm - the vm that has been createdpublic void vmChanged(PropertyChangeEvent event)
IVMInstallChangedListenervmChanged in interface IVMInstallChangedListenerevent - event describing the change. The VM that has changed
is the source object associated with the event.public void vmRemoved(IVMInstall vm)
IVMInstallChangedListenervmRemoved in interface IVMInstallChangedListenervm - the vm that has been disposedpublic boolean isChanged()