com.ibm.jdg2e.view.files.ui
Class FileView.SelectionInput

java.lang.Object
  extended bycom.ibm.jdg2e.view.files.ui.FileView.SelectionInput
All Implemented Interfaces:
org.eclipse.ui.ISelectionListener
Enclosing class:
FileView

class FileView.SelectionInput
extends java.lang.Object
implements org.eclipse.ui.ISelectionListener

Listener for part selection; the current selection can be used as the input if it is of the right type.


Constructor Summary
(package private) FileView.SelectionInput()
           
 
Method Summary
 void selectionChanged(org.eclipse.ui.IWorkbenchPart part, org.eclipse.jface.viewers.ISelection selection)
          This view attempts to determine its content based on the active selection from any workbench part.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileView.SelectionInput

FileView.SelectionInput()
Method Detail

selectionChanged

public void selectionChanged(org.eclipse.ui.IWorkbenchPart part,
                             org.eclipse.jface.viewers.ISelection selection)
This view attempts to determine its content based on the active selection from any workbench part. Selection must be of the right type (an IResource). Selection of the existing input is ignored so as to not trigger redundant processing.

Specified by:
selectionChanged in interface org.eclipse.ui.ISelectionListener
See Also:
ISelectionListener.selectionChanged(org.eclipse.ui.IWorkbenchPart, org.eclipse.jface.viewers.ISelection)