com.sabre.redapp.example.cf.highlight Sample
com.sabre.redapp.example.cf.highlight sample includes the following functionalities:
-
extracting highlighted text from the last active emulator
Running the Sample:
-
In Eclipse, import the com.sabre.redapp.example.cf.highlight plug-in into your workspace and add it to your run configuration.
-
Launch Sabre Red 360 from your run configuration, and log in with your CERT Sabre ID.
-
Highlight some text in any emulator work area.
![sample1](/sites/default/files/books/Images_sample1.png)
-
From the Tools > Other menu in Sabre Red 360, choose Highlight Extractor. Click "Get Emulator Highlight". The highlighted text should be displayed in the editor page:
![sample2](/sites/default/files/books/Images_sample2.png)
If nothing is highlighted in the last active emulator work area the following message will be displayed:
![sample3](/sites/default/files/books/Images_sample3.png)