use of org.uberfire.client.mvp.LockRequiredEvent in project kie-wb-common by kiegroup.
the class DependencySelectorPopupViewImpl method init.
@PostConstruct
public void init() {
dependencyPagedJarTable = dependencyPagedJarTables.get();
dependencyPagedJarTable.addOnSelect(parameter -> {
presenter.onPathSelection(parameter);
lockRequired.fire(new LockRequiredEvent());
});
setTitle("Artifacts");
setBody(dependencyPagedJarTable);
setSize(ModalSize.LARGE);
// Need to refresh the grid to load content after the popup is shown
addShownHandler(shownEvent -> dependencyPagedJarTable.search());
}
use of org.uberfire.client.mvp.LockRequiredEvent in project kie-wb-common by kiegroup.
the class DataObjectBrowser method onNewProperty.
@Override
public void onNewProperty() {
lockRequiredEvent.fire(new LockRequiredEvent());
if (getContext() != null) {
newFieldPopup.init(getContext());
newFieldPopup.show();
}
}
Aggregations