Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » API to add to Snippets view
API to add to Snippets view [message #179864] Mon, 25 September 2006 12:25 Go to next message
Eclipse User
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 16:36 Go to previous message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2253
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 WTP, IBM
Previous Topic:Added value of Web Module
Next Topic:Adding plugin provided JSP template
Goto Forum:
  


Current Time: Mon Sep 01 03:50:33 EDT 2014

Powered by FUDForum. Page generated in 0.01583 seconds