[118493] commited for NA
diff --git a/plugins/org.eclipse.wst.validation.ui/validateui/org/eclipse/wst/validation/internal/ui/ValidationPreferencePage.java b/plugins/org.eclipse.wst.validation.ui/validateui/org/eclipse/wst/validation/internal/ui/ValidationPreferencePage.java
index f72775e..6475dce 100644
--- a/plugins/org.eclipse.wst.validation.ui/validateui/org/eclipse/wst/validation/internal/ui/ValidationPreferencePage.java
+++ b/plugins/org.eclipse.wst.validation.ui/validateui/org/eclipse/wst/validation/internal/ui/ValidationPreferencePage.java
@@ -47,7 +47,6 @@
import org.eclipse.swt.widgets.Table;
import org.eclipse.swt.widgets.TableColumn;
import org.eclipse.swt.widgets.TableItem;
-import org.eclipse.swt.widgets.Text;
import org.eclipse.ui.IWorkbench;
import org.eclipse.ui.IWorkbenchPreferencePage;
import org.eclipse.ui.PlatformUI;
@@ -450,29 +449,6 @@
columnEditors[2] = new ComboBoxCellEditor(table,COMBO_VALUES, SWT.READ_ONLY);
viewer.setCellEditors(columnEditors);
}
-
- protected void createDescriptionComposite(final Composite parent, final String description) {
- Composite descriptionComp = new Composite(parent, SWT.NONE);
- GridLayout layout = new GridLayout();
- layout.numColumns = 1;
- descriptionComp.setLayout(layout);
- descriptionComp.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
- fillDescription(descriptionComp, description);
- }
-
- private void fillDescription(Composite c, String s) {
- GridData data = new GridData();
- data.horizontalSpan = 1;
- data.horizontalIndent = 5;
- data = new GridData(GridData.FILL_HORIZONTAL);
- data.widthHint = 250;
- Text text = new Text(c, SWT.MULTI | SWT.WRAP);
- text.setLayoutData(data);
- text.setTextLimit(80);
- text.setEditable(false);
- text.setText(s);
- }
-
public Composite createPage(Composite parent) throws InvocationTargetException {
// top level group
@@ -492,15 +468,6 @@
PlatformUI.getWorkbench().getHelpSystem().setHelp(validatorGroup, ContextIds.VALIDATION_PREFERENCE_PAGE);
GridData overrideData = new GridData(GridData.FILL_HORIZONTAL);
-
-// Font font = parent.getFont();
-// Label projectLabel = new Label(validatorGroup, SWT.NONE);
-// projectLabel.setFont(font);
-// projectLabel.setText("This preference applies to the projects that have ModuleCoreNature"); //$NON-NLS-1$
-
- createDescriptionComposite(validatorGroup, ResourceHandler.getExternalizedMessage(ResourceConstants.INFO));
-
-
emptyRowPlaceholder = new Label(validatorGroup, SWT.NONE);
emptyRowPlaceholder.setLayoutData(new GridData());
emptyRowPlaceholder = new Label(validatorGroup, SWT.NONE);