|
EGF Engine Release 0.1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectSharedHeaderFormEditor
org.eclipse.egf.pattern.ui.editor.PatternEditor
public class PatternEditor
Pattern editor.
| Field Summary | |
|---|---|
static String |
ID
Editor id. |
| Constructor Summary | |
|---|---|
PatternEditor()
|
|
| Method Summary | |
|---|---|
int |
addPage(IFormPage page_p)
|
protected void |
addPages()
|
void |
addPatternModificationListener(IPatternModificationListener listener_p)
Add a modification listener to this editor. |
protected void |
createHeaderContents(IManagedForm headerForm_p)
|
void |
dispose()
|
void |
doSave(IProgressMonitor monitor_p)
|
void |
doSaveAs()
|
Object |
getAdapter(Class adapter_p)
|
IPatternModificationListener[] |
getModificationListeners()
Get modification listeners. |
protected AbstractPatternPage[] |
getPages()
Get declared pages. |
PatternHandler.PatternData |
getPatternData(IEditorInput editorInput_p)
Get pattern data. |
protected String |
getPatternDisplayableName(PatternHandler.PatternData patternData_p)
Get pattern displayable name. |
PatternHandler |
getPatternHandler()
Get pattern handler. |
protected boolean |
handlePatternValidation(AbstractPatternPage[] patternPages_p)
Handle pattern validation. |
void |
init(IEditorSite site_p,
IEditorInput input_p)
|
boolean |
isSaveAsAllowed()
|
void |
removePatternModificationListener(IPatternModificationListener listener_p)
Remove a modification listener. |
void |
selectionChanged(IWorkbenchPart part_p,
ISelection selection_p)
|
void |
sendNotification(IPatternModificationNotification notification_p)
Send given notification to all registered listeners. |
protected ScrolledForm |
updateHeaderContents()
Update header contents. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ID
| Constructor Detail |
|---|
public PatternEditor()
| Method Detail |
|---|
public void dispose()
org.eclipse.ui.forms.editor.SharedHeaderFormEditor#dispose()public void addPatternModificationListener(IPatternModificationListener listener_p)
listener_p - public void removePatternModificationListener(IPatternModificationListener listener_p)
listener_p - public IPatternModificationListener[] getModificationListeners()
public void sendNotification(IPatternModificationNotification notification_p)
notification_p - public PatternHandler.PatternData getPatternData(IEditorInput editorInput_p)
editorInput_p - If null, try and resolve it locally.
public PatternHandler getPatternHandler()
protected String getPatternDisplayableName(PatternHandler.PatternData patternData_p)
patternData_p -
public void init(IEditorSite site_p,
IEditorInput input_p)
throws PartInitException
PartInitExceptionorg.eclipse.ui.forms.editor.FormEditor#init(org.eclipse.ui.IEditorSite, org.eclipse.ui.IEditorInput)
public int addPage(IFormPage page_p)
throws PartInitException
PartInitExceptionorg.eclipse.ui.forms.editor.FormEditor#addPage(org.eclipse.ui.forms.editor.IFormPage)protected void addPages()
org.eclipse.ui.forms.editor.FormEditor#addPages()protected AbstractPatternPage[] getPages()
AbstractPatternPage.public void doSave(IProgressMonitor monitor_p)
org.eclipse.ui.part.EditorPart#doSave(org.eclipse.core.runtime.IProgressMonitor)protected boolean handlePatternValidation(AbstractPatternPage[] patternPages_p)
patternPages_p -
public void doSaveAs()
org.eclipse.ui.part.EditorPart#doSaveAs()public boolean isSaveAsAllowed()
org.eclipse.ui.part.EditorPart#isSaveAsAllowed()protected ScrolledForm updateHeaderContents()
protected void createHeaderContents(IManagedForm headerForm_p)
org.eclipse.ui.forms.editor.SharedHeaderFormEditor#createHeaderContents(org.eclipse.ui.forms.IManagedForm)public Object getAdapter(Class adapter_p)
org.eclipse.ui.part.MultiPageEditorPart#getAdapter(java.lang.Class)
public void selectionChanged(IWorkbenchPart part_p,
ISelection selection_p)
org.eclipse.ui.ISelectionListener#selectionChanged(org.eclipse.ui.IWorkbenchPart, org.eclipse.jface.viewers.ISelection)
|
EGF Engine Release 0.1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright (c) Thales Corporate Services S.A.S, 2009.
This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.