Question about CustomComponentsValidator

Hi all In my integration with oXygen 14 I use a custom Components Validator to hide some menu items from the user. I noticed that in oXygen 15.1 these buttons are not getting hidden anymore. I checked my code and the constructor of my class was not getting called anymore when using oXygen 15.1 My plugin.xml contains following entry (works for 14.2, not for 15.1): <extension type="componentsValidator" class="com.sdl.trisoft.oxygen.CustomComponentsValidatorPluginExtension"/> Was there a change regarding the ComponentsValidator in oXygen 15.1? Kind regards Jan Bevers | Developer | SDL | Content Management Technologies Division | +32 (0)15 400 970 | jbevers@sdl.com [image001] </pre><font face="arial" size="2" color="#736F6E"> <a href="http://www.sdl.com/?utm_source=Email&utm_medium=Email%2BSignature&utm_campaign=SDL%2BStandard%2BEmail%2BSignature"> <img src="http://www.sdl.com/Content/themes/common/images/SDL_logo_strapline_GCEM_Emai..." border=0><br><br>www.sdl.com </a><br><br> <font face="arial" size="1" color="#736F6E"> <b>SDL PLC confidential, all rights reserved.</b> If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us.<BR> SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207.<BR> Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. </font> This message has been scanned for malware by Websense. www.websense.com

Hi Jan, Thanks for the report, you are right. We'll fix the issue in 15.2. In the meantime your workspace access plugin extension implementation has access to the main JMenuBar and receives callbacks for each added toolbar so it could potentially be also used to filter stuff from the main menu and toolbars. Regards, Radu Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 1/14/2014 5:22 PM, Jan Bevers wrote:
Hi all
In my integration with oXygen 14 I use a custom Components Validator to hide some menu items from the user.
I noticed that in oXygen 15.1 these buttons are not getting hidden anymore. I checked my code and the constructor of my class was not getting called anymore when using oXygen 15.1
My plugin.xml contains following entry (works for 14.2, not for 15.1):
<extension type="componentsValidator" class="com.sdl.trisoft.oxygen.CustomComponentsValidatorPluginExtension"/>
Was there a change regarding the ComponentsValidator in oXygen 15.1?
Kind regards
*Jan Bevers |* Developer *|*SDL *| *Content Management Technologies Division *| *+32 (0)15 400 970*|* jbevers@sdl.com image001
www.sdl.com <http://www.sdl.com/?utm_source=Email&utm_medium=Email%2BSignature&utm_campaign=SDL%2BStandard%2BEmail%2BSignature>
*SDL PLC confidential, all rights reserved.* If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK.
This message has been scanned for malware by Websense. www.websense.com <http://www.websense.com/>
_______________________________________________ oXygen-sdk mailing list oXygen-sdk@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-sdk
participants (2)
-
Jan Bevers
-
Oxygen XML Editor Support