DZone Forums
Go Back   DZone Forums > Community > Tools & IDEs > Eclipse
Reload this Page why can't I repeat the drawing button in Editor of Eclipse?
Notices
Reply
 
LinkBack Thread Tools Display Modes
  (#1 (permalink)) Old
Member
 
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Jun 2008
Default why can't I repeat the drawing button in Editor of Eclipse? - 06-04-2008, 11:05 PM

In the palette of Eclipse, there are 3 toolentries and 2 connectioncreationtoolentries I defined. When I create the tooentry, I used the method CombinedTemplateCreationEntry while when create the ConnectionCreationToolEntry, I used the method ConnectionCreationToolEntry. But when I click the toolentry once, I just can draw the node in canvas once which means I can't draw it consecutively. However, I can consecutively draw the connection line when click the connectioncreariontoolentry. I try to compare these two entries, but I didn't find any differences except the template which is the condition to create three different entries. I also tried to use connectioncreationtoolentry, but it will become the connection line. I also try to use the setdefaultentry, and the condition I use is to judge whether the template is equals to the entry's template. But I still failed.

Who could help me to figure this out? Thanks!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Integrating GMF editor with a custom Eclipse Forms editor llednicki Eclipse 0 12-21-2008 04:43 AM
Eclipse visual editor sakthikumaran Eclipse 0 10-06-2008 02:09 AM
Java 2D drawing diasmvds Java 2 06-24-2008 08:46 AM
JSP Editor for Eclipse? ramesh_manian Java 1 06-24-2008 08:27 AM
Eclipse Visual Editor. amitvyavahare Eclipse 0 02-29-2008 06:07 AM


Copyright 1997-2009, DZone, Inc.
vBulletin Skin developed by: vBStyles.com