org.eclipse.tptp.symptom.internal.presentation
Class BaseDetailsPage
java.lang.Object
org.eclipse.tptp.symptom.internal.presentation.BaseDetailsPage
- All Implemented Interfaces:
- org.eclipse.ui.forms.IDetailsPage, org.eclipse.ui.forms.IFormPart, org.eclipse.ui.IPartListener, org.eclipse.ui.forms.IPartSelectionListener, org.eclipse.tptp.symptom.editor.ISymptomDetailsPage
- Direct Known Subclasses:
- CommonDetailsPage, SymptomDetailsPage, XPathRuleDetails
- public abstract class BaseDetailsPage
- extends java.lang.Object
- implements org.eclipse.tptp.symptom.editor.ISymptomDetailsPage, org.eclipse.ui.IPartListener
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mform
protected org.eclipse.ui.forms.IManagedForm mform
adapterFactory
protected org.eclipse.emf.common.notify.AdapterFactory adapterFactory
editable
protected boolean editable
wrappedObject
protected java.lang.Object wrappedObject
input
protected java.lang.Object input
client
protected org.eclipse.swt.widgets.Composite client
editor
protected AbstractSymptomEditor editor
section
protected org.eclipse.ui.forms.widgets.Section section
toolkit
protected org.eclipse.ui.forms.widgets.FormToolkit toolkit
delegator
protected org.eclipse.emf.edit.provider.AdapterFactoryItemDelegator delegator
parent
protected org.eclipse.swt.widgets.Composite parent
refresh
protected boolean refresh
isDirty
protected boolean isDirty
NL
protected final java.lang.String NL
detailsLabel
protected java.lang.String detailsLabel
type
protected java.lang.String type
attributesList
protected java.util.List attributesList
BaseDetailsPage
public BaseDetailsPage(AbstractSymptomEditor ourEditor,
java.lang.String detailsLabel)
BaseDetailsPage
public BaseDetailsPage(java.lang.String type,
AbstractSymptomEditor ourEditor,
java.lang.String detailsLabel)
BaseDetailsPage
public BaseDetailsPage()
createContents
public void createContents(org.eclipse.swt.widgets.Composite parentComposite)
- Specified by:
createContents in interface org.eclipse.ui.forms.IDetailsPage
createCommonSection
protected abstract void createCommonSection()
createClientArea
protected abstract void createClientArea()
createSpace
protected void createSpace(org.eclipse.ui.forms.widgets.FormToolkit fmt,
org.eclipse.swt.widgets.Composite parentComposite,
int span)
initialize
public void initialize(org.eclipse.ui.forms.IManagedForm form)
- Specified by:
initialize in interface org.eclipse.ui.forms.IFormPart
dispose
public void dispose()
- Specified by:
dispose in interface org.eclipse.ui.forms.IFormPart
isDirty
public boolean isDirty()
- Specified by:
isDirty in interface org.eclipse.ui.forms.IFormPart
commit
public void commit(boolean onSave)
- Specified by:
commit in interface org.eclipse.ui.forms.IFormPart
setFormInput
public boolean setFormInput(java.lang.Object input)
- Specified by:
setFormInput in interface org.eclipse.ui.forms.IFormPart
isStale
public boolean isStale()
- Specified by:
isStale in interface org.eclipse.ui.forms.IFormPart
selectionChanged
public void selectionChanged(org.eclipse.ui.forms.IFormPart part,
org.eclipse.jface.viewers.ISelection selection)
- Specified by:
selectionChanged in interface org.eclipse.ui.forms.IPartSelectionListener
partActivated
public void partActivated(org.eclipse.ui.IWorkbenchPart part)
- Specified by:
partActivated in interface org.eclipse.ui.IPartListener
partBroughtToTop
public void partBroughtToTop(org.eclipse.ui.IWorkbenchPart part)
- Specified by:
partBroughtToTop in interface org.eclipse.ui.IPartListener
partClosed
public void partClosed(org.eclipse.ui.IWorkbenchPart part)
- Specified by:
partClosed in interface org.eclipse.ui.IPartListener
partDeactivated
public void partDeactivated(org.eclipse.ui.IWorkbenchPart part)
- Specified by:
partDeactivated in interface org.eclipse.ui.IPartListener
partOpened
public void partOpened(org.eclipse.ui.IWorkbenchPart part)
- Specified by:
partOpened in interface org.eclipse.ui.IPartListener
setLayout
protected void setLayout(org.eclipse.swt.widgets.Label label,
org.eclipse.swt.widgets.Scrollable text)
setLayout
protected void setLayout(org.eclipse.swt.widgets.Label label,
org.eclipse.swt.widgets.Scrollable text,
boolean browseRequired)
refresh
public void refresh()
- Specified by:
refresh in interface org.eclipse.ui.forms.IFormPart
setFocus
public void setFocus()
- Specified by:
setFocus in interface org.eclipse.ui.forms.IFormPart
setEditable
public void setEditable(boolean flag)
- Specified by:
setEditable in interface org.eclipse.tptp.symptom.editor.ISymptomDetailsPage
setEditable
protected void setEditable(org.eclipse.swt.widgets.Composite parent,
boolean flag)
isEditable
public boolean isEditable()
- Specified by:
isEditable in interface org.eclipse.tptp.symptom.editor.ISymptomDetailsPage
getString
protected java.lang.String getString(java.lang.String key)
resetWidgetValues
protected void resetWidgetValues(org.eclipse.swt.widgets.Composite composite)
initializeValues
protected void initializeValues(org.eclipse.swt.custom.CCombo widget)
setFocusToDetailsPart
protected void setFocusToDetailsPart()
initAttributesList
protected void initAttributesList()
isAttributeVisible
protected boolean isAttributeVisible(byte id)
setUpContextHelp
protected void setUpContextHelp()
setToolTipText
protected void setToolTipText()