Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ui-dev] Working sets on a workbench window

Kimberly

can you explain the purpose of the new API to me. Is the idea that view
parts listen to these
changes and update there current working set accordingly.

Dirk



                                                                           
             Nick Edgar                                                    
             <Nick_Edgar@xxxxx                                             
             m.com>                                                     To 
             Sent by:                  "Eclipse Platform UI component      
             platform-ui-dev-b         developers list."                   
             ounces@xxxxxxxxxx         <platform-ui-dev@xxxxxxxxxxx>       
             g                                                          cc 
                                                                           
                                                                   Subject 
             09/09/2005 04:03          Re: [platform-ui-dev] Working sets  
             PM                        on a workbench window               
                                                                           
                                                                           
             Please respond to                                             
             "Eclipse Platform                                             
               UI component                                                
             developers list."                                             
             <platform-ui-dev@                                             
               eclipse.org>                                                
                                                                           
                                                                           




Is there any kind of notification (e.g. property change event) when it's
changed?
How would a view tracking this know to update?

Nick




Kimberly Horne <kim@xxxxxxxxxxxxx>
Sent by: platform-ui-dev-bounces@xxxxxxxxxxx
09/09/2005 08:20 AM
Please respond to
"Eclipse Platform UI component developers list."


To
"Eclipse Platform UI component developers list."
<platform-ui-dev@xxxxxxxxxxx>
cc

Subject
[platform-ui-dev] Working sets on a workbench window






Next weeks integration build will introduce the following new API on
IWorkbenchPage:

IWorkingSet[] getWorkingSets();
void setWorkingSets(IWorkingSet[])

The intention of these methods is to allow you to specify what
working sets should be visible across all components within a given
workbench window.  Currently this API is not being used by any
downstream component but we're making it public (and visible) now to
gauge interest.

By visible I am referring to a new action that's been added to the
Resource Navigation action set.

You will see in your toolbar and in your Window menu a pulldown
action called Working Sets.  The children of this action represent
all working sets registered with the system IWorkingSetManager and
are either checked or unchecked.  If they're checked, they're
contained in the array returned by IWorkbenchPage.getWorkingSets().

The notable problems with the implementation as it currently sits are
as follows:
     The "Edit..." action currently opens the "Select Working Set"
dialog despite there being no selection required.  We will replace
this with a more particular editing dialog at some later point.
     The dropdown won't scale when the user has a large number of
working sets.
     The action needs a toolbar icon.
     The action probably doesn't belong in the Resource Navigation
action set.
Please don't log these bugs.  We've already done so :)



_______________________________________________
platform-ui-dev mailing list
platform-ui-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-ui-dev


_______________________________________________
platform-ui-dev mailing list
platform-ui-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-ui-dev




Back to the top