public class DescriptiveDataSetEditor extends java.lang.Object implements IE4SavablePart, eu.etaxonomy.cdm.api.conversation.IConversationEnabled, ICdmEntitySessionEnabled, IPartContentHasDetails, IDirtyMarkable
Constructor and Description |
---|
DescriptiveDataSetEditor() |
Modifier and Type | Method and Description |
---|---|
void |
addTaxonNode(eu.etaxonomy.cdm.persistence.dto.TaxonNodeDto taxonNodeDto) |
void |
changed(java.lang.Object element)
Sets the implementor to the "dirty" state specifying the object that was changed.
|
void |
create(org.eclipse.swt.widgets.Composite parent,
org.eclipse.e4.core.contexts.IEclipseContext context,
org.eclipse.swt.widgets.Shell shell,
org.eclipse.e4.ui.services.EMenuService menuService) |
void |
dispose() |
void |
forceDirty()
Forces the implementing class to be set to the "dirty" state.
|
ICdmEntitySession |
getCdmEntitySession() |
eu.etaxonomy.cdm.api.conversation.ConversationHolder |
getConversationHolder() |
eu.etaxonomy.cdm.model.description.DescriptiveDataSet |
getDescriptiveDataSet() |
java.util.Map<java.lang.Object,java.util.List<java.lang.String>> |
getPropertyPathsMap() |
java.util.Collection<eu.etaxonomy.cdm.model.description.DescriptiveDataSet> |
getRootEntities() |
org.eclipse.jface.viewers.Viewer |
getTaxonTreeViewer() |
void |
init(java.util.UUID descriptiveDataSetUuid) |
void |
removeSelectedTaxonNodes() |
void |
save(org.eclipse.core.runtime.IProgressMonitor monitor)
Save this part
|
void |
setFocus() |
void |
update(eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeMap arg0) |
@PostConstruct public void create(org.eclipse.swt.widgets.Composite parent, org.eclipse.e4.core.contexts.IEclipseContext context, @Named(value="activeShell") org.eclipse.swt.widgets.Shell shell, org.eclipse.e4.ui.services.EMenuService menuService)
public void init(java.util.UUID descriptiveDataSetUuid)
public void addTaxonNode(eu.etaxonomy.cdm.persistence.dto.TaxonNodeDto taxonNodeDto)
public void removeSelectedTaxonNodes()
@Persist public void save(org.eclipse.core.runtime.IProgressMonitor monitor)
IE4SavablePart
save
in interface IE4SavablePart
monitor
- the progress monitor for long running save actions@PreDestroy public void dispose()
@Focus public void setFocus()
public org.eclipse.jface.viewers.Viewer getTaxonTreeViewer()
public eu.etaxonomy.cdm.model.description.DescriptiveDataSet getDescriptiveDataSet()
public void update(eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeMap arg0)
update
in interface eu.etaxonomy.cdm.persistence.hibernate.ICdmPostDataChangeObserver
public ICdmEntitySession getCdmEntitySession()
getCdmEntitySession
in interface ICdmEntitySessionEnabled
public java.util.Collection<eu.etaxonomy.cdm.model.description.DescriptiveDataSet> getRootEntities()
getRootEntities
in interface ICdmEntitySessionEnabled
public java.util.Map<java.lang.Object,java.util.List<java.lang.String>> getPropertyPathsMap()
getPropertyPathsMap
in interface ICdmEntitySessionEnabled
public eu.etaxonomy.cdm.api.conversation.ConversationHolder getConversationHolder()
getConversationHolder
in interface eu.etaxonomy.cdm.api.conversation.IConversationEnabled
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
Copyright © 2007-2018. All Rights Reserved.