|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.datatools.enablement.sybase.asa.schemaobjecteditor.examples.routineeditor.commonui.ParametersTableProvider
public class ParametersTableProvider
Parameter section for stored procedures
Field Summary |
---|
Fields inherited from interface org.eclipse.datatools.enablement.sybase.asa.schemaobjecteditor.examples.routineeditor.commonui.ICompositeProvider |
---|
BORDER, GROUP, NONE |
Constructor Summary | |
---|---|
ParametersTableProvider()
|
|
ParametersTableProvider(boolean useGroup)
|
|
ParametersTableProvider(boolean useGroup,
boolean enforcePrefix)
|
|
ParametersTableProvider(boolean useGroup,
boolean enforcePrefix,
boolean supportsExp)
|
Method Summary | |
---|---|
org.eclipse.swt.widgets.Composite |
createTheTable(org.eclipse.swt.widgets.Composite parent)
|
void |
enableTable(boolean status)
Enable/disable the parameters table. |
void |
focus()
Set the focus onto table cursor for editing. |
ParametersData |
geData()
|
org.eclipse.swt.widgets.Composite |
getComposite(org.eclipse.swt.widgets.Composite parent,
org.eclipse.ui.forms.widgets.FormToolkit formToolkit,
int style)
return the visible part of this section and change the part's parent according to the parameter. |
org.eclipse.swt.widgets.Table |
getTable()
Returns the table widget. |
AccessibleTableViewer |
getViewer()
|
void |
persistToDataModel(ParametersRowData row,
int columnIndex,
java.lang.Object obj)
Save data from UI back to Model. |
void |
setData(ParametersData data)
|
void |
setDataTypes(java.lang.String[] types)
|
boolean |
setFocus()
|
void |
setInOutItems(java.lang.String[] inOutItems)
|
void |
updateInOutField()
When using different types of syntax, the INOUT field may have different options. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ParametersTableProvider()
public ParametersTableProvider(boolean useGroup)
_useGroup
- whether to use grouppublic ParametersTableProvider(boolean useGroup, boolean enforcePrefix)
_useGroup
- whether to use groupenforcePrefix
- Sets whether the parameter name must be prefixed by a "@" character.public ParametersTableProvider(boolean useGroup, boolean enforcePrefix, boolean supportsExp)
_useGroup
- whether to use groupenforcePrefix
- Sets whether the parameter name must be prefixed by a "@" character.Method Detail |
---|
public org.eclipse.swt.widgets.Composite createTheTable(org.eclipse.swt.widgets.Composite parent)
public org.eclipse.swt.widgets.Composite getComposite(org.eclipse.swt.widgets.Composite parent, org.eclipse.ui.forms.widgets.FormToolkit formToolkit, int style)
ICompositeProvider
getComposite
in interface ICompositeProvider
parent
- the new parent of the returned objectformToolkit
- the form tool kit used to create widgets, could be nullstyle
- style flag to customize the composite
public org.eclipse.swt.widgets.Table getTable()
public boolean setFocus()
public void enableTable(boolean status)
status
- public void setInOutItems(java.lang.String[] inOutItems)
public void setDataTypes(java.lang.String[] types)
public void updateInOutField()
public void persistToDataModel(ParametersRowData row, int columnIndex, java.lang.Object obj)
itemIndex
- columnIndex
- obj
- public void focus()
public ParametersData geData()
public void setData(ParametersData data)
public AccessibleTableViewer getViewer()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |