public void run() {
if (!com.onpositive.gae.tools.license.LicenseChecker.checkLicense(isDebug())){
return;
}
final TakeSnapshot takeSnapshot = new TakeSnapshot(
"Capturing current performance data",isDebug());
takeSnapshot.addJobChangeListener(new JobChangeAdapter() {
public void done(IJobChangeEvent event) {
if (event.getResult().isOK()){
Display.getDefault().asyncExec(new CaptureSnapshot(takeSnapshot));
}
}
});
takeSnapshot.schedule();
}