Modelers

org.topcased.search.ui.services
Class ModelExtensibleSearchQueryTabExtensionManager

java.lang.Object
  extended by AbstractExtensionManager
      extended by org.topcased.search.ui.services.ModelExtensibleSearchQueryTabExtensionManager

public class ModelExtensibleSearchQueryTabExtensionManager
extends AbstractExtensionManager

Listen to extension point registry to handle modelSearchQueryTab contribution lifcycle.


Field Summary
static java.lang.String TOPCASED_UI_MODEL_SEARCH_QUERY_TABS_EXT_POINT_ID
           
 
Constructor Summary
protected ModelExtensibleSearchQueryTabExtensionManager()
           
 
Method Summary
protected  void addExtension(org.eclipse.core.runtime.IExtension extension)
           
 QueryTabDescriptor find(java.lang.String id)
          Find a descriptor in the registry.
static ModelExtensibleSearchQueryTabExtensionManager getInstance()
          Get the shared instance.
 QueryTabDescriptor[] getModelSearchQueryAreas()
          Get an enumeration of validator descriptors.
protected  void removeExtension(org.eclipse.core.runtime.IExtension extension)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TOPCASED_UI_MODEL_SEARCH_QUERY_TABS_EXT_POINT_ID

public static final java.lang.String TOPCASED_UI_MODEL_SEARCH_QUERY_TABS_EXT_POINT_ID
Constructor Detail

ModelExtensibleSearchQueryTabExtensionManager

protected ModelExtensibleSearchQueryTabExtensionManager()
Method Detail

getInstance

public static ModelExtensibleSearchQueryTabExtensionManager getInstance()
Get the shared instance.

Returns:
the validators manager

find

public QueryTabDescriptor find(java.lang.String id)
Find a descriptor in the registry.

Parameters:
id - the searched validator id
Returns:
the validator or null if not found

getModelSearchQueryAreas

public QueryTabDescriptor[] getModelSearchQueryAreas()
Get an enumeration of validator descriptors.

Returns:
The registered validators

addExtension

protected void addExtension(org.eclipse.core.runtime.IExtension extension)
See Also:
org.topcased.facilities.extensions.AbstractExtensionManager#addExtension(org.eclipse.core.runtime.IExtension)

removeExtension

protected void removeExtension(org.eclipse.core.runtime.IExtension extension)
See Also:
org.topcased.facilities.extensions.AbstractExtensionManager#removeExtension(org.eclipse.core.runtime.IExtension)

Modelers

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.