Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Add propertysheet contributions to existing html editor
Add propertysheet contributions to existing html editor [message #538523] Mon, 07 June 2010 20:21 Go to next message
Eclipse UserFriend
Originally posted by: adataylo.cisco.com

I've used this:

<extension point="org.eclipse.wst.sse.ui.editorConfiguration">
<provisionalConfiguration
type="contentassistprocessor" .../>

to get some content assist options into the existing .html, and .jsp
editors (i.e. it's not a new editor based upon html).

However, it appears that only the 1st propertySheetConfiguration
extension found is used (comment from method
ExtendedConfigurationBuilder.getConfiguration):

/**
* Returns a configuration for the given extensionType matching the
* targetID, if one is available. If more than one configuration is
* defined, the first one found is returned.
*
* @param extensionType
* @param targetID
* @return a configuration object, if one was defined
*/

My question is how do I get new propertysheet contributions into the
editor without clobbering other contributions?

Thanks,
Adam
Re: Add propertysheet contributions to existing html editor [message #539219 is a reply to message #538523] Thu, 10 June 2010 03:32 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4434
Registered: July 2009
Senior Member

You can't, you'll have to declare your own extension to org.eclipse.ui.editors and specify that as your target ID.

As a side note, the contentassistprocessor provisional configuration is deprecated in favor of supplying a proposal computer in Helios (https://bugs.eclipse.org/258999).


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Add propertysheet contributions to existing html editor [message #539454 is a reply to message #539219] Thu, 10 June 2010 18:44 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: adataylo.cisco.com

On 6/9/2010 8:32 PM, Nitin Dahyabhai wrote:
> You can't, you'll have to declare your own extension to
> org.eclipse.ui.editors and specify that as your target ID.
>
> As a side note, the contentassistprocessor provisional configuration is
> deprecated in favor of supplying a proposal computer in Helios
> (https://bugs.eclipse.org/258999).

If I wanted to go to the trouble of creating a new extension to sse
which allows this functionality and contribute this back, is there any
reason to suspect that this would be rejected? For example does the
idea of what I suggest go against the fundamental goals of this project?
Re: Add propertysheet contributions to existing html editor [message #539455 is a reply to message #539219] Thu, 10 June 2010 18:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: adataylo.cisco.com

On 6/9/2010 8:32 PM, Nitin Dahyabhai wrote:
> You can't, you'll have to declare your own extension to
> org.eclipse.ui.editors and specify that as your target ID.
>
> As a side note, the contentassistprocessor provisional configuration is
> deprecated in favor of supplying a proposal computer in Helios
> (https://bugs.eclipse.org/258999).

If I wanted to go to the trouble of creating a new extension to sse
which allows this functionality and contribute this back, is there any
reason to suspect that this would be rejected? For example does the
idea of what I suggest go against the fundamental goals of this project?
Re: Add propertysheet contributions to existing html editor [message #539684 is a reply to message #539454] Fri, 11 June 2010 20:25 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4434
Registered: July 2009
Senior Member

On 6/10/2010 2:44 PM, adam taylor wrote:
> On 6/9/2010 8:32 PM, Nitin Dahyabhai wrote:
>> You can't, you'll have to declare your own extension to
>> org.eclipse.ui.editors and specify that as your target ID.
>>
>> As a side note, the contentassistprocessor provisional configuration is
>> deprecated in favor of supplying a proposal computer in Helios
>> (https://bugs.eclipse.org/258999).
>
> If I wanted to go to the trouble of creating a new extension to sse
> which allows this functionality and contribute this back, is there any
> reason to suspect that this would be rejected? For example does the idea
> of what I suggest go against the fundamental goals of this project?


I think I'd have to understand what you're proposing, but if it has
anything to do with adding a "priority" field to the editorConfiguration
extension point, I'd reject it as the list of target IDs searched
already forms a prioritized list. But like I said, I'd need some
clarification on what's being proposed.

--
Nitin Dahyabhai
Eclipse WTP Source Editing and JSDT
IBM Rational


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:web-fragment.xml causes nested jar on deployment
Next Topic:Unable to copy saaj.jar
Goto Forum:
  


Current Time: Sat Apr 20 02:45:54 GMT 2024

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

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

Back to the top