[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools] Re: DND between PropPage/View
|
Knut,
Here is some additional info:
1)We have an editor with a single input model.
2)The model has two types of elements(for the sake of the explanation):
a)Elements that have property sheet pages, displayed using property sheets
b)Elements that do have property sheet pages, displayed using a view
3)The data is all text for both source and target
4)We want to drag model elements from 2(b) and drop to 2(a)
I'm working with a colleague on this and the understanding is that each
workbenchpart, of which our editor and view are subclassed, has their own
property sheet page. The workbench will ask the workbenchpart for it's
property sheet page only one time, when the part gets focus. This doesn't
seem to be a problem if both the view and the editor remain open at all
times. If one of the parts is closed then the property sheet is disposed and
is invalidated for the part that remains open, so when focus is changed to the
remaining open part, the property sheet is invalid.
Does this make sense or are we missing something?
thanks
Paul Wuethrich
Knut Radloff wrote:
> How far did you get? What does not work?
> What kind of data does the DND operation transfer?
>
> Knut
> "Sybase Employee" <username@xxxxxxxxxx> wrote in message
> news:3E01F4B4.275258F2@xxxxxxxxxxxxx
> > It appears that we are unable to fully (we run into problems) implement
> > DND to a property sheet page from a view whereby the input to both is
> > the model corresponding to the active editor. Is this an implementation
> > limitation or should this work without any problems???
> >