Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Converting from EditorPart to ViewPart
Converting from EditorPart to ViewPart [message #224219] Thu, 12 October 2006 10:02 Go to next message
Eclipse UserFriend
Originally posted by: dstamkokeng.gmail.com

Hi,

Is there a way to convert the gef editor into a viewpart? Or is there a
way to embed the editor into a viewpart? Is there a more appropriate forum
to post this question? Thanks
Re: Converting from EditorPart to ViewPart [message #224484 is a reply to message #224219] Mon, 16 October 2006 15:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ingo.koch[nospam].sap.com

"Meo Kok Eng" <dstamkokeng@gmail.com> wrote in message
news:714dd77d6ec4f87ec44adbffb76792cf$1@www.eclipse.org...
> Hi,
>
> Is there a way to convert the gef editor into a viewpart?

Yes I have tried this before:

you must create a copy of graphical editor (and its subclasses) which
extends
ViewPart instead of EditorPart...

.... and workaround everything which is underlined red in your coding /
implement missing methods :-)

alternatively you could use plain draw2d.

regards
Ingo




Or is there a
> way to embed the editor into a viewpart? Is there a more appropriate forum
> to post this question? Thanks
>
Re: Converting from EditorPart to ViewPart [message #224522 is a reply to message #224484] Tue, 17 October 2006 02:26 Go to previous message
Eclipse UserFriend
Originally posted by: dstamkokeng.gmail.com

I see. Will give it a try :) Thanks!
Previous Topic:How to run gef plugin
Next Topic:Model-Editpart-View
Goto Forum:
  


Current Time: Thu Oct 28 18:29:37 GMT 2021

Powered by FUDForum. Page generated in 0.02113 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top