Move "link with taxon selection" action to main toolbar
[taxeditor.git] / eu.etaxonomy.taxeditor.editor / src / main / java / eu / etaxonomy / taxeditor / editor / view / derivate / searchFilter / DerivateSearchComposite.java
index 02f3e5d051038f21156117d35f045b057f7155de..b34b7ab192b7a03c6a02cf44ea3080237f1e2d74 100644 (file)
@@ -43,7 +43,6 @@ public class DerivateSearchComposite extends Composite {
     private Label lbltaxonAssignment;
     private Combo comboTaxonAssignment;
     private Label lblTitleCache;
-    private Button buttonToggleLink;
 
     /**
      * Create the composite.
@@ -82,11 +81,7 @@ public class DerivateSearchComposite extends Composite {
         formToolkit.adapt(comboTaxonAssignment);
         formToolkit.paintBordersFor(comboTaxonAssignment);
         comboTaxonAssignment.select(ALL_SPECIMENS);
-
-        buttonToggleLink = new Button(this, SWT.NONE);
-        buttonToggleLink.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
-        buttonToggleLink.setImage(ResourceManager.getPluginImage("eu.etaxonomy.taxeditor.editor", "icons/synced.gif"));
-        formToolkit.adapt(buttonToggleLink, true, true);
+        new Label(this, SWT.NONE);
 
         lblTitleCache = new Label(this, SWT.NONE);
         lblTitleCache.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false, 1, 1));
@@ -161,7 +156,4 @@ public class DerivateSearchComposite extends Composite {
     public Label getLbltaxonAssignment() {
         return lbltaxonAssignment;
     }
-    public Button getButtonToggleLink() {
-        return buttonToggleLink;
-    }
 }