public final class NullSelectionProvider extends Object implements org.eclipse.jface.viewers.IPostSelectionProvider
Modifier and Type | Field and Description |
---|---|
static NullSelectionProvider |
INSTANCE
There needs only be one instance of this class, and this is it.
|
Modifier and Type | Method and Description |
---|---|
void |
addPostSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener listener) |
void |
addSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener listener) |
org.eclipse.jface.viewers.ISelection |
getSelection() |
void |
removePostSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener listener) |
void |
removeSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener listener) |
void |
setSelection(org.eclipse.jface.viewers.ISelection selection) |
public static final NullSelectionProvider INSTANCE
public org.eclipse.jface.viewers.ISelection getSelection()
getSelection
in interface org.eclipse.jface.viewers.ISelectionProvider
public void setSelection(org.eclipse.jface.viewers.ISelection selection)
setSelection
in interface org.eclipse.jface.viewers.ISelectionProvider
public void addSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener listener)
addSelectionChangedListener
in interface org.eclipse.jface.viewers.ISelectionProvider
public void removeSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener listener)
removeSelectionChangedListener
in interface org.eclipse.jface.viewers.ISelectionProvider
public void addPostSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener listener)
addPostSelectionChangedListener
in interface org.eclipse.jface.viewers.IPostSelectionProvider
public void removePostSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener listener)
removePostSelectionChangedListener
in interface org.eclipse.jface.viewers.IPostSelectionProvider
Copyright © 2019. All rights reserved.