import eu.etaxonomy.taxeditor.model.IDerivedUnitFacadePart;
import eu.etaxonomy.taxeditor.model.IDirtyMarkable;
import eu.etaxonomy.taxeditor.model.IPartContentHasDetails;
+import eu.etaxonomy.taxeditor.model.IPartContentHasFactualData;
+import eu.etaxonomy.taxeditor.model.IPartContentHasMedia;
import eu.etaxonomy.taxeditor.preference.PreferencesUtil;
import eu.etaxonomy.taxeditor.store.CdmStore;
* @version 1.0
*/
public class BulkEditor extends AnnotatedLineEditor implements IPartContentHasDetails,
- IDirtyMarkable, IDerivedUnitFacadePart {
+ IDirtyMarkable, IDerivedUnitFacadePart, IPartContentHasFactualData, IPartContentHasMedia {
/** Constant <code>ID="bulkeditor.editor"</code> */
public static final String ID = "bulkeditor.editor";
super.dispose();
}
+
/* (non-Javadoc)
* @see org.eclipse.ui.texteditor.AbstractDecoratedTextEditor#isEditable()
*/
/** {@inheritDoc} */
@Override
public void setFocus() {
+ conversation.bind();
searchBar.setFocus();
// TODO find a better place to put this - this dialog should be shown after initial contents of
@Override
public void doSave(IProgressMonitor progressMonitor) {
isDirty = false;
- IViewPart part = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage()
- .findView("eu.etaxonomy.taxeditor.bulkeditor.view.referencingobjects");
- if (part != null){
- ((ReferencingObjectsView)part).dispose();
- }
+
super.doSave(progressMonitor);
selectFirstItem();
- if (part != null){
- ((ReferencingObjectsView)part).refresh();
-
- }
+
getSourceViewer().getTextWidget().setFocus();
}