public class MEEditorPage
extends org.eclipse.ui.forms.editor.FormPage
MEEditor
.Constructor and Description |
---|
MEEditorPage(MEEditor editor,
String id,
String title,
ECPEditorContext ecpEditorContext,
org.eclipse.emf.ecore.EObject modelElement)
Default constructor.
|
MEEditorPage(MEEditor editor,
String id,
String title,
ECPEditorContext modelElementContext,
org.eclipse.emf.ecore.EObject modelElement,
org.eclipse.emf.ecore.EStructuralFeature problemFeature)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
createFormContent(org.eclipse.ui.forms.IManagedForm managedForm) |
void |
dispose() |
void |
setFocus()
This method is added to solve the focus bug of navigator.
|
void |
updateSectionTitle()
Updates the name of the section.
|
canLeaveThePage, createPartControl, doSave, doSaveAs, getEditor, getId, getIndex, getManagedForm, getPartControl, getTitleImage, init, initialize, isActive, isDirty, isEditor, isSaveAsAllowed, selectReveal, setActive, setIndex
checkSite, getEditorInput, getEditorSite, getTitleToolTip, isSaveOnCloseNeeded, setContentDescription, setInitializationData, setInput, setInputWithNotify, setPartName
addPartPropertyListener, addPropertyListener, firePartPropertyChanged, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, 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 MEEditorPage(MEEditor editor, String id, String title, ECPEditorContext ecpEditorContext, org.eclipse.emf.ecore.EObject modelElement)
editor
- the MEEditor
id
- the FormPage.id
title
- the titleecpEditorContext
- the ECPEditorContext
modelElement
- the modelElementpublic MEEditorPage(MEEditor editor, String id, String title, ECPEditorContext modelElementContext, org.eclipse.emf.ecore.EObject modelElement, org.eclipse.emf.ecore.EStructuralFeature problemFeature)
editor
- the MEEditor
id
- the FormPage.id
title
- the titlemodelElementContext
- the ECPEditorContext
modelElement
- the modelElementproblemFeature
- the problemFeatureprotected void createFormContent(org.eclipse.ui.forms.IManagedForm managedForm)
createFormContent
in class org.eclipse.ui.forms.editor.FormPage
public void updateSectionTitle()
public void setFocus()
setFocus
in interface org.eclipse.ui.IWorkbenchPart
setFocus
in class org.eclipse.ui.forms.editor.FormPage
public void dispose()
dispose
in interface org.eclipse.ui.IWorkbenchPart
dispose
in class org.eclipse.ui.forms.editor.FormPage
Copyright © 2017. All rights reserved.