[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [gef-dev] Label Decorators in the outline view.
|
Posting in the newsgroup is the way
to go, this email list is for development discussion.
Cheers...
Anthony
--
Anthony Hunter mailto:anthonyh@xxxxxxxxxx
Manager: Eclipse GMF + GEF
IBM Rational Software: Aurora / Modeling Tools
Phone: 613-591-7037
"Narang, Anu"
<anu.narang@xxxxxxxxx>
Sent by: gef-dev-bounces@xxxxxxxxxxx
15/11/2006 01:31 AM
Please respond to
GEF development <gef-dev@xxxxxxxxxxx> |
|
To
| "GEF development" <gef-dev@xxxxxxxxxxx>
|
cc
|
|
Subject
| [gef-dev] Label Decorators in the outline
view. |
|
Hi,
I don’t know if this is the right
place to put my question….
I’m also registered to the mailing
list of GEF but where to put the question is always a dilemma…
Well I was working on decorators
on the outline view of GEF. As the tree viewer which is populated in GEF
is of of gef.ui , I have a feeling that associating a label decorator is
tough or rather not possible?
I have been though all the examples
like Shapes, Logic etc but none of them use the decorator ext point.
I have created a Label decorator
through decorator ext point and when I try to identify through decorator
Manager, it returns null.
Has anyone worked in this regard?
…please get in touch and reply.
Thanks
Anu.
From: gef-dev-bounces@xxxxxxxxxxx
[mailto:gef-dev-bounces@xxxxxxxxxxx] On Behalf Of Siddharth Shankar
Sent: Friday, September 22, 2006 8:20 PM
To: GEF development
Subject: Re: [gef-dev] Difference in Behavior between Drag and Drop
[using TemplateTransferDropTargetListener] and Click and Drop [using Creation
Tool]
Hi Anthony,
Thanks for the reminder. I will take care to post my questions and at times
the answers (:)) to the designated newsgroup.
Cheers,
Siddharth
On 9/22/06, Anthony Hunter
<anthonyh@xxxxxxxxxx>
wrote:
Hi Siddharth,
A reminder that these discussions need to take place in the GEF newsgroup
news://news.eclipse.org/eclipse.tools.gef .
Can you please post your question there?
Cheers...
Anthony
Hi,
I encountered a minor bug in my aaplication probabaly because of some error
on my side and would be glad if any one of you can point that out.The bug
(difference in behavior when doing a drag and drop from palette and when
doing a click and drop from palette) is described below:
Say I have a Figure [A sub class of Shape] and there's an edit part and
model corresponding to this shape
The figure that i create also has a label within it.(The label is added
to the shape in the paintFigure method which has been subclassed)
Now in my edit part's perform request method the bounds of the label is
same as the bounds of the figure/ shape in case of drag and drop (TemplateTransferDropTargetListener)
which is what I desire but in case of click and drop (Creation
Tool) its not the same.
I have fixed it by doing the following:
While creating the shape I add the label to the Shape
In the paint figure method I set the size of the label to be the same as
that of shape
Although the above fix has so far wroked fine for me I wanted to know why
does the two approaches of drag and drop and click and drop behave diffrently
with regards to setting the bounds of the label and if there is some better
fix which I should incorporate
Thanks alot for your help in advance
--
Regards,
Siddharth _______________________________________________
gef-dev mailing list
gef-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/gef-dev
_______________________________________________
gef-dev mailing list
gef-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/gef-dev
--
Thanks,
Siddharth
DISCLAIMER:
Unless indicated otherwise, the information contained in this message is
privileged and confidential, and is intended only for the use of the addressee(s)
named above and others who have been specifically authorized to receive
it. If you are not the intended recipient, you are hereby notified that
any dissemination, distribution or copying of this message and/or attachments
is strictly prohibited. The company accepts no liability for any damage
caused by any virus transmitted by this email. Furthermore, the company
does not warrant a proper and complete transmission of this information,
nor does it accept liability for any delays. If you have received this
message in error, please contact the sender and delete the message. Thank
you._______________________________________________
gef-dev mailing list
gef-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/gef-dev