2 | | Each of the MS plugins have a multi-page viewer that extends from CancelableMultiPageEditor (core plugin). For this specific plugin the class is MassSpecMultiPageViewer. One of the major changes for this editor and all the pages (tabs) of the editor is the removal of the reference to ViewInput (core plugin - uses IEditorInput). |
| 2 | Each of the MS plugins have a multi-page viewer that extends from CancelableMultiPageEditor (core plugin). For this specific plugin the class is MassSpecMultiPageViewer. One of the major changes for this editor and all the pages (tabs) of the editor is the removal of the reference to ViewInput (core plugin - uses IEditorInput). All pages to be added to a multi-page editor now implement an interface IEntryEditorPart which will give them access to the Entry. |
| 3 | |
| 4 | {{{ |
| 5 | public interface IEntryEditorPart { |
| 6 | Entry getEntry(); |
| 7 | void setEntry (Entry entry); |
| 8 | |
| 9 | void createPartControl(Composite parent); |
| 10 | |
| 11 | void setDirty(boolean b); |
| 12 | boolean isDirty(); |
| 13 | } |
| 14 | }}} |