+ If the Common Palette is associated with a text editor then it's desired to allow + users dragging and dropping text into the palette to create new custom code clips that + can be dropped into editor later on. +
++ That can be achieved simply by subclassing the default DragAndDropHandler class + which manages all DragAndDrop-related operations in the Common Palette and turning + the text dnd support in superclasses's constructor on. The default implementation + pops up a dialog window when some text is dropped into the palette where user enters + code clip name and tooltip and optionally selects appropriate icons. +
+