Properties drop down box, many elements [message #645331] |
Thu, 16 December 2010 16:04 |
Eclipse User |
|
|
|
Originally posted by: marius.groeger.googlemail.com
Hello,
I'm facing the problem that I need to assign an associated element from
a huge list of candiates. The standard drop down box of the properties
view will not do the job, I'm dealing with thousands of objects. So I
need a hand crafted dialog for the. Can I override the properties page
WRT this?
One option I do see would be an Open Edit Policy. In that case I would
need to turn off the drop down box to avoid causing the the gui choking
on the user.
Thanks for any hints,
Marius
|
|
|
|
Re: Properties drop down box, many elements [message #645915 is a reply to message #645753] |
Tue, 21 December 2010 07:56 |
Eclipse User |
|
|
|
Originally posted by: marius.groeger.googlemail.com
Michael,
On 20.12.2010 13:16, Michael Golubev wrote:
> Hello,
> You can check how it had been done in the UML2Tools
....
> I am prettry sure it may be used as a starting point for implementing of
> your scenario.
> Regards, Michael
As it happened I have arrived at just the same solution myself by now
:-), but thanks for the link and confirming I did the right thing. Once
I had understood what's going on, the problem was surprisingly simple
and elegant to solve. (My typical Eclipse coding experience: you need to
research until you can re-invent the wheel, but only then you're
enlightened enough to find the ready-prepared wheel to use...)
As an addendum, I also began using EMF annotations in this context, so I
can put annotations in the EMF model that control how the properties
behave. I haven't used this much yet, but I find it kinda cool.
Regards
Marius
|
|
|
|
Powered by
FUDForum. Page generated in 0.03499 seconds