com.tssap.util.ui.reuse.list
Interface IListSelector

All Superinterfaces:
IEditable, IGenericComponent, IGridLayoutPaneContainer, IReuseable
All Known Implementing Classes:
ListSelector

public interface IListSelector
extends IGenericComponent

Since:
19.09.2002

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)
           
 IListSelectorCallback getCallback()
           
 IListElement[] getElements()
           
 IListElementGridLayoutPaneContainer getGridLayoutPaneContainer()
           
 IListElement getSelection()
           
 boolean isEnabled()
          Receive the component's enabled state.
 boolean isSecurityRemove()
           
 void removeAll()
           
 boolean removeElement(IListElement listElement)
           
 int removeElements(IListElement[] listElements)
           
 void setCallback(IListSelectorCallback callback)
           
 void setElements(IListElement[] listElements)
           
 void setEnabled(boolean enabled)
          Set whether or not the component and all its subcomponents are enabled.
 void setGridLayoutPaneContainer(IListElementGridLayoutPaneContainer gridLayoutPaneContainer)
           
 void setLabelProvider(org.eclipse.jface.viewers.LabelProvider labelProvider)
           
 void setSecurityRemove(boolean secure)
           
 void setSelection(IListElement listElement)
           
 void setSelection(int elementIndex)
           
 
Methods inherited from interface com.tssap.util.ui.reuse.IGenericComponent
addModifyListener, addSelectionListener, createPartControl, createPartControl, getTitle, refresh, removeModifyListener, removeSelectionListener, setTitle
 
Methods inherited from interface com.tssap.util.ui.glpc.IGridLayoutPaneContainer
getUserGridNumOfColumns, initContainer, isUserGridEqualColSize
 
Methods inherited from interface com.tssap.util.ui.IEditable
isEditable, setEditable
 
Methods inherited from interface com.tssap.util.ui.reuse.IReuseable
createPartControl
 

Method Detail

isEnabled

public boolean isEnabled()
Description copied from interface: IReuseable
Receive the component's enabled state.
Specified by:
isEnabled in interface IReuseable
Following copied from interface: com.tssap.util.ui.reuse.IReuseable
Returns:
boolean. The enabled state.

setEnabled

public void setEnabled(boolean enabled)
Description copied from interface: IReuseable
Set whether or not the component and all its subcomponents are enabled.
Specified by:
setEnabled in interface IReuseable
Following copied from interface: com.tssap.util.ui.reuse.IReuseable
Parameters:
boolean. - The enabled state.

isSecurityRemove

public boolean isSecurityRemove()

setSecurityRemove

public void setSecurityRemove(boolean secure)

getCallback

public IListSelectorCallback getCallback()

setCallback

public void setCallback(IListSelectorCallback callback)

getGridLayoutPaneContainer

public IListElementGridLayoutPaneContainer getGridLayoutPaneContainer()

setGridLayoutPaneContainer

public void setGridLayoutPaneContainer(IListElementGridLayoutPaneContainer gridLayoutPaneContainer)

getElements

public IListElement[] getElements()

containsElement

public boolean containsElement(IListElement listElement)

removeElement

public boolean removeElement(IListElement listElement)

removeElements

public int removeElements(IListElement[] listElements)

removeAll

public void removeAll()

setElements

public void setElements(IListElement[] listElements)

changeElement

public boolean changeElement(IListElement listElement,
                             java.lang.String newName,
                             java.lang.Object userObject)

addElement

public boolean addElement(java.lang.String value,
                          java.lang.Object userObject)

addElements

public int addElements(IListElement[] listElements)

addElement

public boolean addElement(IListElement listElement)

setSelection

public void setSelection(IListElement listElement)

setSelection

public void setSelection(int elementIndex)

getSelection

public IListElement getSelection()

setLabelProvider

public void setLabelProvider(org.eclipse.jface.viewers.LabelProvider labelProvider)


Copyright © 2005 SAP AG. All Rights Reserved.