public interface ExternalPerspectiveEditorComponent
Components must provide a Workbench place name plus a widget for editing and configuring the place request parameters. The Perspective Editor will persist the place request created by this component along with the perspective definition. During perspective rendering, the workbench will process every place request found within the perspective.
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.user.client.ui.IsWidget |
getConfig()
The widget in charge of editing the place request parameters.
|
Map<String,String> |
getParametersMap()
The place request parameters.
|
String |
getPlaceName()
The name of the Workbench Place tied to this external component.
|
com.google.gwt.user.client.ui.IsWidget |
getPreview(Map<String,String> parameters)
Provides a quick preview representation of the Place being configured.
|
void |
modalSettings(org.gwtbootstrap3.client.ui.Modal popup)
Change the popup widget settings to fit the component editor needs.
|
void |
setup(String placeName,
Map<String,String> parameters)
Initialize the editor component from an existing place request definition.
|
void setup(String placeName, Map<String,String> parameters)
placeName - The place nameparameters - The place parametersString getPlaceName()
com.google.gwt.user.client.ui.IsWidget getConfig()
It will be added and displayed inside the perspective editor popup panel.
com.google.gwt.user.client.ui.IsWidget getPreview(Map<String,String> parameters)
parameters - The Place request parameters.void modalSettings(org.gwtbootstrap3.client.ui.Modal popup)
Copyright © 2012–2017 JBoss by Red Hat. All rights reserved.