Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » API to add to Snippets view
API to add to Snippets view [message #179864] Mon, 25 September 2006 16:25 Go to next message
Eclipse UserFriend
Originally posted by: ksawicki.us.ibm.com

I wanted to know if there is an API to contribute to the Snippets view
dynamicall. Basically I want to allow a user to select some information
from a view and then choose to add that information to the Snippets view
under a certain category.
Re: API to add to Snippets view [message #180015 is a reply to message #179864] Tue, 26 September 2006 20:36 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

Kevin Sawicki wrote:
> I wanted to know if there is an API to contribute to the Snippets view
> dynamicall. Basically I want to allow a user to select some information
> from a view and then choose to add that information to the Snippets view
> under a certain category.

There's no current public API for doing so. You may be able to
contribute the
org.eclipse.wst.common.snippets.internal.actions.AddToSnippe tsEditorActionDelegate
to your view and use it as long as your view provides an ITextSelection.

--
- Nitin


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:Added value of Web Module
Next Topic:Adding plugin provided JSP template
Goto Forum:
  


Current Time: Thu Apr 18 06:19:44 GMT 2024

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

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

Back to the top