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.
|
getOutlinePage
public 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 IOutlineContribution
init
in class OutlineContribution
outlinePage
- the contribution's outline page
(never null
)public void dispose()
OutlineContribution
init()
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 IOutlineContribution
dispose
in class OutlineContribution
protected 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, 2018 1C-Soft LLC and others. Made available under the Eclipse Public License 2.0