List of usage examples for com.intellij.openapi.ui DialogWrapper CLOSE_EXIT_CODE
int CLOSE_EXIT_CODE
To view the source code for com.intellij.openapi.ui DialogWrapper CLOSE_EXIT_CODE.
Click Source Link
From source file:com.android.tools.idea.npw.ideahost.IdeaWizardAdapter.java
License:Apache License
@Override public void onWizardFinished(boolean success) { myHostWizard.close(DialogWrapper.CLOSE_EXIT_CODE, success); }
From source file:com.intellij.ide.customize.CustomizeDownloadAndStartStepPanel.java
License:Apache License
private JButton createStartButton() { JButton button = new JButton(getStartName()); button.addActionListener(new ActionListener() { @Override/*from www . j a v a2 s . com*/ public void actionPerformed(ActionEvent e) { myCustomizeIDEWizardDialog.close(DialogWrapper.CLOSE_EXIT_CODE); ApplicationManagerEx.getApplicationEx().restart(true); } }); return button; }