Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Extending XML Schema Editor
Extending XML Schema Editor [message #163225] Wed, 08 March 2006 05:29 Go to next message
Eclipse UserFriend
Originally posted by: kchowdhary.gmail.com

HI,
I have kind of requirement where in we have to embed default XML schema
editor provided by WST in our cutom editor. To go further, our custom
editor is having couple of tabs and in one of the tab i have to show
schema editor. My question is, how we can extend the default XML schema
editor so that it can be displayed inside the tab?

looking forward for some clarification.

Thanks
Kunal
Re: Extending XML Schema Editor [message #163342 is a reply to message #163225] Wed, 08 March 2006 23:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kchowdhary.gmail.com

Guys, any clue on the post. I'm desperately looking for resposne.
Re: Extending XML Schema Editor [message #164278 is a reply to message #163342] Sat, 18 March 2006 02:51 Go to previous messageGo to next message
Eclipse UserFriend
This may be tough. If you want just the graphical editor you could create
your own single page editor that reused the graph view of the schema
editor. Then your editor would be a multipage editor that utilized the
single page graph view editor as a tab.

Sounds like a week's worth of work and you'd be forced to code to internal
classes that are certain to change in WTP 1.5.

I'd be interested to hear the issues you run into as you work thru this
exercise. I'm sure there's code we could restructure in the future that
would make this really easy. Unfortunately we never had this re-use case
in mind when we originally wrote our editor ... so it'll be quite a
challenge.

best of luck
Re: Extending XML Schema Editor [message #164973 is a reply to message #163225] Mon, 27 March 2006 00:32 Go to previous message
Eclipse UserFriend
On Wed, 08 Mar 2006 05:29:12 -0500, Kunal <kchowdhary@gmail.com> wrote:

> HI,
> I have kind of requirement where in we have to embed default XML schema
> editor provided by WST in our cutom editor. To go further, our custom
> editor is having couple of tabs and in one of the tab i have to show
> schema editor. My question is, how we can extend the default XML schema
> editor so that it can be displayed inside the tab?
>
> looking forward for some clarification.
>
> Thanks
> Kunal
>
>

So you mean the whole schema editor, include the graphical design page? Or just source page?
The latter is easier and not sure we'll support the other, at least any time soon. If the later,
you can just follow the examples in XMLSchema or XML 2 page editor ... at come point, they have a
createSoucePage() method .. you'd have to do something similar.
Previous Topic:JavaScript editor extension points
Next Topic:Webtools src code?
Goto Forum:
  


Current Time: Sun Jun 01 19:42:47 EDT 2025

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

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

Back to the top