|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openoffice.ide.eclipse.core.wizards.pages.ManifestExportPageController
public class ManifestExportPageController
Testable controller class for the Manifest export page, this class implements all the logic ruling the dialog controls.
Constructor Summary | |
---|---|
ManifestExportPageController()
Default constructor. |
Method Summary | |
---|---|
boolean |
getGenerateManifest()
|
java.lang.String |
getLoadManifestPath()
Note that this value has no effect unless getGenerateManifest()
returns false . |
boolean |
getSaveManifest()
Note that this value has no effect unless getGenerateManifest() returns
true . |
java.lang.String |
getSaveManifestPath()
Note that this value has no effect unless getSaveManifest() returns true . |
boolean |
isLoadManifestPathEnabled()
|
boolean |
isSaveManifestEnabled()
|
boolean |
isSaveManifestPathEnabled()
|
void |
setGenerateManifest(boolean pGenerate)
Sets whether to use an existing manifest file or generate a new one (note that the generated manifest file may or may not be saved). |
void |
setLoadManifestPath(java.lang.String pPath)
Setting this value has no effect unless isLoadManifestPathEnabled()
returns true . |
void |
setSaveManifest(boolean pSave)
Setting this value has no effect unless the manifest is generated, but setting it to true will save the manifest to the path returned by getSaveManifestPath() . |
void |
setSaveManifestPath(java.lang.String pPath)
Setting this value has no effect unless isSaveManifestPathEnabled()
returns true . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ManifestExportPageController()
Method Detail |
---|
public void setGenerateManifest(boolean pGenerate)
pGenerate
- true
to generate a new manifest, false
to use it.public void setSaveManifest(boolean pSave)
true
will save the manifest to the path returned by getSaveManifestPath()
.
pSave
- true
to save the manifest in the workspace,
false
otherwise.public void setSaveManifestPath(java.lang.String pPath)
isSaveManifestPathEnabled()
returns true
.
pPath
- the workspace-relative path to the manifest file to create.public void setLoadManifestPath(java.lang.String pPath)
isLoadManifestPathEnabled()
returns true
.
pPath
- the workspace-relative path to the manifest file to load.public boolean getGenerateManifest()
true
is the manifest has to be saved, false
if it needs
to be loaded from a file in the workspace.public boolean getSaveManifest()
getGenerateManifest()
returns
true
.
true
is the manifest has to be saved, false
otherwise.public java.lang.String getSaveManifestPath()
getSaveManifest()
returns true
.
public java.lang.String getLoadManifestPath()
getGenerateManifest()
returns false
.
public boolean isSaveManifestEnabled()
public boolean isSaveManifestPathEnabled()
public boolean isLoadManifestPathEnabled()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |