1 11 package org.eclipse.jdt.internal.launching; 12 13 import org.eclipse.jdt.launching.IVMInstall; 14 import org.eclipse.jdt.launching.IVMInstallChangedListener; 15 import org.eclipse.jdt.launching.PropertyChangeEvent; 16 17 23 public class VMListener implements IVMInstallChangedListener { 24 25 private boolean fChanged = false; 26 27 30 public void defaultVMInstallChanged(IVMInstall previous, IVMInstall current) { 31 fChanged = true; 32 } 33 34 37 public void vmAdded(IVMInstall vm) { 38 fChanged = true; 39 } 40 41 44 public void vmChanged(PropertyChangeEvent event) { 45 fChanged = true; 46 } 47 48 51 public void vmRemoved(IVMInstall vm) { 52 fChanged = true; 53 } 54 55 public boolean isChanged() { 56 return fChanged; 57 } 58 59 } 60 | Popular Tags |