Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How to make a multipageGraphical editor ?
How to make a multipageGraphical editor ? [message #232629] Wed, 04 April 2007 01:43 Go to next message
Eclipse UserFriend
Originally posted by: sundaolin.126.com

Hi everyone :
I need a GraphicalEditor that has nultipages,just like VE.One page is a
GraphicalEditor and one page is an Editor that is a text Editor (maybe an
Editor with tablelist).
How can I do it?
Thanks.
Re: How to make a multipageGraphical editor ? [message #232646 is a reply to message #232629] Wed, 04 April 2007 09:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tom.seidel.spiritlink.de

This is a multi-part message in MIME format.
--------------000601000903010702050007
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Dollyn schrieb:
> Hi everyone :
> I need a GraphicalEditor that has nultipages,just like VE.One page is a
> GraphicalEditor and one page is an Editor that is a text Editor (maybe an
> Editor with tablelist).
> How can I do it?
> Thanks.
>
>
Built your GraphicalEditor and your MultiPageEditorPart.

Then use
MultiPageEditorPart#addPage(IEditorPart editor, IEditorInput input)

I've attached the result as screenshot.

--
Cheerz,
Tom

--------------000601000903010702050007
Content-Type: image/gif;
name="multipage.gif"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="multipage.gif"

R0lGODdhBgGzAHcAACwAAAAABgGzAIcAAACAAAAAgACAgAAAAICAAIAAgIDA wMDA3MCmyvAA
AAAmLCY5OTkAM2YdWh0JfAkkRiMrYiMmcCZGfzRJSUlubm5xb2R4eHgENZkI N5oOOZoTLIsS
PJoDNKkBOK8VNaQWOaYlM5kkP5kyPIwiPKYpPqchP7EYRLIcU68bV7QsRps5 RJ4jQ6osT6Mn
VKwuUKMuUqknXbMoW7ExS6s2XK0yUbE9VbglYLgvYrU+Y68wYLYZfdkxasVV V5VES6FCXr9Z
VqZDbrlDcrtKdb1VZ7JmaKhxaKxidsNsfcoCiAICkgIXnAsWlBYSkBkalhsc mBcciicegTMU
oQsTpBYojhcll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/Rar+YzPvaar/q6r/xar+ynrgAbsAI7sAQ7sAIREAA7
--------------000601000903010702050007--
Re: How to make a multipageGraphical editor ? [message #232687 is a reply to message #232646] Thu, 05 April 2007 01:40 Go to previous message
Eclipse UserFriend
Originally posted by: sundaolin.126.com

Thanks,but how to how can I make a multipage editor just like what eclipse's
plugin.xml used? That is a multipage editor that edits more than one file.
Which Input can I use?
"Tom Seidel" <tom.seidel@spiritlink.de>
??????:euvper$udf$1@build.eclipse.org...
> Dollyn schrieb:
>> Hi everyone :
>> I need a GraphicalEditor that has nultipages,just like VE.One page is
>> a
>> GraphicalEditor and one page is an Editor that is a text Editor (maybe an
>> Editor with tablelist).
>> How can I do it?
>> Thanks.
>>
>>
> Built your GraphicalEditor and your MultiPageEditorPart.
>
> Then use
> MultiPageEditorPart#addPage(IEditorPart editor, IEditorInput input)
>
> I've attached the result as screenshot.
>
> --
> Cheerz,
> Tom
>
Previous Topic:Editor Size
Next Topic:Canvas : save to jpg
Goto Forum:
  


Current Time: Tue Dec 12 14:19:38 GMT 2017

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

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