Refactory: remove unused classes, imports, fields and methods.
[phpeclipse.git] / net.sourceforge.phpeclipse.ui / src / net / sourceforge / phpdt / internal / ui / preferences / CodeAssistConfigurationBlock.java
index 4917d8f..ecdf64d 100644 (file)
@@ -395,28 +395,28 @@ class CodeAssistConfigurationBlock implements IPreferenceConfigurationBlock {
                return contentAssistComposite;
        }
 
-       private void createDependency(final Button master, String masterKey,
-                       final Control slave) {
-               indent(slave);
-               boolean masterState = fStore.getBoolean(masterKey);
-               slave.setEnabled(masterState);
-               SelectionListener listener = new SelectionListener() {
-                       public void widgetSelected(SelectionEvent e) {
-                               slave.setEnabled(master.getSelection());
-                       }
-
-                       public void widgetDefaultSelected(SelectionEvent e) {
-                       }
-               };
-               master.addSelectionListener(listener);
-               fMasterSlaveListeners.add(listener);
-       }
-
-       private static void indent(Control control) {
-               GridData gridData = new GridData();
-               gridData.horizontalIndent = 20;
-               control.setLayoutData(gridData);
-       }
+//     private void createDependency(final Button master, String masterKey,
+//                     final Control slave) {
+//             indent(slave);
+//             boolean masterState = fStore.getBoolean(masterKey);
+//             slave.setEnabled(masterState);
+//             SelectionListener listener = new SelectionListener() {
+//                     public void widgetSelected(SelectionEvent e) {
+//                             slave.setEnabled(master.getSelection());
+//                     }
+//
+//                     public void widgetDefaultSelected(SelectionEvent e) {
+//                     }
+//             };
+//             master.addSelectionListener(listener);
+//             fMasterSlaveListeners.add(listener);
+//     }
+
+//     private static void indent(Control control) {
+//             GridData gridData = new GridData();
+//             gridData.horizontalIndent = 20;
+//             control.setLayoutData(gridData);
+//     }
 
        private static Text getTextControl(Control[] labelledTextField) {
                return (Text) labelledTextField[1];
@@ -475,40 +475,40 @@ class CodeAssistConfigurationBlock implements IPreferenceConfigurationBlock {
                return new Control[] { labelControl, textControl };
        }
 
-       private void addCompletionRadioButtons(Composite contentAssistComposite) {
-               Composite completionComposite = new Composite(contentAssistComposite,
-                               SWT.NONE);
-               GridData ccgd = new GridData();
-               ccgd.horizontalSpan = 2;
-               completionComposite.setLayoutData(ccgd);
-               GridLayout ccgl = new GridLayout();
-               ccgl.marginWidth = 0;
-               ccgl.numColumns = 2;
-               completionComposite.setLayout(ccgl);
-
-               // SelectionListener completionSelectionListener= new SelectionAdapter()
-               // {
-               // public void widgetSelected(SelectionEvent e) {
-               // boolean insert= fCompletionInsertsRadioButton.getSelection();
-               // fStore.setValue(PreferenceConstants.CODEASSIST_INSERT_COMPLETION,
-               // insert);
-               // }
-               // };
-               //              
-               // fCompletionInsertsRadioButton= new Button(completionComposite,
-               // SWT.RADIO | SWT.LEFT);
-               // fCompletionInsertsRadioButton.setText(PreferencesMessages.getString("JavaEditorPreferencePage.completionInserts"));
-               // //$NON-NLS-1$
-               // fCompletionInsertsRadioButton.setLayoutData(new GridData());
-               // fCompletionInsertsRadioButton.addSelectionListener(completionSelectionListener);
-               //              
-               // fCompletionOverwritesRadioButton= new Button(completionComposite,
-               // SWT.RADIO | SWT.LEFT);
-               // fCompletionOverwritesRadioButton.setText(PreferencesMessages.getString("JavaEditorPreferencePage.completionOverwrites"));
-               // //$NON-NLS-1$
-               // fCompletionOverwritesRadioButton.setLayoutData(new GridData());
-               // fCompletionOverwritesRadioButton.addSelectionListener(completionSelectionListener);
-       }
+//     private void addCompletionRadioButtons(Composite contentAssistComposite) {
+//             Composite completionComposite = new Composite(contentAssistComposite,
+//                             SWT.NONE);
+//             GridData ccgd = new GridData();
+//             ccgd.horizontalSpan = 2;
+//             completionComposite.setLayoutData(ccgd);
+//             GridLayout ccgl = new GridLayout();
+//             ccgl.marginWidth = 0;
+//             ccgl.numColumns = 2;
+//             completionComposite.setLayout(ccgl);
+//
+//             // SelectionListener completionSelectionListener= new SelectionAdapter()
+//             // {
+//             // public void widgetSelected(SelectionEvent e) {
+//             // boolean insert= fCompletionInsertsRadioButton.getSelection();
+//             // fStore.setValue(PreferenceConstants.CODEASSIST_INSERT_COMPLETION,
+//             // insert);
+//             // }
+//             // };
+//             //              
+//             // fCompletionInsertsRadioButton= new Button(completionComposite,
+//             // SWT.RADIO | SWT.LEFT);
+//             // fCompletionInsertsRadioButton.setText(PreferencesMessages.getString("JavaEditorPreferencePage.completionInserts"));
+//             // //$NON-NLS-1$
+//             // fCompletionInsertsRadioButton.setLayoutData(new GridData());
+//             // fCompletionInsertsRadioButton.addSelectionListener(completionSelectionListener);
+//             //              
+//             // fCompletionOverwritesRadioButton= new Button(completionComposite,
+//             // SWT.RADIO | SWT.LEFT);
+//             // fCompletionOverwritesRadioButton.setText(PreferencesMessages.getString("JavaEditorPreferencePage.completionOverwrites"));
+//             // //$NON-NLS-1$
+//             // fCompletionOverwritesRadioButton.setLayoutData(new GridData());
+//             // fCompletionOverwritesRadioButton.addSelectionListener(completionSelectionListener);
+//     }
 
        public void initialize() {
                initializeFields();