Skip navigation links

Package info.textgrid.lab.search

The Lab encapsulation of the TG-search functionality.

See: Description

Package info.textgrid.lab.search Description

The Lab encapsulation of the TG-search functionality.

Example

As a usage example, here is some code from the XML editor that displays all XML Schemas available to the user. The original code can be found in info.textgrid.lab.xmleditor.dialogs.SelectSchemaPage.
 schemaTable = new TextGridObjectTableViewer(control, SWT.SINGLE
                                | SWT.FULL_SELECTION | SWT.VIRTUAL);
 // ... format the table viewer ...
                ResultHolder resultHolder = new ResultHolder();
                TextGridQuery query = new TextGridQuery(resultHolder);
                Map<String, String> queryFields = new HashMap<String, String>();
                queryFields.put("format", "text/xsd+xml");
                query.setQueryMetadata(queryFields);
                schemaTable.setInput(resultHolder);
 

Subpackages

info.textgrid.lab.search.restclient
contains a lower-level client for TG-search's REST interface.
Skip navigation links