drawer.addAll(entries);
return drawer;
}
public PaletteEntry createConnectionEntry() {
final ElementConnectionFactory normalConnectionFactory = new ConnectionWrapperFactory();
PaletteEntry tool = new ConnectionCreationToolEntry(
"Connection Creation",
"Creating connections",
new CreationFactory() {
public Object getNewObject() {
return normalConnectionFactory.createElementConnection();
}
public Object getObjectType() {
return ConnectionWrapper.class;
}
},