edu.uky.rch.ept.projectexplorer
Class ProjectExplorer
java.lang.Object
edu.uky.rch.ept.projectexplorer.ProjectExplorer
- All Implemented Interfaces:
- org.eclipse.jface.viewers.ISelectionChangedListener
- public class ProjectExplorer
- extends Object
- implements org.eclipse.jface.viewers.ISelectionChangedListener
This class defines API that enables applications to query the current selection
in the project explorer tree and to register objects as listeners on the tree.
It also provides methods to refresh all or part of the tree.
- Author:
- Sandeep Bodapati
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static ProjectExplorer getInstance()
selectionChanged
public void selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
- Specified by:
selectionChanged in interface org.eclipse.jface.viewers.ISelectionChangedListener
getSelection
public org.eclipse.jface.viewers.IStructuredSelection getSelection()
getFirstSelection
public Object getFirstSelection()
showView
public static edu.uky.rch.ept.projectexplorer.internal.ProjectExplorerView showView()
throws org.eclipse.ui.PartInitException
- Throws:
org.eclipse.ui.PartInitException
addSelectionChangedListener
public void addSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener listener)
removeSelectionChangedListener
public void removeSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener listener)
refreshViewer
public static void refreshViewer()
refreshViewer
public static void refreshViewer(Object target)