import org.eclipse.swt.widgets.Shell;
import org.tizen.dynamicanalyzer.common.Global;
import org.tizen.dynamicanalyzer.communicator.DACommunicator;
+import org.tizen.dynamicanalyzer.communicator.IDECommunicator;
import org.tizen.dynamicanalyzer.nl.AnalyzerLabels;
import org.tizen.dynamicanalyzer.nl.ConfigureLabels;
import org.tizen.dynamicanalyzer.nl.WidgetLabels;
if (opened) {
return false;
}
-
+ IDECommunicator.setOpenWelcomeDlg(true);
shell.setSize(611, 520);
shell.setLayout(new FormLayout());
shell.setText(AnalyzerLabels.SETTING_TITLE);
});
}
+ private void notifyAutoRun() {
+ synchronized (IDECommunicator.getWaitingWelcomeDlg()) {
+ IDECommunicator.setOpenWelcomeDlg(false);
+ IDECommunicator.getWaitingWelcomeDlg().notifyAll();
+ }
+ }
+
private ShellListener shellListener = new ShellListener() {
@Override
doRevert();
doRun();
}
+ notifyAutoRun();
}
@Override