public abstract class AbstractProjectDiagramEditorMenuItemsBuilder extends Object
| Modifier and Type | Field and Description |
|---|---|
protected PopupUtil |
popupUtil |
protected ClientTranslationService |
translationService |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractProjectDiagramEditorMenuItemsBuilder() |
|
AbstractProjectDiagramEditorMenuItemsBuilder(ClientTranslationService translationService,
PopupUtil popupUtil) |
| Modifier and Type | Method and Description |
|---|---|
static org.uberfire.workbench.model.menu.MenuItem |
buildItem(com.google.gwt.user.client.ui.IsWidget widget) |
protected abstract String |
getExportAsRawLabel() |
PopupUtil |
getPopupUtil() |
ClientTranslationService |
getTranslationService() |
org.uberfire.workbench.model.menu.MenuItem |
newClearItem(org.uberfire.mvp.Command command)
Builds a menu item with a clear icon and executes the given callback.
|
org.uberfire.workbench.model.menu.MenuItem |
newCopyItem(org.uberfire.mvp.Command command) |
org.uberfire.workbench.model.menu.MenuItem |
newCutItem(org.uberfire.mvp.Command command) |
org.uberfire.workbench.model.menu.MenuItem |
newDeleteSelectionItem(org.uberfire.mvp.Command command) |
org.uberfire.workbench.model.menu.MenuItem |
newExportsItem(org.uberfire.mvp.Command exportPNGCommand,
org.uberfire.mvp.Command exportJPGCommand,
org.uberfire.mvp.Command exportSVGCommand,
org.uberfire.mvp.Command exportPDFCommand,
org.uberfire.mvp.Command exportAsRawCommand) |
org.uberfire.workbench.model.menu.MenuItem |
newPasteItem(org.uberfire.mvp.Command command) |
org.uberfire.workbench.model.menu.MenuItem |
newRedoItem(org.uberfire.mvp.Command command) |
org.uberfire.workbench.model.menu.MenuItem |
newSwitchGridItem(org.uberfire.mvp.Command command) |
org.uberfire.workbench.model.menu.MenuItem |
newUndoItem(org.uberfire.mvp.Command command) |
org.uberfire.workbench.model.menu.MenuItem |
newValidateItem(org.uberfire.mvp.Command command) |
org.uberfire.workbench.model.menu.MenuItem |
newVisitGraphItem(org.uberfire.mvp.Command command) |
protected final ClientTranslationService translationService
protected final PopupUtil popupUtil
protected AbstractProjectDiagramEditorMenuItemsBuilder()
public AbstractProjectDiagramEditorMenuItemsBuilder(ClientTranslationService translationService, PopupUtil popupUtil)
public org.uberfire.workbench.model.menu.MenuItem newVisitGraphItem(org.uberfire.mvp.Command command)
public org.uberfire.workbench.model.menu.MenuItem newSwitchGridItem(org.uberfire.mvp.Command command)
public org.uberfire.workbench.model.menu.MenuItem newClearItem(org.uberfire.mvp.Command command)
public org.uberfire.workbench.model.menu.MenuItem newCopyItem(org.uberfire.mvp.Command command)
public org.uberfire.workbench.model.menu.MenuItem newPasteItem(org.uberfire.mvp.Command command)
public org.uberfire.workbench.model.menu.MenuItem newCutItem(org.uberfire.mvp.Command command)
public org.uberfire.workbench.model.menu.MenuItem newDeleteSelectionItem(org.uberfire.mvp.Command command)
public org.uberfire.workbench.model.menu.MenuItem newUndoItem(org.uberfire.mvp.Command command)
public org.uberfire.workbench.model.menu.MenuItem newRedoItem(org.uberfire.mvp.Command command)
public org.uberfire.workbench.model.menu.MenuItem newExportsItem(org.uberfire.mvp.Command exportPNGCommand,
org.uberfire.mvp.Command exportJPGCommand,
org.uberfire.mvp.Command exportSVGCommand,
org.uberfire.mvp.Command exportPDFCommand,
org.uberfire.mvp.Command exportAsRawCommand)
protected abstract String getExportAsRawLabel()
public org.uberfire.workbench.model.menu.MenuItem newValidateItem(org.uberfire.mvp.Command command)
public static org.uberfire.workbench.model.menu.MenuItem buildItem(com.google.gwt.user.client.ui.IsWidget widget)
public ClientTranslationService getTranslationService()
public PopupUtil getPopupUtil()
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.