Customizing attribute value suggestion in the Editor

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
ankitr
Posts: 8

Customizing attribute value suggestion in the Editor

Wed Dec 20, 2017 1:36 pm

Hi,

Is it possible to customize attribute value suggestions visible in the Attributes panel?

While exploring the SDK documentation, I came across https://www.oxygenxml.com/doc/versions/19.1/ug-editorEclipse/topics/custom-attribute-value-editor.html which shows how a plugin extension can implement a custom dialog for editing attributes. While this would work, the ideal solution for us would be one that adds/removes values from the Attributes panel itself. Is this possible using the plugin SDK?

Regards,
Ankit
Radu
Posts: 5226

Re: Customizing attribute value suggestion in the Editor

Wed Dec 20, 2017 3:55 pm

Hi Ankit,

There is a special "Content Completion Configuration" XML file which can be set up for this:

https://www.oxygenxml.com/doc/versions/19.1/ug-editor/topics/configuring-content-completion-proposals.html

or as an alternative a Java extension API:

https://www.oxygenxml.com/doc/versions/18/ug-author/topics/dg-author-content-completion-handler.html

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Return to “Common Problems”

Who is online

Users browsing this forum: No registered users and 1 guest