import org.eclipse.swt.graphics.Color;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Display;
-import org.eclipse.swt.widgets.Menu;
import org.eclipse.ui.forms.widgets.TableWrapData;
import org.eclipse.ui.forms.widgets.TableWrapLayout;
import eu.etaxonomy.cdm.model.common.CdmBase;
import eu.etaxonomy.taxeditor.editor.CdmDataTransfer;
-import eu.etaxonomy.taxeditor.editor.name.dnd.NameEditorDropTargetEffect;
import eu.etaxonomy.taxeditor.editor.name.e4.IDropTargetableE4;
import eu.etaxonomy.taxeditor.editor.name.e4.TaxonNameEditorE4;
+import eu.etaxonomy.taxeditor.editor.name.e4.dnd.NameEditorDropTargetEffect;
import eu.etaxonomy.taxeditor.editor.name.e4.dnd.NameEditorDropTargetListenerE4;
import eu.etaxonomy.taxeditor.model.AbstractUtility;
import eu.etaxonomy.taxeditor.preference.Resources;
}
protected void createControl() {
- control = editor.getToolkit().createComposite(editor.getManagedForm().getForm());
+ control = editor.getToolkit().createComposite(editor.getControl());
control.setLayoutData(new TableWrapData(TableWrapData.FILL_GRAB));
TableWrapLayout layout = new TableWrapLayout();
}
}
- public void setMenu(Menu menu) {
- getControl().setMenu(menu);
- for(AbstractGroupedContainerE4 container : getGroupedContainers()){
- container.setMenu(menu);
- }
-
- }
-
protected void emptyGroup(){
for(AbstractGroupedContainerE4 container : groupedContainers){
container.dispose();