Alberto Gimeno wrote:
> I don't have very much knowledge on Eclipse Workbench APIs, but I see
> that EditorPart (the base class for an editor) has methods that don't
> make sense for the revision graph. Examples: doSave(), doSaveAs(),
> isDirty(),...
>
So what? The graph editor will be read only and don't need to
implement those methods. There is isSaveOnCloseNeeded() that can return
false to indicate that editor is not writable.
> To change the implementation from the view to an editor I just need to
> change "extends ViewPart" to "extends EditorPart" and left those
> methods empty.
>
Pretty much.
regards,
Eugene
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subclipse.tigris.org
For additional commands, e-mail: dev-help_at_subclipse.tigris.org
Received on 2008-07-02 17:51:40 CEST