use of org.kie.workbench.common.widgets.client.docks.DockPlaceHolderPlace in project kie-wb-common by kiegroup.
the class KieEditor method registerDock.
protected void registerDock(final String id, final IsWidget widget) {
final DockPlaceHolderPlace placeRequest = new DockPlaceHolderPlace(id);
placeManager.registerOnOpenCallback(placeRequest, () -> {
if (getDockPresenter(placeRequest).isPresent()) {
getDockPresenter(placeRequest).get().setWidget(widget);
}
});
}
use of org.kie.workbench.common.widgets.client.docks.DockPlaceHolderPlace in project kie-wb-common by kiegroup.
the class TestReportingDocksHandler method provideDocks.
@Override
public Collection<UberfireDock> provideDocks(String perspectiveIdentifier) {
List<UberfireDock> result = new ArrayList<>();
testReportDock = new UberfireDock(UberfireDockPosition.EAST, "PLAY_CIRCLE", new DockPlaceHolderPlace(TEST_RUNNER_REPORTING_PANEL), perspectiveIdentifier);
result.add(testReportDock.withSize(450).withLabel(DefaultWorkbenchConstants.INSTANCE.TestReport()));
return result;
}
use of org.kie.workbench.common.widgets.client.docks.DockPlaceHolderPlace in project kie-wb-common by kiegroup.
the class KieMultipleDocumentEditor method registerDock.
protected void registerDock(final String id, final IsWidget widget) {
final DockPlaceHolderPlace placeRequest = new DockPlaceHolderPlace(id);
registerDock(placeRequest, widget);
}
use of org.kie.workbench.common.widgets.client.docks.DockPlaceHolderPlace in project drools-wb by kiegroup.
the class ScenarioSimulationBusinessCentralDocksHandler method provideDocks.
@Override
public Collection<UberfireDock> provideDocks(String perspectiveIdentifier) {
Collection<UberfireDock> result = super.provideDocks(perspectiveIdentifier);
testRunnerDock = new UberfireDock(UberfireDockPosition.EAST, "PLAY_CIRCLE", new DockPlaceHolderPlace(TEST_RUNNER_REPORTING_PANEL), perspectiveIdentifier);
result.add(testRunnerDock.withSize(450).withLabel(ScenarioSimulationEditorConstants.INSTANCE.testReport()));
coverageDock = new UberfireDock(UberfireDockPosition.EAST, "BAR_CHART", new DefaultPlaceRequest(CoverageReportPresenter.IDENTIFIER), perspectiveIdentifier);
result.add(coverageDock.withSize(450).withLabel(ScenarioSimulationEditorConstants.INSTANCE.coverageReport()));
return result;
}
use of org.kie.workbench.common.widgets.client.docks.DockPlaceHolderPlace in project drools-wb by kiegroup.
the class GuidedDecisionTableDocksHandler method provideDocks.
@Override
public Collection<UberfireDock> provideDocks(final String perspectiveIdentifier) {
final List<UberfireDock> result = new ArrayList<>();
verifierReportDock = new UberfireDock(UberfireDockPosition.EAST, "PLAY_CIRCLE", new DockPlaceHolderPlace(AnalysisDockPlaceHolder.IDENTIFIER, VERIFIER_DOCK), perspectiveIdentifier);
result.add(verifierReportDock.withSize(450).withLabel(AnalysisConstants.INSTANCE.Analysis()));
return result;
}
Aggregations