User defined css functions
Posted: Thu Nov 05, 2015 1:02 pm
Hi,
oXygen already provides several custom css functions, but there are special cases where I'd like to call my own java methods. I know I can implement my own StylesFilter but this has two disadvantages:
1. I have to implement the java code for selecting the right node as well (which is easier in css).
2. The css becomes even more complicated with some hidden logic. Placing the function call in the css would be more easy to understand - especially with the css inspector.
So maybe you could provide an extension point to register my own custom css functions!?
Thanks and regards,
Patrik
oXygen already provides several custom css functions, but there are special cases where I'd like to call my own java methods. I know I can implement my own StylesFilter but this has two disadvantages:
1. I have to implement the java code for selecting the right node as well (which is easier in css).
2. The css becomes even more complicated with some hidden logic. Placing the function call in the css would be more easy to understand - especially with the css inspector.
So maybe you could provide an extension point to register my own custom css functions!?
Thanks and regards,
Patrik