Added the PHP wizards again
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.sql / src / net / sourceforge / phpdt / sql / wizards / SortFilterPage.java
index ff9d447..476c113 100644 (file)
@@ -41,7 +41,7 @@ public class SortFilterPage extends WizardPage implements SQLPage {
        }
 
        public void createControl(Composite parent) {
-               System.out.println("page create control");
+               System.out.println("page create control"); //$NON-NLS-1$
                
                Composite container = new Composite(parent, SWT.NULL);
                GridLayout layout = new GridLayout();
@@ -50,20 +50,20 @@ public class SortFilterPage extends WizardPage implements SQLPage {
                layout.numColumns = layoutColumns;
 
                if (row == null) {
-                       System.out.println("Row is null");
+                       System.out.println("Row is null"); //$NON-NLS-1$
                }
                if (row.getColumnNames() == null) {
-                       System.out.println("Columns are null");
+                       System.out.println("Columns are null"); //$NON-NLS-1$
                }
                if (row.getTableData() == null) {
-                       System.out.println("Data is null");
+                       System.out.println("Data is null"); //$NON-NLS-1$
                }
                
                columnNames = row.getColumnNames();
                String[] data = row.getTableData();
                for (int i = 0; i < row.getColumnCount(); i++) {
-                       System.out.println("data = " + i + "=" + data[i]);
-                       System.out.println("column = " + i + "=" + columnNames[i]);
+                       System.out.println("data = " + i + "=" + data[i]); //$NON-NLS-1$ //$NON-NLS-2$
+                       System.out.println("column = " + i + "=" + columnNames[i]); //$NON-NLS-1$ //$NON-NLS-2$
                }
                int size = row.getColumnCount();
                filter = new Button[size];
@@ -83,10 +83,10 @@ public class SortFilterPage extends WizardPage implements SQLPage {
                        });
 
                        operator[i] = new Combo(container, SWT.SINGLE | SWT.READ_ONLY);
-                       operator[i].add("=");
-                       operator[i].add("<>");
-                       operator[i].add("<");
-                       operator[i].add(">");
+                       operator[i].add("="); //$NON-NLS-1$
+                       operator[i].add("<>"); //$NON-NLS-1$
+                       operator[i].add("<"); //$NON-NLS-1$
+                       operator[i].add(">"); //$NON-NLS-1$
                        operator[i].addSelectionListener(new SelectionListener() {
                                public void widgetDefaultSelected(SelectionEvent e) {
                                }
@@ -104,7 +104,7 @@ public class SortFilterPage extends WizardPage implements SQLPage {
                        });
                        
                        stringFlags[i] = new Button(container, SWT.CHECK);
-                       stringFlags[i].setText("String");
+                       stringFlags[i].setText("String"); //$NON-NLS-1$
                        stringFlags[i].addSelectionListener(new SelectionListener() {
                                public void widgetDefaultSelected(SelectionEvent e) {
                                }