155156157158159160161162163164165
/** * {@inheritDoc} */ public NoteElement createNote() { NoteElement noteElem = new NoteElement(); noteElem.addNodeChangeListener(diagram); return noteElem; } /** * {@inheritDoc}
187188189190191192193194195196197
/** * {@inheritDoc} */ public NoteElement createNote() { NoteElement noteElem = (NoteElement) NoteElement.getPrototype().clone(); noteElem.addNodeChangeListener(diagram); return noteElem; } /** * {@inheritDoc}