Modelers

org.topcased.search.ui.services
Class ModelExtensibleSearchParticipantTabExtensionManager

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

public class ModelExtensibleSearchParticipantTabExtensionManager
extends AbstractExtensionManager

Listen to extension point registry to handle modelSearchParticipantTab contribution lifcycle.


Field Summary
static java.lang.String TOPCASED_UI_MODEL_SEARCH_PARTICIPANT_TABS_EXT_POINT_ID
           
 
Constructor Summary
protected ModelExtensibleSearchParticipantTabExtensionManager()
           
 
Method Summary
protected  void addExtension(org.eclipse.core.runtime.IExtension extension)
           
 ParticipantTabDescriptor find(java.lang.String id)
          Find a descriptor in the registry.
static ModelExtensibleSearchParticipantTabExtensionManager getInstance()
          Get the shared instance.
 ParticipantTabDescriptor[] getModelSearchParticipantDescriptors()
          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_PARTICIPANT_TABS_EXT_POINT_ID

public static final java.lang.String TOPCASED_UI_MODEL_SEARCH_PARTICIPANT_TABS_EXT_POINT_ID
Constructor Detail

ModelExtensibleSearchParticipantTabExtensionManager

protected ModelExtensibleSearchParticipantTabExtensionManager()
Method Detail

getInstance

public static ModelExtensibleSearchParticipantTabExtensionManager getInstance()
Get the shared instance.

Returns:
the validators manager

find

public ParticipantTabDescriptor 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

getModelSearchParticipantDescriptors

public ParticipantTabDescriptor[] getModelSearchParticipantDescriptors()
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.