public class GlobalsEditorPresenter
extends org.kie.workbench.common.widgets.metadata.client.KieEditor
| Modifier and Type | Field and Description |
|---|---|
protected org.jboss.errai.common.client.api.Caller<GlobalsEditorService> |
globalsEditorService |
protected org.kie.workbench.common.widgets.client.popups.validation.ValidationPopup |
validationPopup |
protected org.jboss.errai.common.client.api.Caller<org.kie.workbench.common.services.shared.validation.ValidationService> |
validationService |
copyPopUpPresenter, deletePopUpPresenter, fileMenuBuilder, kieView, metadata, overviewWidget, projectController, renamePopUpPresenter, savePopUpPresenter, workbenchContextbaseView, changeTitleNotification, concurrentDeleteAcceptedEvent, concurrentDeleteIgnoredEvent, concurrentRenameAcceptedEvent, concurrentRenameIgnoredEvent, concurrentUpdateSessionInfo, fileNameValidator, isReadOnly, menuBuilder, menuItems, menus, originalHash, place, placeManager, versionRecordManager| Constructor and Description |
|---|
GlobalsEditorPresenter() |
GlobalsEditorPresenter(GlobalsEditorView baseView) |
| Modifier and Type | Method and Description |
|---|---|
org.uberfire.workbench.model.menu.Menus |
getMenus() |
protected org.jboss.errai.common.client.api.RemoteCallback<GlobalsEditorContent> |
getModelSuccessCallback() |
com.google.gwt.user.client.ui.IsWidget |
getTitle() |
String |
getTitleText() |
com.google.gwt.user.client.ui.IsWidget |
getWidget() |
protected void |
loadContent() |
protected void |
makeMenuBar() |
boolean |
mayClose() |
void |
onClose() |
protected void |
onDelete() |
void |
onSourceTabSelected() |
void |
onStartup(org.uberfire.backend.vfs.ObservablePath path,
org.uberfire.mvp.PlaceRequest place) |
protected org.uberfire.mvp.Command |
onValidate() |
protected void |
save() |
addImportsTab, addPage, addSourcePage, buildMenuBar, canUpdateProject, createOriginalHash, getCouldNotGenerateSourceErrorCallback, getNoSuchFileExceptionErrorCallback, getSelectedTabIndex, init, init, init, init, isEditorTabSelected, isOverviewTabSelected, mayClose, mayClose, OnClose, onEditTabSelected, onEditTabUnselected, onOverviewSelected, onRepositoryRemoved, resetEditorPages, save, selectEditorTab, selectOverviewTab, setOriginalHash, setSelectedTab, showVersions, updateSourcegetCopyServiceCaller, getCopyValidator, getDeleteServiceCaller, getRenameServiceCaller, getRenameValidator, getSaveSuccessCallback, getVersionRecordManager, init, isDirty, onRename, onRestore, onSave, reload, showConcurrentUpdatePopup@Inject protected org.jboss.errai.common.client.api.Caller<GlobalsEditorService> globalsEditorService
@Inject protected org.jboss.errai.common.client.api.Caller<org.kie.workbench.common.services.shared.validation.ValidationService> validationService
@Inject protected org.kie.workbench.common.widgets.client.popups.validation.ValidationPopup validationPopup
public GlobalsEditorPresenter()
@Inject public GlobalsEditorPresenter(GlobalsEditorView baseView)
public void onStartup(org.uberfire.backend.vfs.ObservablePath path,
org.uberfire.mvp.PlaceRequest place)
protected void makeMenuBar()
makeMenuBar in class org.kie.workbench.common.widgets.metadata.client.KieEditorprotected void loadContent()
loadContent in class org.uberfire.ext.editor.commons.client.BaseEditorprotected org.jboss.errai.common.client.api.RemoteCallback<GlobalsEditorContent> getModelSuccessCallback()
protected org.uberfire.mvp.Command onValidate()
onValidate in class org.uberfire.ext.editor.commons.client.BaseEditorprotected void save()
save in class org.kie.workbench.common.widgets.metadata.client.KieEditorprotected void onDelete()
public void onSourceTabSelected()
onSourceTabSelected in interface org.kie.workbench.common.widgets.metadata.client.KieEditorWrapperView.KieEditorWrapperPresenteronSourceTabSelected in class org.kie.workbench.common.widgets.metadata.client.KieEditorpublic com.google.gwt.user.client.ui.IsWidget getWidget()
getWidget in class org.kie.workbench.common.widgets.metadata.client.KieEditorpublic void onClose()
@OnMayClose public boolean mayClose()
public com.google.gwt.user.client.ui.IsWidget getTitle()
getTitle in class org.uberfire.ext.editor.commons.client.BaseEditorpublic String getTitleText()
getTitleText in class org.uberfire.ext.editor.commons.client.BaseEditorpublic org.uberfire.workbench.model.menu.Menus getMenus()
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.