Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Displaying multiple resources in editor area
Displaying multiple resources in editor area [message #178701] Thu, 21 April 2005 15:21 Go to next message
Eclipse UserFriend
Originally posted by: sbelgaon.progress.com

All,

I would like to display different resources in 2 section of an editor (as
opposed to the conventional tab approach for all resources - each resource
in a tab of editor) . In the top section I would like to display resources
that use graphical editor. In the botton section I would like to display
text resource editors.

If there are multiple resources that need graphical editor then I want
them to be tabbed but in the top section. Similarly if there are multiple
resources that need text editor then I want them to be tabbed but in the
bottom section.

e.g. I have seen similar examples for modeling tools where the graphical
model is displayed at the top (resource e.g - a XMI resource) and the
botton section displays the generated source from the model (resource e.g.
- .java files etc..)

Any help on how to do this is appreciated.

Regards,

Sunil.
Re: Displaying multiple resources in editor area [message #178759 is a reply to message #178701] Thu, 21 April 2005 20:56 Go to previous messageGo to next message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
All Eclipse users can already do this manually. You can split the editor
area by dragging the editors.

If you want two different views of the same file visible at the same time
(kinda like a split view), look at how VEP does that.
http://www.eclipse.org/vep

"Sunil Belgaonkar" <sbelgaon@progress.com> wrote in message
news:1114fe2fe21235bec0b6d11b9686f0ad$1@www.eclipse.org...
> All,
>
> I would like to display different resources in 2 section of an editor (as
> opposed to the conventional tab approach for all resources - each resource
> in a tab of editor) . In the top section I would like to display resources
> that use graphical editor. In the botton section I would like to display
> text resource editors.
>
> If there are multiple resources that need graphical editor then I want
> them to be tabbed but in the top section. Similarly if there are multiple
> resources that need text editor then I want them to be tabbed but in the
> bottom section.
>
> e.g. I have seen similar examples for modeling tools where the graphical
> model is displayed at the top (resource e.g - a XMI resource) and the
> botton section displays the generated source from the model (resource e.g.
> - .java files etc..)
>
> Any help on how to do this is appreciated.
>
> Regards,
>
> Sunil.
>
Re: Displaying multiple resources in editor area [message #178861 is a reply to message #178701] Fri, 22 April 2005 20:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Reusing the Java editor is going to be very difficult. See bug 46207.

"Sunil Belgaonkar" <sbelgaon@progress.com> wrote in message
news:1114fe2fe21235bec0b6d11b9686f0ad$1@www.eclipse.org...
> All,
>
> I would like to display different resources in 2 section of an editor (as
> opposed to the conventional tab approach for all resources - each resource
> in a tab of editor) . In the top section I would like to display resources
> that use graphical editor. In the botton section I would like to display
> text resource editors.
>
> If there are multiple resources that need graphical editor then I want
> them to be tabbed but in the top section. Similarly if there are multiple
> resources that need text editor then I want them to be tabbed but in the
> bottom section.
> e.g. I have seen similar examples for modeling tools where the graphical
> model is displayed at the top (resource e.g - a XMI resource) and the
> botton section displays the generated source from the model (resource
> e.g. - .java files etc..)
>
> Any help on how to do this is appreciated.
> Regards,
>
> Sunil.
>
Re: Displaying multiple resources in editor area [message #180154 is a reply to message #178759] Tue, 03 May 2005 19:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sbelgaon.progress.com

Pratik Shah wrote:

> All Eclipse users can already do this manually. You can split the editor
> area by dragging the editors.

Can this be done using an API?

> If you want two different views of the same file visible at the same time
> (kinda like a split view), look at how VEP does that.
> http://www.eclipse.org/vep

I am looking to do option 1 above.

> "Sunil Belgaonkar" <sbelgaon@progress.com> wrote in message
> news:1114fe2fe21235bec0b6d11b9686f0ad$1@www.eclipse.org...
>> All,
>>
>> I would like to display different resources in 2 section of an editor (as
>> opposed to the conventional tab approach for all resources - each resource
>> in a tab of editor) . In the top section I would like to display resources
>> that use graphical editor. In the botton section I would like to display
>> text resource editors.
>>
>> If there are multiple resources that need graphical editor then I want
>> them to be tabbed but in the top section. Similarly if there are multiple
>> resources that need text editor then I want them to be tabbed but in the
>> bottom section.
>>
>> e.g. I have seen similar examples for modeling tools where the graphical
>> model is displayed at the top (resource e.g - a XMI resource) and the
>> botton section displays the generated source from the model (resource e.g.
>> - .java files etc..)
>>
>> Any help on how to do this is appreciated.
>>
>> Regards,
>>
>> Sunil.
>>
Re: Displaying multiple resources in editor area [message #180205 is a reply to message #180154] Tue, 03 May 2005 20:02 Go to previous message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
"Sunil Belgaonkar" <sbelgaon@progress.com> wrote in message
news:9cbd3b33f1c16dedd6ef5d915f2d9131$1@www.eclipse.org...
> Pratik Shah wrote:
>
> > All Eclipse users can already do this manually. You can split the
editor
> > area by dragging the editors.
>
> Can this be done using an API?

Probably. This does not fall in the GEF domain. Ask on the platform
newsgroup.

>
> > If you want two different views of the same file visible at the same
time
> > (kinda like a split view), look at how VEP does that.
> > http://www.eclipse.org/vep
>
> I am looking to do option 1 above.
>
> > "Sunil Belgaonkar" <sbelgaon@progress.com> wrote in message
> > news:1114fe2fe21235bec0b6d11b9686f0ad$1@www.eclipse.org...
> >> All,
> >>
> >> I would like to display different resources in 2 section of an editor
(as
> >> opposed to the conventional tab approach for all resources - each
resource
> >> in a tab of editor) . In the top section I would like to display
resources
> >> that use graphical editor. In the botton section I would like to
display
> >> text resource editors.
> >>
> >> If there are multiple resources that need graphical editor then I want
> >> them to be tabbed but in the top section. Similarly if there are
multiple
> >> resources that need text editor then I want them to be tabbed but in
the
> >> bottom section.
> >>
> >> e.g. I have seen similar examples for modeling tools where the
graphical
> >> model is displayed at the top (resource e.g - a XMI resource) and the
> >> botton section displays the generated source from the model (resource
e.g.
> >> - .java files etc..)
> >>
> >> Any help on how to do this is appreciated.
> >>
> >> Regards,
> >>
> >> Sunil.
> >>
>
>
Previous Topic:Glasspane
Next Topic:HELP: java.lang.IllegalStateException: Workspace is closed.
Goto Forum:
  


Current Time: Wed Apr 24 22:44:06 GMT 2024

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

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

Back to the top