|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.clif.scenario.isac.egui.wizards.plugin.InteractionManager
public class InteractionManager
This class permits to manage all interactions between user and model. This class constructs the appropriate property or wizard GUI page.
Constructor Summary | |
---|---|
InteractionManager(org.eclipse.jface.dialogs.DialogPage page,
org.eclipse.core.resources.IProject project,
java.lang.String actionType)
Constructor. |
Method Summary | |
---|---|
void |
apply()
This method try to apply all modifications into model. |
void |
cancel()
This method performs cancel all modifications into model. |
void |
catchException(java.lang.Exception e)
This method open a message error dialog to user, block plugin activity in setting valide page to false and close the shell. |
org.eclipse.swt.widgets.Composite |
createActionContents(org.eclipse.swt.widgets.Composite arg0)
This method constructs graphics components. |
org.eclipse.swt.widgets.Composite |
createPluginContents(org.eclipse.swt.widgets.Composite arg0)
This method constructs graphics components. |
void |
initContents()
This method initializes graphics |
void |
setProject(org.eclipse.core.resources.IProject project)
|
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.dialogs.DialogPage page, org.eclipse.core.resources.IProject project, java.lang.String actionType)
page
- DialogPage where interactions are doneproject
- IProject representing the current project where user does modificationsactionType
- String representing action type to manipulate
(sample, test, timer, control, object, plugin)Method Detail |
---|
public void initContents()
public org.eclipse.swt.widgets.Composite createPluginContents(org.eclipse.swt.widgets.Composite arg0)
arg0
- Composite where contents must be created.public org.eclipse.swt.widgets.Composite createActionContents(org.eclipse.swt.widgets.Composite arg0)
arg0
- Composite where contents must be created.public void catchException(java.lang.Exception e)
e
- Exception to catchpublic void apply()
public void cancel()
public void setProject(org.eclipse.core.resources.IProject project)
project
- the project to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |