com.tssap.util.ui.reuse.java
Class TypeComponent2
java.lang.Object
|
+--com.tssap.util.ui.AbstractEditable
|
+--com.tssap.util.ui.reuse.GenericComponent
|
+--com.tssap.util.ui.reuse.ObjectEditorComponent
|
+--com.tssap.util.ui.reuse.DefaultObjectEditorComponent
|
+--com.tssap.util.ui.reuse.RefreshObjectEditorComponent
|
+--com.tssap.util.ui.reuse.java.JavaComponent
|
+--com.tssap.util.ui.reuse.java.TypeComponent2
- All Implemented Interfaces:
- IEditable, IGenericComponent, IGridLayoutPaneContainer, IObjectEditorComponent, IReuseable, IValidatable
- public class TypeComponent2
- extends JavaComponent
| Methods inherited from class com.tssap.util.ui.reuse.GenericComponent |
addModifyListener, addSelectionListener, createPartControl, createPartControl, createPartControl, getTitle, getUserAreaGridLayoutPane, isComposable, refresh, removeModifyListener, removeSelectionListener, setTitle |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeComponent2
public TypeComponent2()
TypeComponent2
public TypeComponent2(java.lang.String title)
TypeComponent2
public TypeComponent2(ITypeData typeData)
TypeComponent2
public TypeComponent2(java.lang.String title,
ITypeData typeData)
initContainer
public void initContainer(IGridLayoutPane userArea)
- Description copied from interface:
IGridLayoutPaneContainer
- Initialize component's UI. Implementor has to fill the given grid layout pane.
The number of columns comes from call to method getUserGridNumOfColumns().
If grid columns have equal widths is decided through call to isUserGridEqualColSize().
- See Also:
IGridLayoutPaneContainer.initContainer(com.tssap.util.ui.pane.IGridLayoutPane)
refreshDataFromUI
public void refreshDataFromUI()
- Description copied from interface:
IObjectEditorComponent
- The implementation has to update the content of the data Object with the current UI inputs
- Overrides:
refreshDataFromUI in class JavaComponent
- See Also:
IObjectEditorComponent.refreshDataFromUI()
refreshUIFromData
public void refreshUIFromData()
- Description copied from interface:
IObjectEditorComponent
- The implementation has to fill it's UI elements with the data contained in it's data Object
The implementation can rely that @see #setData(Object) and @see IReuseable#createPartControl(Composite)
have been called before this method is invoked
- Overrides:
refreshUIFromData in class JavaComponent
- See Also:
IObjectEditorComponent.refreshUIFromData()
getTypeData
public ITypeData getTypeData()
- Returns the typeData.
getTypeData() only returns reasonable values in case you called
refreshDataFromUI() before or if you set auto refreshing to true.
- Returns:
- ITypeData
- See Also:
principles of extended class ObjectEditorComponent (refresh
methods).
setTypeData
public void setTypeData(ITypeData data)
- Sets the typeData.
- Parameters:
typeData - The typeData to set
acceptData
public java.lang.String acceptData(java.lang.Object data)
- Description copied from class:
ObjectEditorComponent
- Method acceptData.
- Overrides:
acceptData in class JavaComponent
- See Also:
ObjectEditorComponent.acceptData(java.lang.Object)
setTypeChooser
public void setTypeChooser(IChooser typeChooser)
- Sets the typeChooser.
- Parameters:
typeChooser - The typeChooser to set
getValidationStatus
public org.eclipse.core.runtime.IStatus getValidationStatus()
- Overrides:
getValidationStatus in class JavaComponent
- Following copied from class:
com.tssap.util.ui.reuse.java.JavaComponent
- See Also:
IValidatable.getValidationStatus()
setShowArrayCheckbox
public void setShowArrayCheckbox(boolean showArrayCheckbox)
- Sets the showArrayCheckbox.
- Parameters:
showArrayCheckbox - The showArrayCheckbox to set
setArrayCheckboxEditable
public void setArrayCheckboxEditable(boolean isArrayCheckboxEditable)
setFullQualifiedNameLabelVisible
public void setFullQualifiedNameLabelVisible(boolean isFullQualifiedNameLabelVisible)
- Sets the isFullQualifiedNameLabelVisible.
- Parameters:
isFullQualifiedNameLabelVisible - The isFullQualifiedNameLabelVisible to set
setTypeNameSelector
public void setTypeNameSelector(IDropDownSelector typeNameSelector)
getTypeNameSelector
public IDropDownSelector getTypeNameSelector()
Copyright © 2005 SAP AG. All Rights Reserved.