public class TestPlanDetailsEditPage
extends java.lang.Object
implements org.eclipse.ui.forms.IDetailsPage
Constructor and Description |
---|
TestPlanDetailsEditPage(TestPlanMasterEditPage master,
java.util.Map<java.lang.String,ClifDeployDefinition> testPlan)
Create a new injectors and probes details page.
|
Modifier and Type | Method and Description |
---|---|
void |
commit(boolean onSave) |
void |
createContents(org.eclipse.swt.widgets.Composite parent)
Create injectors and probes properties labels and textfields.
|
void |
displayArgumentHelp()
Opens a pop-up window displaying a basic help message
for the currently selected blade class
|
void |
dispose()
Release allocated resources.
|
void |
initialize(org.eclipse.ui.forms.IManagedForm form)
Save the managed form.
|
boolean |
isDirty()
Detail part is dirty if properties have been changed and no commit.
|
boolean |
isStale()
No model modification without direct user interaction.
|
void |
refresh()
Not called because the part is not stale.
|
void |
selectionChanged(org.eclipse.ui.forms.IFormPart part,
org.eclipse.jface.viewers.ISelection selection)
Show selected blade properties.
With the id of the selected blade, we take its blade definition in the test plan and fill textfield with properties. |
void |
setFocus()
No default property textfield focus.
|
boolean |
setFormInput(java.lang.Object input)
Part needs not to react.
|
void |
updateAvailableServers()
Set the list of the available servers in the server combo box.
|
public TestPlanDetailsEditPage(TestPlanMasterEditPage master, java.util.Map<java.lang.String,ClifDeployDefinition> testPlan)
master
- master page in master/detail patterntestPlan
- Map with used test planpublic void initialize(org.eclipse.ui.forms.IManagedForm form)
initialize
in interface org.eclipse.ui.forms.IFormPart
form
- the parent formpublic void createContents(org.eclipse.swt.widgets.Composite parent)
createContents
in interface org.eclipse.ui.forms.IDetailsPage
parent
- the parent compositepublic void dispose()
dispose
in interface org.eclipse.ui.forms.IFormPart
IFormPart.dispose()
public boolean isDirty()
isDirty
in interface org.eclipse.ui.forms.IFormPart
public boolean setFormInput(java.lang.Object input)
setFormInput
in interface org.eclipse.ui.forms.IFormPart
IFormPart.setFormInput(Object input)
public boolean isStale()
isStale
in interface org.eclipse.ui.forms.IFormPart
IFormPart.isStale()
public void setFocus()
setFocus
in interface org.eclipse.ui.forms.IFormPart
IFormPart.isStale()
public void refresh()
refresh
in interface org.eclipse.ui.forms.IFormPart
IFormPart.refresh()
public void updateAvailableServers()
public void displayArgumentHelp()
public void commit(boolean onSave)
commit
in interface org.eclipse.ui.forms.IFormPart
public void selectionChanged(org.eclipse.ui.forms.IFormPart part, org.eclipse.jface.viewers.ISelection selection)
selectionChanged
in interface org.eclipse.ui.forms.IPartSelectionListener