com.bbn.swede.view.uriexplorer.ui
Class URIExplorer

java.lang.Object
  extended byViewPart
      extended bycom.bbn.swede.view.uriexplorer.ui.URIExplorer

public class URIExplorer
extends ViewPart

A Semantic Web-oriented view of the eclipse workspace. URI Explorer allows the user to access various semantic web features via context menu and drill down into OWL documents to see a list of the classes and properties it contains.

Author:
jlerner, tself
See Also:
Serialized Form

Nested Class Summary
(package private)  class URIExplorer.MigrateProjectAction
          Action for migrating projects to the current version of SWeDE.
(package private)  class URIExplorer.OpenProjectAction
          Action for reopening a closed project.
(package private)  class URIExplorer.ViewChangeListener
          Change Listener for adding/removing objects from tree.
 
Field Summary
protected  TreeViewer _tree
          The main tree view for URI explorer.
 
Constructor Summary
URIExplorer()
           
 
Method Summary
 void createPartControl(Composite parent)
           
 void dispose()
           
 void doubleClick(DoubleClickEvent event)
           
 void init(IViewSite site, IMemento memento)
           
protected  void initContextMenu()
          Initializes the context menu.
 void menuAboutToShow(IMenuManager menu)
          Called to populate the context menu immediately before it is displayed.
 void restoreState(IMemento memento)
          Restores the view's state from a memento.
 void saveState(IMemento memento)
           
 void selectionChanged(SelectionChangedEvent e)
           
 void selectReveal(ISelection selection)
           
 void setFocus()
           
 void treeCollapsed(TreeExpansionEvent event)
           
 void treeExpanded(TreeExpansionEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_tree

protected TreeViewer _tree
The main tree view for URI explorer.

Constructor Detail

URIExplorer

public URIExplorer()
Method Detail

createPartControl

public void createPartControl(Composite parent)

selectionChanged

public void selectionChanged(SelectionChangedEvent e)

initContextMenu

protected void initContextMenu()
Initializes the context menu. No actions are added to the menu until it is actually shown.

See Also:
menuAboutToShow(IMenuManager)

saveState

public void saveState(IMemento memento)

restoreState

public void restoreState(IMemento memento)
Restores the view's state from a memento.

Parameters:
memento - A memento containing the view state

setFocus

public void setFocus()

dispose

public void dispose()

doubleClick

public void doubleClick(DoubleClickEvent event)

menuAboutToShow

public void menuAboutToShow(IMenuManager menu)
Called to populate the context menu immediately before it is displayed.

Parameters:
menu - The context menu to populate with actions

init

public void init(IViewSite site,
                 IMemento memento)
          throws PartInitException
Throws:
PartInitException

selectReveal

public void selectReveal(ISelection selection)

treeCollapsed

public void treeCollapsed(TreeExpansionEvent event)

treeExpanded

public void treeExpanded(TreeExpansionEvent event)


Copyright © 2004-2005 BBN Technologies. All Rights Reserved.