access to author actions from state listener
Posted: Tue Nov 15, 2011 5:33 pm
Hello again.
I am trying to modify the [ENTER] - content completion menu, so that automatically only tags are listed where there is an author action defined.
My problem now is to get access to an author action list, set or map from out of the state listener (which modifies the content completion - list).
If I am not mistaken natively there is only an access via.
But the author action access is only accesible in various methods of classes, like the activated-method of the SchemaManagerFilter.
Is there an easier way to check the author actions from the point of view of a state listener implementation (or maybe from my ExtensionBundle - implementing class itself)?
thanks for every hint,
thomas.
PS: can anyone tell me how i can delete the element, comment and split - items in the content completion list?
I am trying to modify the [ENTER] - content completion menu, so that automatically only tags are listed where there is an author action defined.
My problem now is to get access to an author action list, set or map from out of the state listener (which modifies the content completion - list).
If I am not mistaken natively there is only an access via
Code: Select all
authorAccess.getEditorAccess().getActionsProvider().getAuthorExtensionActions()
But the author action access is only accesible in various methods of classes, like the activated-method of the SchemaManagerFilter.
Is there an easier way to check the author actions from the point of view of a state listener implementation (or maybe from my ExtensionBundle - implementing class itself)?
thanks for every hint,
thomas.
PS: can anyone tell me how i can delete the element, comment and split - items in the content completion list?