XPath to address fullySelectedNode in Author View
Posted: Tue Mar 11, 2014 2:41 pm
Hello,
We are using the Eclipse version of Oxygen 15.2.
I am currently trying to add a custom ro.sync.ecss.extensions.api.AuthorOperation and wonder how I can use the XPath Expression to evaluate the fullySelectedNode.
I only want to show the action, when the AuthorNode contains a certain PI:
This works if the cursor is in the text, but I´d also like to show the action, if the complete AuthorNode is selected. I mean when a user selects the tag in case the full tags are shown => ro.sync.ecss.extensions.api.node.AuthorNode.getFullySelectedNode().
I that case the XPath obove does not work out and the action is unfortunately not shown.
Do you eventually have a custom XPath expression term/syntax to also check the fully selected node?
Best regards,
Simon
We are using the Eclipse version of Oxygen 15.2.
I am currently trying to add a custom ro.sync.ecss.extensions.api.AuthorOperation and wonder how I can use the XPath Expression to evaluate the fullySelectedNode.
I only want to show the action, when the AuthorNode contains a certain PI:
Code: Select all
./processing-instruction('tag')
I that case the XPath obove does not work out and the action is unfortunately not shown.
Do you eventually have a custom XPath expression term/syntax to also check the fully selected node?
Best regards,
Simon