public void mouseDown(MouseEvent e) {
// do nothing
}
private PaletteDropInsertCommand getCommand(MouseEvent event) {
IDropSourceDataProvider data = getPaletteObject();
PaletteDropInsertCommand command = null;
if (data != null) {
// "Create new item"
command = new PaletteDropInsertCommand(
PageDesignerResources
.getInstance()
.getString(
"DesignerSourceDropTargetListener.InserCommandLabel"), //$NON-NLS-1$
_textEditor, data.getDropSourceData(), _location);
}
return command;
}