|
Re: Persist a WorkingSet? [message #63659 is a reply to message #61530] |
Thu, 05 June 2003 12:22 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: daniel.megert.gmx.net
David Bailey wrote:
>How does one persist/re-instantiate a defined WorkingSet?
>
See IWorkingSetManager [to get it use:
PlatformUI.getWorkbench().getWorkingSetManager()]
HTH
Dani
|
|
|
|
Re: Persist a WorkingSet? [message #63880 is a reply to message #63812] |
Thu, 05 June 2003 13:43 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: daniel.megert.gmx.net
David Bailey wrote:
>Daniel Megert wrote:
>
>
>
>>David Bailey wrote:
>>
>>
>
>
>
>>>How does one persist/re-instantiate a defined WorkingSet?
>>>
>>>
>>>
>>See IWorkingSetManager [to get it use:
>>PlatformUI.getWorkbench().getWorkingSetManager()]
>>
>>
>
>
>
>>HTH
>>Dani
>>
>>
>
>Emperically, the IWorkingSetManager retains the IWorkingSet for me (that
>is, the same collection of working sets shows up in the working set
>selection wizard), but the DEFINITION of the working set has been lost.
>When I attempt to edit my working set, all checkboxes are cleared.
>
>My research into the code for the ResourceNavigator seems to indicate that
>the use of IDialogSettings is necessary, but I can't find much information
>about exactly how that is used.
>
What exactly are you trying to do?
Dani
|
|
|
Re: Persist a WorkingSet? [message #64267 is a reply to message #63880] |
Thu, 05 June 2003 17:53 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
David Bailey![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=david.bailey%40lawson.com) Messages: 45 Registered: July 2009 |
Member |
|
|
Daniel Megert wrote:
> David Bailey wrote:
> >Daniel Megert wrote:
> >
> >
> >
> >>David Bailey wrote:
> >>
> >>
> >
> >
> >
> >>>How does one persist/re-instantiate a defined WorkingSet?
> >>>
> >>>
> >>>
> >>See IWorkingSetManager [to get it use:
> >>PlatformUI.getWorkbench().getWorkingSetManager()]
> >>
> >>
> >
> >
> >
> >>HTH
> >>Dani
> >>
> >>
> >
> >Emperically, the IWorkingSetManager retains the IWorkingSet for me (that
> >is, the same collection of working sets shows up in the working set
> >selection wizard), but the DEFINITION of the working set has been lost.
> >When I attempt to edit my working set, all checkboxes are cleared.
> >
> >My research into the code for the ResourceNavigator seems to indicate that
> >the use of IDialogSettings is necessary, but I can't find much information
> >about exactly how that is used.
> >
> What exactly are you trying to do?
> Dani
The problem here may stem from the fact that I am trying to write a
'logical' repository navigator. The concept is similar to the Resource
Navigator, but the tree structure does not (necessarily) mirror any
filesystem structure. Consequently, the nodes in the tree are not
IResource nodes (though they are IAdaptable --- I discovered that is a
requirement in order to have any hope of defining a WorkingSet).
Ideally, I want this navigator to have all of the functionality of the
Resource Navigator, at least where it makes sense. In particular, the
user should have the ability to define WorkingSets --- and those
WorkingSets should be properly persisted/resurrected between sessions.
Now, with that background, please insert my previous comments about the
IWorkingSetManager and IDialogSettings here.
It has occurred to me that the WorkingSet persistence mechanism expects
all objects in a working set to implement IResource or something like
that, but I haven't yet found anything in the code to confirm that
suspicion. Perhaps I simply haven't looked hard enough.
--dave
P.S. I am under the impression that there is a plan to generalize the
Resource Navigator concept in 3.0 to eliminate the assumption that the
navigator is always working with IResouces. I say, hear hear.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03788 seconds