@Dependent public class HtmlEditor extends BaseEditor
baseView, changeTitleNotification, concurrentUpdateSessionInfo, fileNameValidator, isReadOnly, menuBuilder, menuItems, menus, notification, originalHash, place, type, versionRecordManager| Constructor and Description |
|---|
HtmlEditor(HtmlResourceType htmlResourceType,
HtmlEditorPresenter editor,
org.jboss.errai.common.client.api.Caller<VFSService> vfsServices,
org.jboss.errai.common.client.api.Caller<DeleteService> deleteService,
org.jboss.errai.common.client.api.Caller<RenameService> renameService,
org.jboss.errai.common.client.api.Caller<CopyService> copyService) |
| Modifier and Type | Method and Description |
|---|---|
protected org.jboss.errai.common.client.api.Caller<? extends SupportsCopy> |
getCopyServiceCaller() |
protected org.jboss.errai.common.client.api.Caller<? extends SupportsDelete> |
getDeleteServiceCaller() |
Menus |
getMenus() |
protected org.jboss.errai.common.client.api.Caller<? extends SupportsRename> |
getRenameServiceCaller() |
com.google.gwt.user.client.ui.IsWidget |
getTitle()
Override this method and use @WorkbenchPartTitleDecoration
|
String |
getTitleText() |
com.google.gwt.user.client.ui.IsWidget |
getView() |
void |
init() |
protected void |
loadContent() |
void |
onStartup(ObservablePath path,
PlaceRequest place) |
protected void |
save()
Needs to be overwritten for save to work
|
getCopyValidator, getRenameValidator, getSaveSuccessCallback, getVersionRecordManager, init, init, init, isDirty, makeMenuBar, mayClose, onRename, onRestore, onSave, onValidate, reload, setOriginalHash, showConcurrentUpdatePopup, showVersions@Inject public HtmlEditor(HtmlResourceType htmlResourceType, HtmlEditorPresenter editor, org.jboss.errai.common.client.api.Caller<VFSService> vfsServices, org.jboss.errai.common.client.api.Caller<DeleteService> deleteService, org.jboss.errai.common.client.api.Caller<RenameService> renameService, org.jboss.errai.common.client.api.Caller<CopyService> copyService)
@PostConstruct public void init()
public void onStartup(ObservablePath path, PlaceRequest place)
protected void loadContent()
loadContent in class BaseEditorprotected void save()
BaseEditorsave in class BaseEditorprotected org.jboss.errai.common.client.api.Caller<? extends SupportsDelete> getDeleteServiceCaller()
getDeleteServiceCaller in class BaseEditorprotected org.jboss.errai.common.client.api.Caller<? extends SupportsRename> getRenameServiceCaller()
getRenameServiceCaller in class BaseEditorprotected org.jboss.errai.common.client.api.Caller<? extends SupportsCopy> getCopyServiceCaller()
getCopyServiceCaller in class BaseEditorpublic com.google.gwt.user.client.ui.IsWidget getTitle()
BaseEditorgetTitle in class BaseEditorpublic String getTitleText()
getTitleText in class BaseEditorpublic Menus getMenus()
public com.google.gwt.user.client.ui.IsWidget getView()
Copyright © 2012–2016 JBoss by Red Hat. All rights reserved.