Search in sources :

Example 1 with BasicFileMenuBuilder

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

the class KieMultipleDocumentEditorTestBase 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", editorView);
    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 BasicFileMenuBuilder

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

the class BaseGuidedDecisionTablePresenterTest method getFileMenuBuilder.

private FileMenuBuilder getFileMenuBuilder() {
    final FileMenuBuilder fileMenuBuilder = new FileMenuBuilderImpl();
    setField(fileMenuBuilder, "menuBuilder", basicFileMenuBuilder);
    return fileMenuBuilder;
}
Also used : BasicFileMenuBuilder(org.uberfire.ext.editor.commons.client.menu.BasicFileMenuBuilder) FileMenuBuilder(org.kie.workbench.common.widgets.client.menu.FileMenuBuilder) FileMenuBuilderImpl(org.kie.workbench.common.widgets.client.menu.FileMenuBuilderImpl) BasicFileMenuBuilderImpl(org.uberfire.ext.editor.commons.client.menu.BasicFileMenuBuilderImpl)

Example 3 with BasicFileMenuBuilder

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

the class KieMultipleDocumentEditorTestBase method getFileMenuBuilder.

private FileMenuBuilder getFileMenuBuilder() {
    final FileMenuBuilder fileMenuBuilder = new FileMenuBuilderImpl();
    setField(fileMenuBuilder, "menuBuilder", basicFileMenuBuilder);
    return fileMenuBuilder;
}
Also used : FileMenuBuilder(org.kie.workbench.common.widgets.client.menu.FileMenuBuilder) BasicFileMenuBuilder(org.uberfire.ext.editor.commons.client.menu.BasicFileMenuBuilder) FileMenuBuilderImpl(org.kie.workbench.common.widgets.client.menu.FileMenuBuilderImpl) BasicFileMenuBuilderImpl(org.uberfire.ext.editor.commons.client.menu.BasicFileMenuBuilderImpl)

Example 4 with BasicFileMenuBuilder

use of org.uberfire.ext.editor.commons.client.menu.BasicFileMenuBuilder 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 5 with BasicFileMenuBuilder

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

the class GuidedDecisionTableEditorMenusTest method getFileMenuBuilder.

private FileMenuBuilder getFileMenuBuilder() {
    final FileMenuBuilder fileMenuBuilder = new FileMenuBuilderImpl();
    setField(fileMenuBuilder, "menuBuilder", basicFileMenuBuilder);
    return fileMenuBuilder;
}
Also used : BasicFileMenuBuilder(org.uberfire.ext.editor.commons.client.menu.BasicFileMenuBuilder) FileMenuBuilder(org.kie.workbench.common.widgets.client.menu.FileMenuBuilder) FileMenuBuilderImpl(org.kie.workbench.common.widgets.client.menu.FileMenuBuilderImpl) BasicFileMenuBuilderImpl(org.uberfire.ext.editor.commons.client.menu.BasicFileMenuBuilderImpl)

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