public class PolytomousKeyListEditorE4 extends java.lang.Object implements eu.etaxonomy.cdm.api.conversation.IConversationEnabled, IDirtyMarkable, IPartContentHasDetails, IPartContentHasSupplementalData, IPolytomousKeyEditorPage, IE4SavablePart
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID |
Constructor and Description |
---|
PolytomousKeyListEditorE4() |
Modifier and Type | Method and Description |
---|---|
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() |
PolytomousKeyEditorInput |
getEditorInput() |
int |
getTableItemCount() |
eu.etaxonomy.cdm.model.description.PolytomousKey |
getViewerInputKey() |
void |
init(PolytomousKeyEditorInput input) |
boolean |
isDirty() |
boolean |
onComplete()
This method will get called after the execution took place and occasional
cleanups were performed.
|
boolean |
postOperation(eu.etaxonomy.cdm.model.common.CdmBase objectAffectedByOperation)
This method will be called after executing an operation.
|
void |
save(org.eclipse.core.runtime.IProgressMonitor monitor)
Save this part
|
void |
setFocus() |
void |
setPartName() |
void |
update(eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeMap map) |
public static final java.lang.String ID
public void update(eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeMap map)
update
in interface eu.etaxonomy.cdm.persistence.hibernate.ICdmPostDataChangeObserver
public eu.etaxonomy.cdm.api.conversation.ConversationHolder getConversationHolder()
getConversationHolder
in interface eu.etaxonomy.cdm.api.conversation.IConversationEnabled
@Persist public void save(org.eclipse.core.runtime.IProgressMonitor monitor)
IE4SavablePart
save
in interface IE4SavablePart
monitor
- the progress monitor for long running save actionspublic void init(PolytomousKeyEditorInput input)
public PolytomousKeyEditorInput getEditorInput()
public boolean isDirty()
@PostConstruct public void createPartControl(org.eclipse.swt.widgets.Composite parent, org.eclipse.e4.ui.services.EMenuService menuService)
@PreDestroy public void dispose()
public int getTableItemCount()
public eu.etaxonomy.cdm.model.description.PolytomousKey getViewerInputKey()
@Focus public void setFocus()
public void changed(java.lang.Object element)
IDirtyMarkable
changed
in interface IDirtyMarkable
element
- the element that was changed causing the "dirty" state.public void forceDirty()
IDirtyMarkable
forceDirty
in interface IDirtyMarkable
public boolean postOperation(eu.etaxonomy.cdm.model.common.CdmBase objectAffectedByOperation)
IPostOperationEnabled
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()
IPostOperationEnabled
onComplete
in interface IPostOperationEnabled
public void setPartName()
Copyright © 2007-2018. All Rights Reserved.