[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Subclipse-dev] History as revision graph

From: Eugene Kuleshov <eu_at_md.pp.ru>
Date: Wed, 02 Jul 2008 11:51:04 -0400

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

This is an archived mail posted to the Subclipse Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.