Interface EntryPoint

All Known Implementing Classes:
AbstractEntryPoint

public interface EntryPoint
An entrypoint creates the main UI of a RAP application. It is registered with the framework and mapped to a URL path. The framework will create a separate instance of an entrypoint for every UI session.

It is recommended to extend AbstractEntryPoint rather than to implement this interface.

Since:
2.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    This method is called to initialize the UI.
  • Method Details

    • createUI

      int createUI()
      This method is called to initialize the UI. Implementations will create a display, one or more shells, and add content. If and only if the application is supposed to run in SWT_COMPATIBILITY mode, this methods must run the SWT main loop if.
      Returns:
      exit status, reserved for future use