Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Sapphire » Action Handler to move value binding to top/bottom of list
Action Handler to move value binding to top/bottom of list [message #1062823] Mon, 10 June 2013 22:08 Go to next message
Eclipse UserFriend
Does Sapphire already have an action handler similar to MoveUpActionHandler/MoveDownActionHandler that would move a selected element in the property editor of a ModelElementList to the top/bottom of the list?

If not, is the best approach to implement a similar action handler that extends SelectionBasedActionHandler and then add the action to the property editor in the sdef file?

Thanks for the help.
Carlin
Re: Action Handler to move value binding to top/bottom of list [message #1063021 is a reply to message #1062823] Tue, 11 June 2013 19:52 Go to previous messageGo to next message
Konstantin Komissarchik is currently offline Konstantin KomissarchikFriend
Messages: 1077
Registered: July 2009
Senior Member
There isn't an existing action or action handler for this task. SelectionBasedActionHandler is private, so you will have to start with SapphirePropertyEditorActionHandler. Adding the new action handler in the sdef file is the correct approach if it is needed in a few places. If you need it in a lot of places based on some criteria, you'd contribute the action and action handler via sapphire-extension.xml.

[Updated on: Tue, 11 June 2013 19:53]

Report message to a moderator

Re: Action Handler to move value binding to top/bottom of list [message #1063033 is a reply to message #1063021] Tue, 11 June 2013 20:41 Go to previous message
Eclipse UserFriend
OK, thanks. Appreciate the help.
Previous Topic:Index for list properties in sdef files
Next Topic:XmlElement CDATA section
Goto Forum:
  


Current Time: Wed Dec 11 10:58:32 GMT 2024

Powered by FUDForum. Page generated in 0.02859 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top