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