Search in sources :

Example 1 with BasicFileMenuBuilderImpl

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

the class BaseGuidedDecisionTablePresenterTest 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)

Example 2 with BasicFileMenuBuilderImpl

use of org.uberfire.ext.editor.commons.client.menu.BasicFileMenuBuilderImpl 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)2 BasicFileMenuBuilderImpl (org.uberfire.ext.editor.commons.client.menu.BasicFileMenuBuilderImpl)2