public class IniEditor extends MultiPageEditorPart implements IniEditorChangeListener, IniValidator
Constructor and Description |
---|
IniEditor() |
Modifier and Type | Method and Description |
---|---|
void |
activeProjectChanged(boolean active)
The user has changed which ini is the active project
|
void |
commandLineChanged()
The command line has been edited.
|
protected void |
createPages()
Creates the pages of the multi-page editor.
|
void |
currentFrameNumberChanged()
An animation is running and has started a new frame.
|
void |
doSave(IProgressMonitor monitor)
Saves the multi-page editor's document.
|
void |
doSaveAs()
Saves the multi-page editor's document as another file.
|
void |
entryChanged(IniEntry entry)
This entry has changed.
|
void |
entryDeleted(IniEntry entry)
Delete this entry from the document.
|
java.lang.String |
getActiveOutputExtension() |
IniDocument |
getIniDocument() |
void |
gotoMarker(IMarker marker) |
boolean |
isSaveAsAllowed() |
protected void |
pageChange(int newPageIndex) |
void |
propertyChanged(java.lang.Object source,
int propId) |
java.lang.String |
validateInputFile() |
public void gotoMarker(IMarker marker)
public IniDocument getIniDocument()
protected void createPages()
public void doSave(IProgressMonitor monitor)
public void doSaveAs()
public boolean isSaveAsAllowed()
protected void pageChange(int newPageIndex)
public void entryChanged(IniEntry entry)
IniEditorChangeListener
entryChanged
in interface IniEditorChangeListener
entry
- The entrypublic void entryDeleted(IniEntry entry)
IniEditorChangeListener
entryDeleted
in interface IniEditorChangeListener
public void commandLineChanged()
IniEditorChangeListener
commandLineChanged
in interface IniEditorChangeListener
public void propertyChanged(java.lang.Object source, int propId)
public java.lang.String validateInputFile()
validateInputFile
in interface IniValidator
public java.lang.String getActiveOutputExtension()
getActiveOutputExtension
in interface IniValidator
public void currentFrameNumberChanged()
IniEditorChangeListener
currentFrameNumberChanged
in interface IniEditorChangeListener
public void activeProjectChanged(boolean active)
IniEditorChangeListener
activeProjectChanged
in interface IniEditorChangeListener
active
- true if this iniDocument is the active one