| org.eclipse.ui.internal.ide.dialogs.CleanDialog
CleanDialog | public class CleanDialog extends MessageDialog (Code) | | Dialog that asks the user to confirm a clean operation, and to configure
settings in relation to the clean. Clicking ok in the dialog will perform the
clean operation.
since: 3.0 |
Constructor Summary | |
public | CleanDialog(IWorkbenchWindow window, IProject[] selection) Creates a new clean dialog. |
Method Summary | |
protected void | buttonPressed(int buttonId) | public boolean | close() | protected Control | createCustomArea(Composite parent) | protected void | doClean(boolean cleanAll, IProgressMonitor monitor) Performs the actual clean operation. | protected Point | getInitialLocation(Point initialSize) | public Point | getInitialLocation(String dialogSettingsSectionName) Returns the initial location which is persisted in the Ant UI Plugin dialog settings
under the provided dialog setttings section name.
If location is not persisted in the settings, the null is returned. | protected Point | getInitialSize() | protected boolean | isResizable() | protected void | updateEnablement() Updates the enablement of the dialog's ok button based
on the current choices in the dialog. |
CleanDialog | public CleanDialog(IWorkbenchWindow window, IProject[] selection)(Code) | | Creates a new clean dialog.
Parameters: window - the window to create it in Parameters: selection - the currently selected projects (may be empty) |
buttonPressed | protected void buttonPressed(int buttonId)(Code) | | |
close | public boolean close()(Code) | | |
createCustomArea | protected Control createCustomArea(Composite parent)(Code) | | |
doClean | protected void doClean(boolean cleanAll, IProgressMonitor monitor) throws CoreException(Code) | | Performs the actual clean operation.
Parameters: cleanAll - if true clean all projects Parameters: monitor - The monitor that the build will report to throws: CoreException - thrown if there is a problem from thecore builder. |
getInitialLocation | protected Point getInitialLocation(Point initialSize)(Code) | | |
getInitialLocation | public Point getInitialLocation(String dialogSettingsSectionName)(Code) | | Returns the initial location which is persisted in the Ant UI Plugin dialog settings
under the provided dialog setttings section name.
If location is not persisted in the settings, the null is returned.
Parameters: dialogSettingsSectionName - The name of the dialog settings section The initial location or null |
getInitialSize | protected Point getInitialSize()(Code) | | |
isResizable | protected boolean isResizable()(Code) | | |
updateEnablement | protected void updateEnablement()(Code) | | Updates the enablement of the dialog's ok button based
on the current choices in the dialog.
|
|
|