public class GenModelEditor extends GenericEditor
Constructor and Description |
---|
GenModelEditor() |
Modifier and Type | Method and Description |
---|---|
protected TreeMasterDetailComposite |
createTreeMasterDetail(org.eclipse.swt.widgets.Composite composite,
Object editorInput,
CreateElementCallback createElementCallback)
This method creates a tree master detail.
|
String |
getEditorTitle()
Returns the title for the currently displayed editor.
|
protected Object |
modifyEditorInput(org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
Allows to modify the input object for the editor.
|
adjustErrorMarker, createDiangosticCache, createPartControl, createRootView, deleteMarkers, dispose, doSave, doSaveAs, enableValidation, getCommandStack, getContextId, getCreateElementCallback, getDiagnosticCache, getEditingDomain, getResourceLoadOptions, getResourceSaveOptions, getResourceSet, getToolbarActions, gotoMarker, handleResourceChange, hasShortcuts, init, isClosing, isDirty, isSaveAsAllowed, loadResource, 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
public String getEditorTitle()
GenericEditor
getEditorTitle
in class GenericEditor
protected Object modifyEditorInput(org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
GenericEditor
modifyEditorInput
in class GenericEditor
resourceSet
- the resourceSet which is the default editor inputprotected TreeMasterDetailComposite createTreeMasterDetail(org.eclipse.swt.widgets.Composite composite, Object editorInput, CreateElementCallback createElementCallback)
createTreeMasterDetail
in class GenericEditor
composite
- the parent compositeeditorInput
- the editor inputcreateElementCallback
- the create element callback to addTreeMasterDetailComposite
GenericEditor.createTreeMasterDetail(org.eclipse.swt.widgets.Composite,
java.lang.Object, org.eclipse.emfforms.spi.swt.treemasterdetail.util.CreateElementCallback)
Copyright © 2019. All rights reserved.