Search in sources :

Example 6 with BasicFileMenuBuilder

use of org.uberfire.ext.editor.commons.client.menu.BasicFileMenuBuilder in project drools-wb by kiegroup.

the class GuidedDecisionTableEditorMenusTest method getBasicFileMenuBuilder.

private BasicFileMenuBuilder getBasicFileMenuBuilder() {
    final BasicFileMenuBuilder basicFileMenuBuilder = new BasicFileMenuBuilderImpl(deletePopUpPresenter, copyPopUpPresenter, renamePopUpPresenter, busyIndicatorView, notification, restoreVersionCommandProvider);
    setField(basicFileMenuBuilder, "restoreVersionCommandProvider", restoreVersionCommandProvider);
    setField(basicFileMenuBuilder, "notification", notificationEvent);
    setField(restoreVersionCommandProvider, "busyIndicatorView", view);
    return basicFileMenuBuilder;
}
Also used : BasicFileMenuBuilderImpl(org.uberfire.ext.editor.commons.client.menu.BasicFileMenuBuilderImpl) BasicFileMenuBuilder(org.uberfire.ext.editor.commons.client.menu.BasicFileMenuBuilder)

Aggregations

BasicFileMenuBuilder (org.uberfire.ext.editor.commons.client.menu.BasicFileMenuBuilder)6 BasicFileMenuBuilderImpl (org.uberfire.ext.editor.commons.client.menu.BasicFileMenuBuilderImpl)6 FileMenuBuilder (org.kie.workbench.common.widgets.client.menu.FileMenuBuilder)3 FileMenuBuilderImpl (org.kie.workbench.common.widgets.client.menu.FileMenuBuilderImpl)3