|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectFormEditor
com.pnp.xfeature.project.ProjectFormEditor
public class ProjectFormEditor
This class is the main class of the project file editor. It is a multi page editor, which is filled with two pages. The first page represented by the class BuilderFormPage shows the content of the file in a graphical user interface, the second page represented by the class XMLEditor shows the content of the file as a text file.
| Constructor Summary | |
|---|---|
ProjectFormEditor()
|
|
| Method Summary | |
|---|---|
void |
createBuildXMLFile()
Creates the Ant build file from the input of the editor. |
void |
createBuildXMLTree(ProjectFormPage page)
Creates the data structure. |
void |
doSave(IProgressMonitor monitor)
|
void |
doSaveAs()
Not implemented. |
java.lang.Object |
getAdapter(java.lang.Class key)
Outline page is created here. |
ProjectXMLTree |
getBuildXMLTree()
Returns the XML tree. |
ProjectFormPage |
getProjectFormPage()
Return the form page of the editor. |
boolean |
isDirty()
|
boolean |
isPageValable()
Validates the content of the XML editor against the aspectX schema. |
boolean |
isSaveAsAllowed()
|
void |
refreshOutlinePage()
Updates the outline page of the editor. |
void |
setIsPageModified(boolean b)
Called in order to inform the editor that the content of the form page has changed. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProjectFormEditor()
| Method Detail |
|---|
public void doSave(IProgressMonitor monitor)
org.eclipse.ui.ISaveablePart#doSave(org.eclipse.core.runtime.IProgressMonitor)public void doSaveAs()
org.eclipse.ui.ISaveablePart#doSaveAs()public boolean isSaveAsAllowed()
org.eclipse.ui.ISaveablePart#isSaveAsAllowed()public boolean isDirty()
org.eclipse.ui.ISaveablePart#isDirty()public java.lang.Object getAdapter(java.lang.Class key)
org.eclipse.core.runtime.IAdaptable#getAdapter(java.lang.Class)public void createBuildXMLTree(ProjectFormPage page)
page - form page of the editorpublic ProjectXMLTree getBuildXMLTree()
public ProjectFormPage getProjectFormPage()
public void setIsPageModified(boolean b)
b - changed informationpublic void createBuildXMLFile()
public void refreshOutlinePage()
public boolean isPageValable()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||