public abstract class AbstractGroupE4 extends java.lang.Object implements IDropTargetableE4
Modifier and Type | Field and Description |
---|---|
protected TaxonNameEditorE4 |
editor |
Constructor and Description |
---|
AbstractGroupE4(TaxonNameEditorE4 editor) |
Modifier and Type | Method and Description |
---|---|
void |
add(AbstractGroupedContainerE4 groupedContainer) |
protected abstract void |
createContainers() |
protected void |
createContent() |
protected void |
createControl() |
void |
dispose() |
void |
dragEntered() |
void |
dragLeft() |
protected void |
emptyGroup() |
org.eclipse.e4.core.contexts.IEclipseContext |
getContext() |
org.eclipse.swt.widgets.Composite |
getControl() |
TaxonNameEditorE4 |
getEditor() |
java.util.List<AbstractGroupedContainerE4> |
getGroupedContainers() |
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 |
redraw() |
void |
remove(AbstractGroupedContainerE4 groupedContainer) |
void |
setDroppable(boolean droppable) |
protected TaxonNameEditorE4 editor
public AbstractGroupE4(TaxonNameEditorE4 editor)
protected void createContent()
protected void createControl()
public void add(AbstractGroupedContainerE4 groupedContainer)
public void remove(AbstractGroupedContainerE4 groupedContainer)
public java.util.List<AbstractGroupedContainerE4> getGroupedContainers()
public void setDroppable(boolean droppable)
public org.eclipse.e4.core.contexts.IEclipseContext getContext()
getContext
in interface IDropTargetableE4
public TaxonNameEditorE4 getEditor()
getEditor
in interface IDropTargetableE4
public void dragEntered()
dragEntered
in interface IDropTargetableE4
public void dragLeft()
dragLeft
in interface IDropTargetableE4
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 void redraw()
protected abstract void createContainers()
public org.eclipse.swt.widgets.Composite getControl()
getControl
in interface IDropTargetableE4
public boolean onComplete()
IPostOperationEnabled
onComplete
in interface IPostOperationEnabled
public void dispose()
protected void emptyGroup()
Copyright © 2007-2018. All Rights Reserved.