Skip to main content

Red App Sample Plug-ins

Sabre Red 360 Developer Toolkit includes the following sample plug-ins. The format of file names for the archives is `com.sabre.redapp.example.`xxx.

com.sabre.redapp.example.browser - Incorporates browser technologies, event listening for EMU_EVENT_001, communications with SRWRuntime communications from a web app, automatic unpacking and copying of files, and ConfigService

com.sabre.redapp.example.cf.billing - Demonstrates the Billing API usage in Java and JavaScript code

com.sabre.redapp.example.cf.emu - Demonstrates the ShowInEmulator and ExecuteInEmulator communications services, and retrieval of agent work area data

com.sabre.redapp.example.cf.emu.bridge - Demonstrates the Sabre emulator intercept and markup services

com.sabre,redapp.example.cf.email - Demonstrates EmailService communication service

com.sabre.redapp.example.cf.event - Demonstrates asynchronous listening for events

com.sabre.redapp.example.cf.host - Sends Sabre GDS (host) commands directly to the Sabre GDS and provides the Encode/Decode Service

com.sabre.redapp.example.cf.sds - Sends the 1DFWLAX command to the Sabre  GDS (host) and returns a response in SDS format

com.sabre.redapp.example.cf.rest2sg - Demonstrates sending and wrapping a Sabre Web Services REST request using the Sabre Web Services communications service. It locks the session while the service is running

com.sabre.redapp.example.cf.sws - Demonstrates sending and wrapping a Sabre Web Services SOAP request using the Sabre Web Services communications service. It locks the session while the service is running

com.sabre.redapp.example.cf.webapp.services - Wraps a JavaScript based web app with the command intercept and markup services

com.sabre.redapp.example.conditional.activation - Illustrates the display of menu entries conditionally, based on an active workbench element. This is an example of advanced conditional activation.

com.sabre.redapp.example.editor.basic - Incorporates a basic editor, basic menu contributions, notification services, and status lines

com.sabre.redapp.example.firstrun - Performs an action on the first launch of a plug-in by displaying a pop-up dialog

com.sabre.redapp.example.logger - Demonstrates the use of all features in the ILoggerService class

com.sabre.redapp.example.longrunning - Long running operation in a plug-in outside the UI thread

com.sabre.redapp.example.resources - Use of resources in a plug-in and the workspace

com.sabre.redapp.example.scribe - Includes a Sabre Scribe script that triggers a hidden script, and the ability to read and write to and from files in a plug-in. Active listening for commands is also incorporated into this sample.

com.sabre.redapp.example.swing - Swing app with one-way communication from Swing to SWT

com.sabre.redapp.example.swt - Demonstrates workbench elements within Sabre Red 360

com.sabre.redapp.example.view.basic - Incorporates vertical and horizontal views with application sidebar properties, Agent Profile service, and internationalization services

com.sabre.redapp.example.cf.highlight - Demonstrates usage of com.sabre.edge.cf.emu.HighlightExtractorService

com.sabre.redapp.example.webkit - WebKit based application showing examples of embedding WebKit in editors and views, usage of JavaScript APIs exposed by Sabre Red 360 and triggering JavaScript functions by Communication Framework Events and Services.

com.sabre.redapp.example.cf.webkit.webapp.services - Wraps a JavaScript based WebKit application with the command intercept and markup services