|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectFormPage
com.pnp.xfeature.project.ProjectFormPage
public class ProjectFormPage
This class represents the form page of the project editor. The form page offers a graphical user interface with different components like buttons, tables and trees to edit the project file.
| Constructor Summary | |
|---|---|
ProjectFormPage(FormEditor editor,
java.lang.String id,
java.lang.String title)
Constructor. |
|
| Method Summary | |
|---|---|
void |
appDisplayModelGenFileSelected()
Called if the user selects an XSL file from the table. |
void |
appGlobalConstraintsGenFileSelected()
Called if the user selects an XSL file from the table. |
void |
appMetaModelGenFileSelected()
Called if the user selects an XSL file from the table. |
void |
createFormContent(IManagedForm managedForm)
|
Table |
getAppDisplayModelTable()
|
Table |
getAppGlobalConstraintsTable()
|
Table |
getAppMetaModelTable()
|
FileFilter |
getFileFilter()
Returns the selected file filter. |
CheckboxTreeViewer |
getFileTree()
Returns the source file tree. |
IProject |
getProject()
|
ProjectFormEditor |
getProjectFormEditor()
Returns the project editor. |
Text |
getTextFamilyDisplayModel()
|
Text |
getTextFamilyMetaModel()
|
Text |
getTextProjectDescription()
|
Text |
getTextProjectName()
|
void |
setCreateProjectInWorkspace(boolean b)
Informs the page if the project is created in the default directory. |
void |
setNewProjectName(java.lang.String s)
Stores the name of the newly created project. |
void |
setNewProjectPath(java.lang.String s)
Stores the path of the newly created project. |
void |
setProjectCreated(boolean b)
Informs the page if a new project has been created. |
void |
setTableItem(java.lang.String folder)
Adds a table item to the weave folder table. |
void |
setVisibleFields()
Sets the visible textfields. |
void |
ungrayChildren(java.io.File parent,
ViewerFilter filter)
Ungrays all children of a parent file in the tree viewer. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProjectFormPage(FormEditor editor,
java.lang.String id,
java.lang.String title)
editor - project editorid - id of the pagetitle - title of the page| Method Detail |
|---|
public IProject getProject()
public void createFormContent(IManagedForm managedForm)
org.eclipse.ui.forms.editor.FormPage#createFormContent(org.eclipse.ui.forms.IManagedForm)public void setVisibleFields()
public void ungrayChildren(java.io.File parent,
ViewerFilter filter)
parent - parent filefilter - file filter of tree viewerpublic void appMetaModelGenFileSelected()
public void appDisplayModelGenFileSelected()
public void appGlobalConstraintsGenFileSelected()
public void setTableItem(java.lang.String folder)
folder - name of the weave folderpublic CheckboxTreeViewer getFileTree()
public void setNewProjectPath(java.lang.String s)
s - path of projectpublic void setNewProjectName(java.lang.String s)
s - name of projectpublic void setProjectCreated(boolean b)
b - true, if project created, false otherwisepublic void setCreateProjectInWorkspace(boolean b)
b - true, if default directory, false otherwisepublic ProjectFormEditor getProjectFormEditor()
public FileFilter getFileFilter()
public Text getTextFamilyMetaModel()
public Text getTextProjectName()
public Text getTextProjectDescription()
public Text getTextFamilyDisplayModel()
public Table getAppMetaModelTable()
public Table getAppDisplayModelTable()
public Table getAppGlobalConstraintsTable()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||