Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » create "ToolEntry" error
create "ToolEntry" error [message #207396] Mon, 16 January 2006 08:53
Eclipse UserFriend
Originally posted by: ask.sina.com

When i add a object with picture to "PaletteContainer", the icons cant't
by displayed, but my icon pictures are normal.so puzzled, please help
me,thank you. the code follows:

ToolEntry tool = new CombinedTemplateCreationEntry(
"Create",
"Create a new Create",
Node.class,
new SimpleFactory(Node.class),
ImageDescriptor.createFromFile
(Node.class, "icons/create_small.gif"),

ImageDescriptor.createFromFile
(Node.class, "icons/create_big.gif")

);

entries.add(tool);
Previous Topic:horizontal zoom?
Next Topic:cut, copy and paste
Goto Forum:
  


Current Time: Fri Apr 19 13:51:33 GMT 2024

Powered by FUDForum. Page generated in 0.01625 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top