public class ChecklistEditorE4 extends java.lang.Object implements IPartContentHasFactualData, eu.etaxonomy.cdm.api.conversation.IConversationEnabled, IDirtyMarkable, IPartContentHasDetails, IE4SavablePart, IDistributionEditor
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID
Constant
ID="eu.etaxonomy.taxeditor.store.datasource"{trunked} |
static java.lang.String |
TYPE_FILTER_TEXT |
Constructor and Description |
---|
ChecklistEditorE4() |
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) |
void |
dispose() |
void |
doSave(org.eclipse.core.runtime.IProgressMonitor monitor) |
void |
forceDirty()
Forces the implementing class to be set to the "dirty" state.
|
eu.etaxonomy.cdm.api.conversation.ConversationHolder |
getConversationHolder() |
ChecklistLabelProvider |
getLabelProvider() |
java.util.List<eu.etaxonomy.cdm.model.taxon.TaxonNode> |
getSelectedTaxonNodes() |
org.eclipse.ui.progress.IWorkbenchSiteProgressService |
getService()
Getter for the field
service . |
org.eclipse.jface.viewers.StructuredViewer |
getViewer()
Getter for the field
viewer . |
void |
init(ChecklistEditorInput input) |
boolean |
isDirty() |
void |
refresh() |
void |
reload()
This method should only be called for adding new Distribution columns and reloading the table.
It will hide the old distribution column and load the newly added columns. |
void |
save(org.eclipse.core.runtime.IProgressMonitor monitor)
Save this part
|
void |
setDirty(boolean dirty) |
void |
setFocus() |
void |
setSelectedTaxonNodes(java.util.List<eu.etaxonomy.cdm.model.taxon.TaxonNode> selectedTaxonNodes) |
void |
update(eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeMap arg0) |
public static final java.lang.String TYPE_FILTER_TEXT
public static java.lang.String ID
ID="eu.etaxonomy.taxeditor.store.datasource"{trunked}
public java.util.List<eu.etaxonomy.cdm.model.taxon.TaxonNode> getSelectedTaxonNodes()
public void setSelectedTaxonNodes(java.util.List<eu.etaxonomy.cdm.model.taxon.TaxonNode> selectedTaxonNodes)
selectedTaxonNodes
- the selectedTaxonNodes to set@PostConstruct public void createPartControl(org.eclipse.swt.widgets.Composite parent)
@PreDestroy public void dispose()
@Focus public void setFocus()
public org.eclipse.jface.viewers.StructuredViewer getViewer()
Getter for the field viewer
.
StructuredViewer
object.public void refresh()
public void reload()
Notice: for data update please use refresh()
public org.eclipse.ui.progress.IWorkbenchSiteProgressService getService()
Getter for the field service
.
public void doSave(org.eclipse.core.runtime.IProgressMonitor monitor)
public void init(ChecklistEditorInput input)
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 void setDirty(boolean dirty)
public boolean isDirty()
public ChecklistLabelProvider getLabelProvider()
public void update(eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeMap arg0)
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 actionsCopyright © 2007-2018. All Rights Reserved.