@Inherited @Retention(value=RUNTIME) @Target(value=TYPE) public @interface WorkbenchPopup
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
Modifier and Type | Required Element and Description |
---|---|
String |
identifier |
Modifier and Type | Optional Element and Description |
---|---|
WorkbenchPopup.WorkbenchPopupSize |
size |
public abstract String identifier
public abstract WorkbenchPopup.WorkbenchPopupSize size
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.