|
|
|
|
|
Re: Overriding Sapphire Actions [message #712608 is a reply to message #712037] |
Sun, 07 August 2011 13:51 |
Kamesh Sampath Messages: 213 Registered: July 2009 |
Senior Member |
|
|
But then I can't put at the node because the Child Node is added from the Parent.
Consider the following structure
Parent
-- Child-1 (list property)
-- Child-2
-- Child-3
I have an editor and for child nodes actions I can define/put actions only at editor page right since the Child Nodes which are structured as follows
Quote:Sections --> Content Outline Node --> Child Nodes --> Content Outline Node Factory
As per Sapphire it will create three System Add actions like Add Child-1, Add Child-2 and Add Child-3
What I am trying to do is i want to delegate the Add Child-1 Action to my Action Handler rather than default System Action Handler.
But I am not able to do that, when the editor is loaded i don't see any Action Handlers targeted at Sapphire.EditorPage.Outline.Node which I suppose are the contexts for Child-1, Child-2, Child-3 actions can be handled.
Please correct me if my understanding is wrong, if not please let me know how we can achieve this ?
Another Question is that why Sapphire UI is not supporting CONTROL+SPACE keybinding ?
[Updated on: Mon, 08 August 2011 11:54] Report message to a moderator
|
|
|
Re: Overriding Sapphire Actions [message #713597 is a reply to message #712608] |
Mon, 08 August 2011 16:23 |
Konstantin Komissarchik Messages: 1077 Registered: July 2009 |
Senior Member |
|
|
The filter needs to be in the context of whichever node has the action. In this case, it's your "Parent" node that has the add action to create children. Makes sense?
> Another Question is that why Sapphire UI is not supporting CONTROL+SPACE keybindin
Do you mean content assist in a text field? That hasn't been implemented yet. Go ahead and open an enhancement request.
- Konstantin
[Updated on: Mon, 08 August 2011 16:24] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
Re: Overriding Sapphire Actions [message #714085 is a reply to message #714079] |
Tue, 09 August 2011 19:03 |
Konstantin Komissarchik Messages: 1077 Registered: July 2009 |
Senior Member |
|
|
> Since sdef editor doesn't show Action, Handler, & Filters sections for Nodes Sad
Could you open a bug for this?
> Can you please let me know now where it could be added Action, Handler & Filter ?
You can have actions at the level of any UI part... page, node, section, property editor, etc. Every part determines how to expose these actions.
[Updated on: Tue, 09 August 2011 19:04] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06559 seconds