1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

cleanup: removed some JavaDoc warnings plus other cosmetics

This commit is contained in:
Andrew Gvozdev 2010-03-16 16:55:34 +00:00
parent de881ce70d
commit c5bb4beda7

View file

@ -47,6 +47,8 @@ import org.eclipse.swt.widgets.TableItem;
import org.eclipse.ui.dialogs.PreferencesUtil;
/**
* "Select Configurations" page of C/C++ New Project Wizard
*
* @noextend This class is not intended to be subclassed by clients.
* @noinstantiate This class is not intended to be instantiated by clients.
*/
@ -54,7 +56,7 @@ public class CDTConfigWizardPage extends WizardPage {
public static final String PAGE_ID = "org.eclipse.cdt.managedbuilder.ui.wizard.CConfigWizardPage"; //$NON-NLS-1$
private static final Image IMG = ManagedBuilderUIImages.get(ManagedBuilderUIImages.IMG_BUILD_CONFIG);
private static final Image IMG_CONFIG = ManagedBuilderUIImages.get(ManagedBuilderUIImages.IMG_BUILD_CONFIG);
private static final String TITLE = UIMessages.getString("CConfigWizardPage.0"); //$NON-NLS-1$
private static final String MESSAGE = UIMessages.getString("CConfigWizardPage.1"); //$NON-NLS-1$
private static final String COMMENT = UIMessages.getString("CConfigWizardPage.12"); //$NON-NLS-1$
@ -136,7 +138,7 @@ public class CDTConfigWizardPage extends WizardPage {
return element == null ? EMPTY_STR : ((CfgHolder)element).getName();
}
@Override
public Image getImage(Object element) { return IMG; }
public Image getImage(Object element) { return IMG_CONFIG; }
});
tv.addCheckStateListener(new ICheckStateListener() {
public void checkStateChanged(CheckStateChangedEvent event) {
@ -192,11 +194,6 @@ public class CDTConfigWizardPage extends WizardPage {
setControl(parent);
}
/**
*
* @param handler
* @return
*/
static public CfgHolder[] getDefaultCfgs(MBSWizardHandler handler) {
String id = handler.getPropertyId();
IProjectType pt = handler.getProjectType();
@ -262,9 +259,6 @@ public class CDTConfigWizardPage extends WizardPage {
return true;
}
/**
*
*/
@Override
public void setVisible(boolean visible) {
parent.setVisible(visible);
@ -291,7 +285,6 @@ public class CDTConfigWizardPage extends WizardPage {
}
}
//------------------------
private Label setupLabel(Composite c, String name, int mode) {
Label l = new Label(c, SWT.WRAP);
l.setText(name);