Annotation Type WorkbenchPopup


  • @Inherited
    @Retention(RUNTIME)
    @Target(TYPE)
    public @interface WorkbenchPopup
    Classes annotated with this are considered Workbench popups.

    At its simplest form the Class should extend com.google.gwt.user.client.ui.PopupPanel and provide a method annotated with @OnOpen.

    Developers wishing to separate view from logic (perhaps by implementing the MVP pattern) can further provide a zero-argument method annotated with @WorkbenchPartView with return type com.google.gwt.user.client.ui.PopupPanel.

    In this latter case the @WorkbenchPopup need not extend com.google.gwt.user.client.ui.PopupPanel.

    WorkbechPopups can receive the following life-cycle calls:

    • @OnOpen