comparison src/de/mpg/mpiwg/itgroup/digilib/plugin/editors/DigilibLinkEditorPart.java @ 21:643fa1daa70c

minor changes
author dwinter
date Wed, 05 Jan 2011 11:35:45 +0100
parents 2f47c136b8a6
children 7153018334a1
comparison
equal deleted inserted replaced
20:2f47c136b8a6 21:643fa1daa70c
48 * Displays an image with digilib an allows image manipulation on the image. 48 * Displays an image with digilib an allows image manipulation on the image.
49 * 49 *
50 * @author dwinter 50 * @author dwinter
51 * 51 *
52 */ 52 */
53 public class DigilibLinkEditorPart extends EditorPart implements IResourceChangeListener,Observer{ 53 public class DigilibLinkEditorPart extends EditorPart implements Observer{
54 54
55 private Composite mainComposite; 55 private Composite mainComposite;
56 private ScrolledComposite sc; 56 private ScrolledComposite sc;
57 //private ISelection selection; 57 //private ISelection selection;
58 //private List<ISelectionChangedListener> selectionChangeListener = new ArrayList<ISelectionChangedListener>(); 58 //private List<ISelectionChangedListener> selectionChangeListener = new ArrayList<ISelectionChangedListener>();
59 private Object propertySheetPage; 59 private Object propertySheetPage;
60 60
61 public void resourceChanged(IResourceChangeEvent event) { 61 /* (non-Javadoc)
62 // TODO Auto-generated method stub 62 * @see org.eclipse.core.resources.IResourceChangeListener#resourceChanged(org.eclipse.core.resources.IResourceChangeEvent)
63 63 */
64 } 64 //public void resourceChanged(IResourceChangeEvent event) {
65 // TODO Auto-generated method stub
66
67 //}
65 68
66 @Override 69 @Override
67 public void doSave(IProgressMonitor monitor) { 70 public void doSave(IProgressMonitor monitor) {
68 // TODO Auto-generated method stub 71 // TODO Auto-generated method stub
69 72
196 } 199 }
197 200
198 201
199 } 202 }
200 203
201 // public void addSelectionChangedListener(ISelectionChangedListener listener) {
202 // selectionChangeListener.add(listener);
203 //
204 // }
205 //
206 // public ISelection getSelection() {
207 // // TODO Auto-generated method stub
208 // return selection;
209 // }
210 //
211 // public void removeSelectionChangedListener(
212 // ISelectionChangedListener listener) {
213 // selectionChangeListener.remove(listener);
214 //
215 // }
216 //
217 // public void setSelection(ISelection selection) {
218 // this.selection=selection;
219 // for (ISelectionChangedListener sl: selectionChangeListener){
220 //
221 // SelectionChangedEvent event = new SelectionChangedEvent(this, selection);
222 // sl.selectionChanged(event);
223 // }
224 //
225 // }
226
227 204
228 205
229 } 206 }