return command;
}
} else if (TemplateTransfer.getInstance().isSupportedType(
event.currentDataType)) {
Object data = event.data;
PaletteDropInsertCommand command = null;
if (data instanceof IDropSourceData) {
final IDropSourceData dropSourceData = (IDropSourceData) data;
// "Create new item"
command = new PaletteDropInsertCommand(
PageDesignerResources
.getInstance()
.getString(
"DesignerSourceDropTargetListener.InserCommandLabel"), _textEditor, dropSourceData, _location); //$NON-NLS-1$