public class BulkEditorE4 extends java.lang.Object implements IPartContentHasDetails, eu.etaxonomy.cdm.api.conversation.IConversationEnabled, IPostOperationEnabled, IDirtyMarkable, IDerivedUnitFacadePart, IPartContentHasFactualData, IPartContentHasSupplementalData, IPartContentHasMedia, IE4SavablePart, ITaxonEditor
Constructor and Description |
---|
BulkEditorE4() |
Modifier and Type | Method and Description |
---|---|
boolean |
canAttachMedia()
Return
true if media can be attached to the editor input and
false otherwise |
void |
changed(java.lang.Object element)
Sets the implementor to the "dirty" state specifying the object that was changed.
|
void |
createPartControl(org.eclipse.swt.widgets.Composite parent,
org.eclipse.e4.ui.services.EMenuService menuService) |
void |
dispose() |
void |
forceDirty()
Forces the implementing class to be set to the "dirty" state.
|
eu.etaxonomy.cdm.api.conversation.ConversationHolder |
getConversationHolder() |
AbstractBulkEditorInput |
getEditorInput() |
BulkEditorQuery |
getLastQuery() |
eu.etaxonomy.cdm.model.taxon.Taxon |
getTaxon() |
org.eclipse.jface.viewers.TableViewer |
getViewer() |
void |
init(AbstractBulkEditorInput<?> input) |
boolean |
isDirty() |
boolean |
onComplete()
This method will get called after the execution took place and occasional
cleanups were performed.
|
void |
performSearch(BulkEditorQuery query) |
boolean |
postOperation(eu.etaxonomy.cdm.model.common.CdmBase objectAffectedByOperation)
This method will be called after executing an operation.
|
void |
refresh() |
void |
refresh(boolean resetInput) |
void |
save(org.eclipse.core.runtime.IProgressMonitor monitor)
Save this part
|
void |
save(org.eclipse.core.runtime.IProgressMonitor monitor,
boolean resetMerge) |
void |
setDirty() |
void |
setFocus() |
void |
setLastQuery(BulkEditorQuery lastQuery) |
void |
update(eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeMap arg0) |
public void init(AbstractBulkEditorInput<?> input)
@PostConstruct public void createPartControl(org.eclipse.swt.widgets.Composite parent, org.eclipse.e4.ui.services.EMenuService menuService)
@Persist public void save(org.eclipse.core.runtime.IProgressMonitor monitor)
IE4SavablePart
save
in interface IE4SavablePart
monitor
- the progress monitor for long running save actions@Focus public void setFocus()
@PreDestroy public void dispose()
public void save(org.eclipse.core.runtime.IProgressMonitor monitor, boolean resetMerge)
public void performSearch(BulkEditorQuery query)
public void refresh()
public void refresh(boolean resetInput)
public org.eclipse.jface.viewers.TableViewer getViewer()
public void setDirty()
public boolean isDirty()
public AbstractBulkEditorInput getEditorInput()
public void update(eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeMap arg0)
update
in interface eu.etaxonomy.cdm.persistence.hibernate.ICdmPostDataChangeObserver
public boolean canAttachMedia()
true
if media can be attached to the editor input and
false
otherwisecanAttachMedia
in interface IPartContentHasMedia
public void changed(java.lang.Object element)
changed
in interface IDirtyMarkable
element
- the element that was changed causing the "dirty" state.public void forceDirty()
forceDirty
in interface IDirtyMarkable
public boolean postOperation(eu.etaxonomy.cdm.model.common.CdmBase objectAffectedByOperation)
This method will be called after executing an operation. If operation
created a new object and the IPostOperationEnabled
has to know
about the object it should be passed to the IPostOperationEnabled
postOperation
in interface IPostOperationEnabled
objectAffectedByOperation
- a newly created object for example. May be null
Status.CANCEL_STATUS
which
might not be what you want.public boolean onComplete()
onComplete
in interface IPostOperationEnabled
public eu.etaxonomy.cdm.api.conversation.ConversationHolder getConversationHolder()
getConversationHolder
in interface eu.etaxonomy.cdm.api.conversation.IConversationEnabled
public BulkEditorQuery getLastQuery()
public void setLastQuery(BulkEditorQuery lastQuery)
object
- public eu.etaxonomy.cdm.model.taxon.Taxon getTaxon()
getTaxon
in interface ITaxonEditor
Copyright © 2007-2018. All Rights Reserved.