Package org.eclipse.jdt.launching
Interface IVMInstallChangedListener
public interface IVMInstallChangedListener
A VM install changed listener is notified when
the workspace default VM install changes, or when an attribute of
a specific VM install changes.
Listeners register with
JavaRuntime
.
Clients may implement this interface.
- Since:
- 2.0
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Property constant indicating the install location of a VM install has changed.static final String
Property constant indicating the Javadoc location associated with a VM install has changed.static final String
Property constant indicating the library locations associated with a VM install have changed.static final String
Property constant indicating the name associated with a VM install has changed.static final String
Property constant indicating the VM arguments associated with a VM install has changed. -
Method Summary
Modifier and TypeMethodDescriptionvoid
defaultVMInstallChanged
(IVMInstall previous, IVMInstall current) Notification that the workspace default VM install has changed.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.
-
Field Details
-
PROPERTY_LIBRARY_LOCATIONS
Property constant indicating the library locations associated with a VM install have changed. -
PROPERTY_NAME
Property constant indicating the name associated with a VM install has changed. -
PROPERTY_INSTALL_LOCATION
Property constant indicating the install location of a VM install has changed. -
PROPERTY_JAVADOC_LOCATION
Property constant indicating the Javadoc location associated with a VM install has changed. -
PROPERTY_VM_ARGUMENTS
Property constant indicating the VM arguments associated with a VM install has changed.- Since:
- 3.2
-
-
Method Details
-
defaultVMInstallChanged
Notification that the workspace default VM install has changed.- Parameters:
previous
- the VM install that was previously assigned to the workspace, possiblynull
current
- the VM install that is currently assigned to the workspace, possiblynull
-
vmChanged
Notification that a property of a VM install has changed.- Parameters:
event
- event describing the change. The VM that has changed is the source object associated with the event.
-
vmAdded
Notification that a VM has been created.- Parameters:
vm
- the vm that has been created
-
vmRemoved
Notification that a VM has been disposed.- Parameters:
vm
- the vm that has been disposed
-