Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Voicetools » Extending the VTP, adding custom VXML tags
Extending the VTP, adding custom VXML tags [message #14331] Mon, 21 August 2006 22:01 Go to next message
Stan Rivera is currently offline Stan RiveraFriend
Messages: 36
Registered: July 2009
Member
I am new to eclipse and delving into the plug-in development. I am hoping
to be able to add "custom" VXML tags. This would affect the design and
source tabs of the editor as well as the outline view. For example,
currently, if you are editing VXML under the design tab, you can
right-click and see all the valid tags (children) that can be added to the
current tag. Once a tag is selected, for example, "form", the source view
then shows "<form></form>" and the same for other tags. I am wanting to
add a custom tag, for example, "<newobject>", as opposed to the existing
"<object>", which would only give me "<object></object> in the source tab
of the editor. So first, I would have to show (add) this new tag in the
existing list in the design tab of the editor. But, once selected, I
would want to show something like:
<newobject src="someclass">
<param ...>
<param ...>
<possiblytags ...>
<etc ...>
</newobject>

My problem is, I'm not even sure where to start. I have been reading the
PDE documentation and Platform PDE documentation and realize I may either
do a Fragment or some type of extension. However, I am having a very
difficult time trying to find the extension point or how to update the
existing class to be able to handle my custom object tags. Any clues
would be appreciated, hope this makes sense.

Thanks,
Stan Rivera
Re: Extending the VTP, adding custom VXML tags [message #15754 is a reply to message #14331] Tue, 22 August 2006 15:20 Go to previous messageGo to next message
Stan Rivera is currently offline Stan RiveraFriend
Messages: 36
Registered: July 2009
Member
Also, I meant to ask if anyone has any good sources on all that is
necessary to brand Eclipse?
Update: Extending the VTP, adding custom VXML tags [message #15760 is a reply to message #15754] Wed, 23 August 2006 17:24 Go to previous messageGo to next message
Stan Rivera is currently offline Stan RiveraFriend
Messages: 36
Registered: July 2009
Member
Ok, I found a great book on how to do the branding, so no help needed
there. Also, my apologies, I didn't see the link with "Developer setup
guide - Get the VTP source and begin making changes" near the bottom of
the home page (http://www.eclipse.org/vtp/). However, I am still in need
of some help on how add the custom objects I referenced on this intiial
article.

Thanks,
Stan
Re: Extending the VTP, adding custom VXML tags [message #15775 is a reply to message #14331] Wed, 23 August 2006 17:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bdmetz.us.ibm.com.spam

Hi Stan,

The VTP allows you to specify a custom DTD, so you may want to just design a
new DTD and install it in the Eclipse XML DTD Catalog using the
Window->Preferences->Web and XML->XML Catalog page. Once it's added there,
you can make it the default for VoiceXML by going to
Window->Preferences->Voice->Catalog Defaults, clicking 'Change Default' on
the VoiceXML section and selecting your new DTD.

"Stan Rivera" <stan.rivera@verizonbusiness.com> wrote in message
news:34804f22f967315ab8b9350e56e7c5b9$1@www.eclipse.org...
>I am new to eclipse and delving into the plug-in development. I am hoping
>to be able to add "custom" VXML tags. This would affect the design and
>source tabs of the editor as well as the outline view. For example,
>currently, if you are editing VXML under the design tab, you can
>right-click and see all the valid tags (children) that can be added to the
>current tag. Once a tag is selected, for example, "form", the source view
>then shows "<form></form>" and the same for other tags. I am wanting to
>add a custom tag, for example, "<newobject>", as opposed to the existing
>"<object>", which would only give me "<object></object> in the source tab
>of the editor. So first, I would have to show (add) this new tag in the
>existing list in the design tab of the editor. But, once selected, I would
>want to show something like:
> <newobject src="someclass">
> <param ...>
> <param ...>
> <possiblytags ...>
> <etc ...>
> </newobject>
>
> My problem is, I'm not even sure where to start. I have been reading the
> PDE documentation and Platform PDE documentation and realize I may either
> do a Fragment or some type of extension. However, I am having a very
> difficult time trying to find the extension point or how to update the
> existing class to be able to handle my custom object tags. Any clues
> would be appreciated, hope this makes sense.
>
> Thanks,
> Stan Rivera
>
Re: Extending the VTP, adding custom VXML tags [message #15792 is a reply to message #15775] Wed, 23 August 2006 22:08 Go to previous message
Stan Rivera is currently offline Stan RiveraFriend
Messages: 36
Registered: July 2009
Member
Brent,

So, are you saying I can customize a new tag to do the following (assume I
would call the tag something other than <object>, maybe <customobject> for
example)?

<object name="compositeobjext"
classid=" builtin://object/com.mci.ngsn/composite_object?library_name= vxml_tnt_composite&amp;composite
name=vxml basic tnt">
<param name="DDD" expr="7195355555"/>
<param name="BreakCode" expr="*8"/>
</object>

If so, in answer to your question, “does this help?”, then yes, this does
help me. If this can’t be done, then it looks like I may have to modify
the XML editor code (which does seem a little overwhelming I must say).
By the way, just so I know, what kind of learning curve you talking to
make these kinds of changes to the XML editor, 1, 2, 3 months, or more?
Just need to know so I can address my management about the learning curve.

By the way, I am considering using (the newly released) openVXML for this,
too, which would again involve custom objects. What is your
recommendation on this? I saw an email come to me regarding some guy
asking about documentation on creating custom objects (vtp-dev Digest, Vol
15, Issue 12). Where do I get the attachments that I think were sent to
this guy, as they weren’t in my email, as they may have been stripped by
our email server? There was also some supposed to be some attachment for
some patch fix for openVXML (vtp-dev Digest, Vol 15, Issue 13). Well,
sorry if I’m out of bounds here, just new to this awesome system you all
have set up and feel a little green behind the ears here.

Thank again for your time!

Stan
Re: Extending the VTP, adding custom VXML tags [message #575146 is a reply to message #14331] Tue, 22 August 2006 15:20 Go to previous message
Stan Rivera is currently offline Stan RiveraFriend
Messages: 36
Registered: July 2009
Member
Also, I meant to ask if anyone has any good sources on all that is
necessary to brand Eclipse?
Update: Extending the VTP, adding custom VXML tags [message #575156 is a reply to message #15754] Wed, 23 August 2006 17:24 Go to previous message
Stan Rivera is currently offline Stan RiveraFriend
Messages: 36
Registered: July 2009
Member
Ok, I found a great book on how to do the branding, so no help needed
there. Also, my apologies, I didn't see the link with "Developer setup
guide - Get the VTP source and begin making changes" near the bottom of
the home page (http://www.eclipse.org/vtp/). However, I am still in need
of some help on how add the custom objects I referenced on this intiial
article.

Thanks,
Stan
Re: Extending the VTP, adding custom VXML tags [message #575212 is a reply to message #14331] Wed, 23 August 2006 17:52 Go to previous message
Eclipse UserFriend
Originally posted by: bdmetz.us.ibm.com.spam

Hi Stan,

The VTP allows you to specify a custom DTD, so you may want to just design a
new DTD and install it in the Eclipse XML DTD Catalog using the
Window->Preferences->Web and XML->XML Catalog page. Once it's added there,
you can make it the default for VoiceXML by going to
Window->Preferences->Voice->Catalog Defaults, clicking 'Change Default' on
the VoiceXML section and selecting your new DTD.

"Stan Rivera" <stan.rivera@verizonbusiness.com> wrote in message
news:34804f22f967315ab8b9350e56e7c5b9$1@www.eclipse.org...
>I am new to eclipse and delving into the plug-in development. I am hoping
>to be able to add "custom" VXML tags. This would affect the design and
>source tabs of the editor as well as the outline view. For example,
>currently, if you are editing VXML under the design tab, you can
>right-click and see all the valid tags (children) that can be added to the
>current tag. Once a tag is selected, for example, "form", the source view
>then shows "<form></form>" and the same for other tags. I am wanting to
>add a custom tag, for example, "<newobject>", as opposed to the existing
>"<object>", which would only give me "<object></object> in the source tab
>of the editor. So first, I would have to show (add) this new tag in the
>existing list in the design tab of the editor. But, once selected, I would
>want to show something like:
> <newobject src="someclass">
> <param ...>
> <param ...>
> <possiblytags ...>
> <etc ...>
> </newobject>
>
> My problem is, I'm not even sure where to start. I have been reading the
> PDE documentation and Platform PDE documentation and realize I may either
> do a Fragment or some type of extension. However, I am having a very
> difficult time trying to find the extension point or how to update the
> existing class to be able to handle my custom object tags. Any clues
> would be appreciated, hope this makes sense.
>
> Thanks,
> Stan Rivera
>
Re: Extending the VTP, adding custom VXML tags [message #575245 is a reply to message #15775] Wed, 23 August 2006 22:08 Go to previous message
Stan Rivera is currently offline Stan RiveraFriend
Messages: 36
Registered: July 2009
Member
Brent,

So, are you saying I can customize a new tag to do the following (assume I
would call the tag something other than <object>, maybe <customobject> for
example)?

<object name="compositeobjext"
classid=" builtin://object/com.mci.ngsn/composite_object?library_name= vxml_tnt_composite&amp;composite
name=vxml basic tnt">
<param name="DDD" expr="7195355555"/>
<param name="BreakCode" expr="*8"/>
</object>

If so, in answer to your question, “does this help?”, then yes, this does
help me. If this can’t be done, then it looks like I may have to modify
the XML editor code (which does seem a little overwhelming I must say).
By the way, just so I know, what kind of learning curve you talking to
make these kinds of changes to the XML editor, 1, 2, 3 months, or more?
Just need to know so I can address my management about the learning curve.

By the way, I am considering using (the newly released) openVXML for this,
too, which would again involve custom objects. What is your
recommendation on this? I saw an email come to me regarding some guy
asking about documentation on creating custom objects (vtp-dev Digest, Vol
15, Issue 12). Where do I get the attachments that I think were sent to
this guy, as they weren’t in my email, as they may have been stripped by
our email server? There was also some supposed to be some attachment for
some patch fix for openVXML (vtp-dev Digest, Vol 15, Issue 13). Well,
sorry if I’m out of bounds here, just new to this awesome system you all
have set up and feel a little green behind the ears here.

Thank again for your time!

Stan
Previous Topic:Error message "Dialing did not connect after 60 seconds"
Next Topic:Call to deployed openVXML app failing
Goto Forum:
  


Current Time: Fri Mar 29 07:02:49 GMT 2024

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

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

Back to the top