|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDomainProvider<T>
IDomainProvider defines the domain of potential selections for an ObjectListSelectionDialog.
Method Summary | |
---|---|
java.util.Collection<T> |
getDomain()
Return the elements that define the domain. |
java.lang.String |
getElementsTitle()
Return the text to appear above the list of element selections. |
org.eclipse.swt.graphics.Image |
getImage(T element)
Return the Image to display alongside element in the selection list |
java.lang.String |
getLabel(T element)
Return the String to display alongside element in the selection list |
T |
getNullElement()
Return the element used to denote a null element |
org.eclipse.swt.graphics.Image |
getParentImage(T element)
Return the Image to display alongside element's parent in the parent selection list |
java.lang.String |
getParentLabel(T element)
Return the String to display alongside element's parent in the parent selection list |
java.lang.String |
getParentsTitle()
Return the text to appear above the list of parent selections. |
java.lang.String |
getTitle()
Return a descriptive title for the doamin selection |
Method Detail |
---|
java.util.Collection<T> getDomain()
java.lang.String getElementsTitle()
org.eclipse.swt.graphics.Image getImage(T element)
element
- selection
java.lang.String getLabel(T element)
element
- selection
T getNullElement()
org.eclipse.swt.graphics.Image getParentImage(T element)
element
- selection
java.lang.String getParentLabel(T element)
element
- selection
java.lang.String getParentsTitle()
java.lang.String getTitle()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |