|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.tssap.util.ui.AbstractEditable
|
+--com.tssap.util.ui.reuse.GenericComponent
|
+--com.tssap.util.ui.reuse.GenericMultiComponent
|
+--com.tssap.util.ui.reuse.GenericMultiTableComponent
|
+--com.tssap.util.ui.reuse.list.ListSelector
| Constructor Summary | |
ListSelector(IListSelectorCallback callback,
IListElementGridLayoutPaneContainer gridLayoutPaneContainer)
Constructor for MutableListSelector. |
|
ListSelector(java.lang.String title,
IListSelectorCallback callback,
IListElementGridLayoutPaneContainer gridLayoutPaneContainer)
Constructor for MutableListSelector. |
|
| Method Summary | |
boolean |
addElement(IListElement listElement)
|
boolean |
addElement(java.lang.String value,
java.lang.Object userObject)
|
int |
addElements(IListElement[] listElements)
|
boolean |
changeElement(IListElement listElement,
java.lang.String newName,
java.lang.Object userObject)
|
boolean |
containsElement(IListElement listElement)
Method containsElement. |
IListSelectorCallback |
getCallback()
Returns the callback. |
java.lang.String |
getDefaultEntry()
Returns the defaultEntry. |
IListElement |
getElement(IListElement listElement)
Method getElement. |
IListElement[] |
getElements()
Method getElements. |
IListElementGridLayoutPaneContainer |
getGridLayoutPaneContainer()
|
IListElement |
getSelection()
|
int |
getUserGridNumOfColumns()
Returns number of columns for userArea given to method initContainer(IGridLayoutPane userArea) |
void |
initContainer(IGridLayoutPane userArea)
Initialize component's UI. |
boolean |
isSecurityRemove()
|
boolean |
isUserGridEqualColSize()
Returns true if userArea given to method initContainer(IGridLayoutPane userArea) has to have equal column widths |
void |
refresh()
Update component's UI |
void |
removeAll()
|
boolean |
removeElement(IListElement listElement)
|
int |
removeElements(IListElement[] listElements)
|
void |
setButtonOrientation(int buttonOrientation)
|
void |
setCallback(IListSelectorCallback callback)
Sets the callback. |
void |
setDefaultEntry(java.lang.String defaultEntry)
Sets the defaultEntry. |
void |
setElements(IListElement[] listElements)
|
void |
setEnabled(boolean enabled)
Sets the enabled. |
void |
setGridLayoutPaneContainer(IListElementGridLayoutPaneContainer gridLayoutPaneContainer)
|
void |
setLabelProvider(org.eclipse.jface.viewers.LabelProvider labelProvider)
Sets the labelProvider. |
void |
setSecurityRemove(boolean secure)
|
void |
setSelection(IListElement listElement)
|
void |
setSelection(int elementIndex)
|
| Methods inherited from class com.tssap.util.ui.reuse.GenericMultiComponent |
getAddButtonText, getButtonOrientation, getRemoveButtonText, hasAddRemoveButtons, isSecureRemove, setAddButtonText, setHasAddRemoveButtons, setRemoveButtonText, setSecureRemove |
| Methods inherited from class com.tssap.util.ui.reuse.GenericComponent |
addModifyListener, addSelectionListener, createPartControl, createPartControl, createPartControl, getTitle, getUserAreaGridLayoutPane, isComposable, isEnabled, removeModifyListener, removeSelectionListener, setTitle |
| Methods inherited from class com.tssap.util.ui.AbstractEditable |
isEditable, setEditable |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.tssap.util.ui.reuse.list.IListSelector |
isEnabled |
| Methods inherited from interface com.tssap.util.ui.reuse.IGenericComponent |
addModifyListener, addSelectionListener, createPartControl, createPartControl, getTitle, removeModifyListener, removeSelectionListener, setTitle |
| Methods inherited from interface com.tssap.util.ui.IEditable |
isEditable, setEditable |
| Methods inherited from interface com.tssap.util.ui.reuse.IReuseable |
createPartControl |
| Constructor Detail |
public ListSelector(IListSelectorCallback callback,
IListElementGridLayoutPaneContainer gridLayoutPaneContainer)
public ListSelector(java.lang.String title,
IListSelectorCallback callback,
IListElementGridLayoutPaneContainer gridLayoutPaneContainer)
title - | Method Detail |
public void initContainer(IGridLayoutPane userArea)
IGridLayoutPaneContainerinitContainer in interface IGridLayoutPaneContainerinitContainer in class GenericMultiTableComponentIGridLayoutPaneContainer.initContainer(IGridLayoutPane)public int getUserGridNumOfColumns()
IGridLayoutPaneContainergetUserGridNumOfColumns in interface IGridLayoutPaneContainergetUserGridNumOfColumns in class GenericMultiTableComponentIGridLayoutPaneContainer.getUserGridNumOfColumns()public boolean isUserGridEqualColSize()
IGridLayoutPaneContainerisUserGridEqualColSize in interface IGridLayoutPaneContainerisUserGridEqualColSize in class GenericMultiTableComponentIGridLayoutPaneContainer.isUserGridEqualColSize()public java.lang.String getDefaultEntry()
public void setDefaultEntry(java.lang.String defaultEntry)
defaultEntry - The defaultEntry to setpublic IListSelectorCallback getCallback()
getCallback in interface IListSelectorpublic void setCallback(IListSelectorCallback callback)
setCallback in interface IListSelectorcallback - The callback to setpublic boolean isSecurityRemove()
isSecurityRemove in interface IListSelectorcom.tssap.util.ui.reuse.list.IMutableListSelector#isSecurityRemove()public void setSecurityRemove(boolean secure)
setSecurityRemove in interface IListSelectorcom.tssap.util.ui.reuse.list.IMutableListSelector#setSecurityRemove(boolean)public IListElementGridLayoutPaneContainer getGridLayoutPaneContainer()
getGridLayoutPaneContainer in interface IListSelectorcom.tssap.util.ui.reuse.list.IMutableListSelector#getGridLayoutPaneContainer()public void setGridLayoutPaneContainer(IListElementGridLayoutPaneContainer gridLayoutPaneContainer)
setGridLayoutPaneContainer in interface IListSelectorcom.tssap.util.ui.reuse.list.IMutableListSelector#setGridLayoutPaneContainer(IListElementGridLayoutPaneContainer)public void setButtonOrientation(int buttonOrientation)
setButtonOrientation in class GenericMultiComponentIGenericMultiComponent.setButtonOrientation(int)public IListElement getElement(IListElement listElement)
listElement - public IListElement[] getElements()
getElements in interface IListSelectorpublic boolean containsElement(IListElement listElement)
containsElement in interface IListSelectorlistElement - public boolean removeElement(IListElement listElement)
removeElement in interface IListSelectorcom.tssap.util.ui.reuse.list.IMutableListSelector#removeElement(IListElement)public int removeElements(IListElement[] listElements)
removeElements in interface IListSelectorcom.tssap.util.ui.reuse.list.IMutableListSelector#removeElements(IListElement[])public void removeAll()
removeAll in interface IListSelectorcom.tssap.util.ui.reuse.list.IMutableListSelector#removeAll()public void setElements(IListElement[] listElements)
setElements in interface IListSelectorcom.tssap.util.ui.reuse.list.IMutableListSelector#setElements(IListElement[])
public boolean changeElement(IListElement listElement,
java.lang.String newName,
java.lang.Object userObject)
changeElement in interface IListSelectorcom.tssap.util.ui.reuse.list.IMutableListSelector#changeElement(Object, String)
public boolean addElement(java.lang.String value,
java.lang.Object userObject)
addElement in interface IListSelectorcom.tssap.util.ui.reuse.list.IMutableListSelector#addElement(Object, String)public int addElements(IListElement[] listElements)
addElements in interface IListSelectorcom.tssap.util.ui.reuse.list.IMutableListSelector#addElements(IListElement[])public boolean addElement(IListElement listElement)
addElement in interface IListSelectorcom.tssap.util.ui.reuse.list.IMutableListSelector#addElement(IListElement)public IListElement getSelection()
getSelection in interface IListSelectorcom.tssap.util.ui.reuse.list.IMutableListSelector#getSelection()public void setSelection(IListElement listElement)
setSelection in interface IListSelectorcom.tssap.util.ui.reuse.list.IMutableListSelector#setSelection(IListElement)public void setSelection(int elementIndex)
setSelection in interface IListSelectorcom.tssap.util.ui.reuse.list.IMutableListSelector#setSelection(int)public void refresh()
IGenericComponentrefresh in interface IGenericComponentrefresh in class GenericComponentIGenericComponent.refresh()public void setEnabled(boolean enabled)
setEnabled in interface IListSelectorsetEnabled in class GenericMultiTableComponentenabled - The enabled to setpublic void setLabelProvider(org.eclipse.jface.viewers.LabelProvider labelProvider)
setLabelProvider in interface IListSelectorlabelProvider - The labelProvider to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||