org.topbraidcomposer.navigation.relevant
Class RelevantView

java.lang.Object
  extended by org.eclipse.core.commands.common.EventManager
      extended by org.eclipse.ui.part.WorkbenchPart
          extended by org.eclipse.ui.part.ViewPart
              extended by org.topbraidcomposer.ui.views.AbstractView
                  extended by org.topbraidcomposer.ui.views.AbstractStructuredViewerView
                      extended by org.topbraidcomposer.navigation.relevant.RelevantView
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.core.runtime.IExecutableExtension, org.eclipse.ui.IPersistable, org.eclipse.ui.IViewPart, org.eclipse.ui.IWorkbenchPart, org.eclipse.ui.IWorkbenchPart2, org.eclipse.ui.IWorkbenchPart3, org.eclipse.ui.part.IWorkbenchPartOrientation, IModelSelectionListener, IResourceSelectionListener, IRefreshableWorkbenchPart, IResourceSelector

public class RelevantView
extends AbstractStructuredViewerView
implements IModelSelectionListener, IResourceSelectionListener


Field Summary
 
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
 
Constructor Summary
RelevantView()
           
 
Method Summary
protected  org.eclipse.jface.viewers.StructuredViewer createStructuredViewer(org.eclipse.swt.widgets.Composite parent)
           
 void dispose()
           
 RelevantTableContentProvider getContentProvider()
           
 java.util.Set<com.hp.hpl.jena.rdf.model.Resource> getSelectedProperties()
           
 void modelSelectionChanged()
          Called by the ModelSelection singleton after the currently selected model has changed.
 void resourceSelected(com.hp.hpl.jena.rdf.model.Resource resource)
          Called when the resource selection has changed.
 void setFocus()
           
protected  void setupDragAndDrop()
           
 
Methods inherited from class org.topbraidcomposer.ui.views.AbstractStructuredViewerView
addDragSupport, addDropSupport, createDoubleClickAction, createMainControls, fillContextMenu, getDragSource, getSelectedResources, getSelection, getStructuredViewer, hookContextMenu, initUnselector, recreateViewer, refreshWorkbenchPart
 
Methods inherited from class org.topbraidcomposer.ui.views.AbstractView
asyncExec, close, createPartControl, focusResourceEditor
 
Methods inherited from class org.eclipse.ui.part.ViewPart
checkSite, getViewSite, init, init, saveState, setContentDescription, setInitializationData, setPartName
 
Methods inherited from class org.eclipse.ui.part.WorkbenchPart
addPartPropertyListener, addPropertyListener, firePartPropertyChanged, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, getTitleToolTip, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy
 
Methods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.ui.IWorkbenchPart
addPropertyListener, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Constructor Detail

RelevantView

public RelevantView()
Method Detail

createStructuredViewer

protected org.eclipse.jface.viewers.StructuredViewer createStructuredViewer(org.eclipse.swt.widgets.Composite parent)
Specified by:
createStructuredViewer in class AbstractStructuredViewerView

dispose

public void dispose()
Specified by:
dispose in interface org.eclipse.ui.IWorkbenchPart
Overrides:
dispose in class AbstractStructuredViewerView

getContentProvider

public RelevantTableContentProvider getContentProvider()

getSelectedProperties

public java.util.Set<com.hp.hpl.jena.rdf.model.Resource> getSelectedProperties()

modelSelectionChanged

public void modelSelectionChanged()
Description copied from interface: IModelSelectionListener
Called by the ModelSelection singleton after the currently selected model has changed.

Specified by:
modelSelectionChanged in interface IModelSelectionListener

resourceSelected

public void resourceSelected(com.hp.hpl.jena.rdf.model.Resource resource)
Description copied from interface: IResourceSelectionListener
Called when the resource selection has changed. This method is called as a side effect by the ResourceSelection class.

Specified by:
resourceSelected in interface IResourceSelectionListener
Parameters:
resource - the new selection

setFocus

public void setFocus()
Specified by:
setFocus in interface org.eclipse.ui.IWorkbenchPart
Overrides:
setFocus in class AbstractStructuredViewerView

setupDragAndDrop

protected void setupDragAndDrop()
Overrides:
setupDragAndDrop in class AbstractStructuredViewerView