Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.ui
Class HALEContextProvider

java.lang.Object
  extended by eu.esdihumboldt.hale.ui.common.help.SelectionContextProvider
      extended by eu.esdihumboldt.hale.ui.HALEContextProvider
All Implemented Interfaces:
org.eclipse.help.IContextProvider

public class HALEContextProvider
extends SelectionContextProvider

Selection context provider for selection containing objects from the HALE models, e.g. the schema, instance and alignment models.

Author:
Simon Templer

Field Summary
 
Fields inherited from interface org.eclipse.help.IContextProvider
NONE, SELECTION
 
Constructor Summary
HALEContextProvider(org.eclipse.jface.viewers.ISelectionProvider selectionProvider, String defaultContextId)
           
 
Method Summary
protected  String getContextId(Object object)
          Get the context ID for the given selected object.
 
Methods inherited from class eu.esdihumboldt.hale.ui.common.help.SelectionContextProvider
getContext, getContextChangeMask, getSearchExpression, getSelectionContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HALEContextProvider

public HALEContextProvider(org.eclipse.jface.viewers.ISelectionProvider selectionProvider,
                           String defaultContextId)
See Also:
SelectionContextProvider.SelectionContextProvider(ISelectionProvider, String)
Method Detail

getContextId

protected String getContextId(Object object)
Description copied from class: SelectionContextProvider
Get the context ID for the given selected object.

Specified by:
getContextId in class SelectionContextProvider
Parameters:
object - the selected object
Returns:
the context ID or null if none is available
See Also:
SelectionContextProvider.getContextId(Object)

Humboldt Alignment Editor 2.5.0

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