public class EcoreEditor extends GenericEditor
Constructor and Description |
---|
EcoreEditor() |
Modifier and Type | Method and Description |
---|---|
protected DiagnosticCache |
createDiangosticCache(org.eclipse.emf.common.notify.Notifier input)
Creates the diagnostic cache.
|
protected TreeMasterDetailComposite |
createTreeMasterDetail(org.eclipse.swt.widgets.Composite composite,
Object editorInput,
CreateElementCallback createElementCallback)
This method creates a tree master detail.
|
protected boolean |
enableValidation() |
protected String |
getContextId()
Returns the context id set for this editor.
|
protected CreateElementCallback |
getCreateElementCallback()
Returns the createElementCallback for this editor.
|
protected String |
getEditorTitle()
Returns the title for the currently displayed editor.
|
adjustErrorMarker, createPartControl, createRootView, deleteMarkers, dispose, doSave, doSaveAs, getCommandStack, getDiagnosticCache, getEditingDomain, getResourceLoadOptions, getResourceSaveOptions, getResourceSet, getToolbarActions, gotoMarker, handleResourceChange, hasShortcuts, init, isClosing, isDirty, isSaveAsAllowed, loadResource, modifyEditorInput, postSave, preSave, readToolbarActions, removeResources, reveal, setClosing, setFocus, verifyEditorResource
checkSite, getEditorInput, getEditorSite, getTitleToolTip, isSaveOnCloseNeeded, setContentDescription, setInitializationData, setInput, setInputWithNotify, setPartName
addPartPropertyListener, addPropertyListener, firePartPropertyChanged, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected CreateElementCallback getCreateElementCallback()
GenericEditor
getCreateElementCallback
in class GenericEditor
protected String getEditorTitle()
GenericEditor
getEditorTitle
in class GenericEditor
protected TreeMasterDetailComposite createTreeMasterDetail(org.eclipse.swt.widgets.Composite composite, Object editorInput, CreateElementCallback createElementCallback)
GenericEditor
createTreeMasterDetail
in class GenericEditor
composite
- the parent compositeeditorInput
- the editor inputcreateElementCallback
- the create element callback to addTreeMasterDetailComposite
protected DiagnosticCache createDiangosticCache(org.eclipse.emf.common.notify.Notifier input)
GenericEditor
createDiangosticCache
in class GenericEditor
input
- the inputprotected String getContextId()
GenericEditor
getContextId
in class GenericEditor
protected boolean enableValidation()
enableValidation
in class GenericEditor
Copyright © 2019. All rights reserved.