Page 1 of 1

Customizing attribute value suggestion in the Editor

Posted: Wed Dec 20, 2017 1:36 pm
by ankitr
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

Re: Customizing attribute value suggestion in the Editor

Posted: Wed Dec 20, 2017 3:55 pm
by Radu
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