|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.clif.console.lib.egui.wizards.clifProject.InteractionManager
public class InteractionManager
Class used by wizard and properties pages. Since there are many common features between wizard and properties pages, this class grouped them. If offers the possibility of creating and initializing controls, checking whether the pages are filled correctly, returning filled fields, writing CLIF properties files and applying changes.
Constructor Summary | |
---|---|
InteractionManager(org.eclipse.jface.preference.PreferencePage page,
org.eclipse.core.resources.IProject project)
Constructor for a properties page |
|
InteractionManager(org.eclipse.jface.wizard.WizardPage page,
org.eclipse.core.resources.IProject project)
Constructor for a wizard page |
Method Summary | |
---|---|
void |
apply()
Applies all modifications on CLIF properties files. |
void |
catchException(java.lang.Exception e)
Open a message error dialog to user, block plug-in activity in setting valid page to false and close the shell. |
org.eclipse.swt.widgets.Composite |
createAdvancedContents(org.eclipse.swt.widgets.Composite parent)
Creates contents of advanced page |
org.eclipse.swt.widgets.Composite |
createCustomContents(org.eclipse.swt.widgets.Composite parent)
Creates contents of custom properties page |
org.eclipse.swt.widgets.Composite |
createDeploymentContents(org.eclipse.swt.widgets.Composite parent)
Creates contents of deployment page |
org.eclipse.swt.widgets.Composite |
createISACContents(org.eclipse.swt.widgets.Composite parent)
Creates contents of ISAC page |
org.eclipse.swt.widgets.Composite |
createJVMContents(org.eclipse.swt.widgets.Composite parent)
Creates contents of JVM page |
org.eclipse.swt.widgets.Composite |
createMainContents(org.eclipse.swt.widgets.Composite parent)
Creates contents of main page |
void |
deploymentDialogChanged()
Ensures that both deployment text fields are correctly filled. |
java.lang.String |
getClasses()
Return all classes repository set in the list of classes separated by a ";" |
java.lang.String |
getCodeServerHost()
|
java.lang.String |
getCodeServerPort()
|
java.lang.String[] |
getCustomProperties()
|
java.lang.String |
getFileStorageDelay()
|
java.lang.String |
getFileStorageHost()
|
java.lang.String |
getFileStorageMaxPending()
|
java.lang.String |
getGroupPeriod()
|
boolean |
getInitialized()
|
java.lang.String |
getIsacThread()
|
java.lang.String |
getJobDelay()
|
java.lang.String |
getJonathanHost()
|
java.lang.String |
getRegistryHost()
|
java.lang.String |
getRegistryPort()
|
java.lang.String |
getReportDir()
|
java.lang.String |
getSchedulerPeriod()
|
java.lang.String |
getStatsDir()
|
java.lang.String |
getXms()
|
java.lang.String |
getXmx()
|
void |
initialize()
Initializes all properties by reading clif.props file. |
void |
initializeAdvanced()
Initializes contents of advanced page |
void |
initializeCustom()
Initializes contents of custom properties page |
void |
initializeDeployment()
Initializes contents of deployment page |
void |
initializeISACParam()
Initializes contents of ISAC page |
void |
initializeJVMParam()
Initializes contents of JVM page |
void |
initializeMainContents()
Initializes contents of main page |
void |
initializeStatsReportText(org.eclipse.core.runtime.IPath projectPath)
Initialize values for report and stats directories |
void |
setInitialized(boolean init)
|
void |
setProject(org.eclipse.core.resources.IProject project)
set Project and fill initClasses |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InteractionManager(org.eclipse.jface.wizard.WizardPage page, org.eclipse.core.resources.IProject project)
page
- the wizard pageproject
- the project createdpublic InteractionManager(org.eclipse.jface.preference.PreferencePage page, org.eclipse.core.resources.IProject project)
page
- the properties pageproject
- the project where user wants to check or change propertiesMethod Detail |
---|
public org.eclipse.swt.widgets.Composite createMainContents(org.eclipse.swt.widgets.Composite parent)
public void initializeMainContents()
public void initializeStatsReportText(org.eclipse.core.runtime.IPath projectPath)
projectPath
- path of the project containing those valuespublic java.lang.String getReportDir()
public java.lang.String getStatsDir()
public org.eclipse.swt.widgets.Composite createCustomContents(org.eclipse.swt.widgets.Composite parent)
public void initializeCustom()
public java.lang.String[] getCustomProperties()
public org.eclipse.swt.widgets.Composite createAdvancedContents(org.eclipse.swt.widgets.Composite parent)
public void initializeAdvanced()
public java.lang.String getFileStorageDelay()
public java.lang.String getFileStorageMaxPending()
public java.lang.String getJonathanHost()
public java.lang.String getFileStorageHost()
public org.eclipse.swt.widgets.Composite createJVMContents(org.eclipse.swt.widgets.Composite parent)
public void initializeJVMParam()
public java.lang.String getXms()
public java.lang.String getXmx()
public org.eclipse.swt.widgets.Composite createISACContents(org.eclipse.swt.widgets.Composite parent)
public void initializeISACParam()
public java.lang.String getIsacThread()
public java.lang.String getGroupPeriod()
public java.lang.String getSchedulerPeriod()
public java.lang.String getJobDelay()
public org.eclipse.swt.widgets.Composite createDeploymentContents(org.eclipse.swt.widgets.Composite parent)
public void initializeDeployment()
public void deploymentDialogChanged()
public java.lang.String getRegistryHost()
public java.lang.String getCodeServerHost()
public java.lang.String getClasses()
public java.lang.String getCodeServerPort()
public java.lang.String getRegistryPort()
public void initialize()
public void apply()
public void setProject(org.eclipse.core.resources.IProject project)
project
- public boolean getInitialized()
public void setInitialized(boolean init)
public void catchException(java.lang.Exception e)
e
- Exception to catch
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |