|
TPTP 4.4.0 Testing Tools Project Internal API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.hyades.test.ui.internal.editor.form.util.StaticDetailPageProvider
Simple implementation of IDetailPageProvider that records a set of associations between an input element type and a DetailPage. This provider provides the same functionality that was built in DetailSection in version 3.x.
| Constructor Summary | |
|---|---|
StaticDetailPageProvider()
|
|
| Method Summary | |
|---|---|
void |
addDetailPage(java.lang.Class objectClass,
org.eclipse.hyades.test.ui.editor.form.util.IDetailPage detailPage)
Records an association between a given java type and a detail page. |
void |
dispose()
Invoked when the owning DetailSection is disposed. |
org.eclipse.hyades.test.ui.editor.form.util.IDetailPage |
getDetailPage(java.lang.Object element)
Returns a DetailPage for a specific element. |
boolean |
isEmpty()
Returns whether no association have been registered. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StaticDetailPageProvider()
| Method Detail |
public void addDetailPage(java.lang.Class objectClass,
org.eclipse.hyades.test.ui.editor.form.util.IDetailPage detailPage)
objectClass - A java type.detailPage - A Detail Page. This detail page is owned by the provider, ie
it will be disposed by the provider when the provider is disposed.public org.eclipse.hyades.test.ui.editor.form.util.IDetailPage getDetailPage(java.lang.Object element)
DetailSection.IDetailPageProvider
getDetailPage in interface DetailSection.IDetailPageProviderelement - An element.
null if this provider
does not know the element type (in that case, the owning DetailSection
displays a default DetailPage).public boolean isEmpty()
public void dispose()
DetailSection.IDetailPageProvider
dispose in interface DetailSection.IDetailPageProvider
|
TPTP 4.4.0 Testing Tools Project Internal API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||