Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
EMF Search UI Extensibility---org.eclipse.emf.search.ui.modelSearchQueryTab
org.eclipse.emf.search.ui.modelSearchQueryTab
Users wanting to contribute a query tab into the model search pages must extend modelSearchQueryTab. As a result users would be able to define Text queries input.
* queryCompositeAreaFactory - IModelSearchAreaFactory implementation which intends to create a Composite that would be the user defined query editor/input area. * id - ID to be reused by other extensions in order to refer to this query Tab. * label - A pertinent localized name to be displayed in the query tab. * tooltip - A pertinent localized name to be displayed as tooltip of the tab. * index - 0 based index where the tab will tentatively be inserted. * image - A meaningfull query image to be displayed in the defined query tab. * targetSearchPageID - An existing target search page ID the user wants to contribute his queryTab to.
<extension point="org.eclipse.emf.search.ui.modelSearchQueryTab"> <queryTab id="search.ui.MoviesDbPlainTextSearchID" image="icons/textQuery.gif" index="0" label="%ModelSearchParticipantArea.MoviesDbPlainTextSearchExtPoint.Label" queryCompositeAreaFactory="org.eclipse.emf.search.ecore.ui.factories.EcoreTextModelSearchQueryAreaFactory" targetSearchPageID="search.ui.pages.MoviesDbModelSearchPageID" tooltip="%MoviesDbPlainTextSearchExtPoint.Tooltip"/> </extension>