public abstract class OutlineDragAndDropContribution extends OutlineContribution
| Constructor and Description |
|---|
OutlineDragAndDropContribution() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract ViewerDragSupport |
createDragSupport()
Returns a ready to start instance of
ViewerDragSupport
for the outline page. |
protected abstract ViewerDropSupport |
createDropSupport()
Returns a ready to start instance of
ViewerDropSupport
for the outline page. |
void |
dispose()
Disposes of this contribution.
|
void |
init(ICommonOutlinePage outlinePage)
Initializes this contribution.
|
getOutlinePagepublic void init(ICommonOutlinePage outlinePage)
This method may be extended by subclasses. Subclasses must call the superclass implementation.
OutlineDragAndDropContribution extends this method to add
drag and drop
support to the outline. The feedback enablement for the drop support is governed by the lexical sort preference.
init in interface IOutlineContributioninit in class OutlineContributionoutlinePage - the contribution's outline page
(never null)public void dispose()
OutlineContributioninit() has been called.
This method has no effect if this contribution has already
been disposed.
This method may be extended by subclasses. Subclasses must call the superclass implementation.
dispose in interface IOutlineContributiondispose in class OutlineContributionprotected abstract ViewerDragSupport createDragSupport()
ViewerDragSupport
for the outline page.ViewerDragSupport
(not null)protected abstract ViewerDropSupport createDropSupport()
ViewerDropSupport
for the outline page.ViewerDropSupport
(not null)Copyright (c) 2014, 2020 1C-Soft LLC and others. Made available under the Eclipse Public License 2.0