Skip Navigation

About the Highlight Service

A Red App can use the Highlight Service to extract a chunk of text that is highlighted (selected) in the emulator area.

com.sabre.edge.cf.emu.HighlightExtractorService service

The HighlightExtractor Service sends a request to emulator and receives the highlighted text in response. Highlighted text is taken from the last active emulator work area. It means that when Area A is opened, and some text is highlighted there this text will be returned in the response even if the user left the emulator area (for example by opening a Red App). If user works with emulator in two areas: Area A and Area B highlighted text will be taken from the last active area. If nothing is selected in the last active emulator area NULL is returned in the response.

Both Eclipse and Sabre Red 360 have defined some dependencies and classes for emulator communications that are required to extract highlighted text from emulator. These requirements are applicable:

Minimal dependencies:

  •   com.sabre.edge.cf.core

  •   com.sabre.edge.cf.model

  •   com.sabre.edge.cf.emu