import info.bioinfweb.tic.input.TICMouseAdapter;
import info.bioinfweb.tic.input.TICMouseEvent;
-import org.eclipse.ui.PartInitException;
-
-import eu.etaxonomy.taxeditor.model.MessagingUtils;
-import eu.etaxonomy.taxeditor.molecular.TaxeditorMolecularPlugin;
-import eu.etaxonomy.taxeditor.molecular.handler.ShowPherogramHandler;
-import eu.etaxonomy.taxeditor.molecular.l10n.Messages;
-
/**
@Override
public boolean mousePressed(TICMouseEvent event) {
- if (event.getClickCount() == 2) { // Double click
- try {
- ShowPherogramHandler.showPherogram(area.getModel());
- }
- catch (PartInitException e) {
- MessagingUtils.errorDialog(Messages.PherogramMouseListener_UNABLE_TO_CREATE_VIEW, null, e.getLocalizedMessage(),
- TaxeditorMolecularPlugin.PLUGIN_ID, e, false); //TODO set pluginID
- }
- return true;
- }
- else {
+// if (event.getClickCount() == 2) { // Double click
+// try {
+ //FIXME E4 implement double click functionality
+// ShowPherogramHandler.showPherogram(area.getModel());
+// }
+// catch (PartInitException e) {
+// MessagingUtils.errorDialog(Messages.PherogramMouseListener_UNABLE_TO_CREATE_VIEW, null, e.getLocalizedMessage(),
+// TaxeditorMolecularPlugin.PLUGIN_ID, e, false); //TODO set pluginID
+// }
+// return true;
+// }
+// else {
return false;
- }
+// }
}
}