Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.ui.views.typehierarchy
Class TypeHierarchyView

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 eu.esdihumboldt.hale.ui.views.properties.PropertiesViewPart
                  extended by eu.esdihumboldt.hale.ui.views.typehierarchy.TypeHierarchyView
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, org.eclipse.ui.views.properties.tabbed.ITabbedPropertySheetPageContributor

public class TypeHierarchyView
extends PropertiesViewPart

View that shows the hierarchy of a TypeDefinition

Author:
Simon Templer

Field Summary
static String ID
          The ID of the view
 
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
 
Constructor Summary
TypeHierarchyView()
           
 
Method Summary
 void createViewControl(org.eclipse.swt.widgets.Composite parent)
          Since createPartControl does an important job this is used for subclasses.
 void dispose()
           
protected  String getViewContext()
          Get the view's dynamic help context identifier.
 void setFocus()
           
 void setType(TypeDefinition type)
           
protected  void update(org.eclipse.jface.viewers.ISelection selection)
          Update the hierarchy view with the given selection
 
Methods inherited from class eu.esdihumboldt.hale.ui.views.properties.PropertiesViewPart
createPartControl, getAdapter, getContributorId
 
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, 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
 

Field Detail

ID

public static final String ID
The ID of the view

See Also:
Constant Field Values
Constructor Detail

TypeHierarchyView

public TypeHierarchyView()
Method Detail

getViewContext

protected String getViewContext()
Description copied from class: PropertiesViewPart
Get the view's dynamic help context identifier.

Overrides:
getViewContext in class PropertiesViewPart
Returns:
the context id or null
See Also:
PropertiesViewPart.getViewContext()

createViewControl

public void createViewControl(org.eclipse.swt.widgets.Composite parent)
Description copied from class: PropertiesViewPart
Since createPartControl does an important job this is used for subclasses.

Specified by:
createViewControl in class PropertiesViewPart
Parameters:
parent - the parent control
See Also:
PropertiesViewPart.createViewControl(org.eclipse.swt.widgets.Composite)

update

protected void update(org.eclipse.jface.viewers.ISelection selection)
Update the hierarchy view with the given selection

Parameters:
selection - the selection

setFocus

public void setFocus()
Specified by:
setFocus in interface org.eclipse.ui.IWorkbenchPart
Specified by:
setFocus in class org.eclipse.ui.part.WorkbenchPart
See Also:
WorkbenchPart.setFocus()

dispose

public void dispose()
Specified by:
dispose in interface org.eclipse.ui.IWorkbenchPart
Overrides:
dispose in class org.eclipse.ui.part.WorkbenchPart
See Also:
WorkbenchPart.dispose()

setType

public void setType(TypeDefinition type)
Parameters:
type - the TypeDefinition to set

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d