~berthold-daum/zora/trunk

« back to all changes in this revision

Viewing changes to com.bdaum.zoom.peer/src/com/bdaum/zoom/peer/internal/preferences/PeerPreferencePage.java

  • Committer: bdaum
  • Date: 2015-12-26 10:21:51 UTC
  • Revision ID: berthold.daum@bdaum.de-20151226102151-44f1j5113167thb9
VersionĀ 2.4.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
import org.eclipse.swt.widgets.Spinner;
67
67
import org.eclipse.swt.widgets.TableColumn;
68
68
import org.eclipse.swt.widgets.Text;
 
69
import org.eclipse.ui.IWorkbench;
69
70
 
70
71
import com.bdaum.zoom.core.Core;
71
72
import com.bdaum.zoom.core.QueryField;
99
100
        }
100
101
 
101
102
        @Override
 
103
        public void init(IWorkbench aWorkbench) {
 
104
                this.workbench = aWorkbench;
 
105
                setPreferenceStore(PeerActivator.getDefault().getPreferenceStore());
 
106
        }
 
107
 
 
108
        @Override
102
109
        protected String doValidate() {
103
110
                String errorMessage = null;
104
111
                Collection<PeerDefinition> incoming = (Collection<PeerDefinition>) incomingViewer
877
884
        }
878
885
 
879
886
        @Override
880
 
        public IPreferenceStore getPreferenceStore() {
881
 
                return PeerActivator.getDefault().getPreferenceStore();
882
 
        }
883
 
 
884
 
        @Override
885
887
        protected void doPerformOk() {
886
888
                IPreferenceStore preferenceStore = getPreferenceStore();
887
889
                StringBuilder sb = new StringBuilder();