Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Adding an action / best practice
Adding an action / best practice [message #313141] Sat, 03 March 2007 00:35
Eclipse UserFriend
Hello list,
I am making an application that uses a file browser which I have made
using a TreeViewer. I need to sort out hidden files iff the user clicks
some button.

I have made an action that implements ISelectionListener and through that
(the IWorkBenchPart) gets the view object which displays the files that
need sorting. When the user clicks the button associated with this action
it simply call a "sort files" method on the view object.

I wonder if there is a better way to do this? If so, please point me in
the right direction.

Best regards
Kim Pedersen
Previous Topic:[Databinding] Example for binding enabled state of control to validationStatus of DataBindingContext
Next Topic:Descriptions of Eclipse Platform packages
Goto Forum:
  


Current Time: Wed Nov 05 08:38:16 EST 2025

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

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

Back to the top