| net.sourceforge.squirrel_sql.client.session.mainpanel.objecttree.tabs.table.BaseTableTab net.sourceforge.squirrel_sql.client.session.mainpanel.objecttree.tabs.table.ContentsTab
Inner Class :class EditableContentsTabPopupMenu extends TablePopupMenu | |
Inner Class :class UneditableContentsTabPopupMenu extends TablePopupMenu | |
Method Summary | |
public void | addListener(DataSetUpdateableTableModelListener l) | protected IDataSet | createDataSet() Create the IDataSet to be displayed in this tab. | public String | deleteRows(Object[][] rowData, ColumnDisplayDefinition[] colDefs) | public boolean | editModeIsForced() | public void | forceEditMode(boolean mode) | public Component | getComponent() Override the parent's getComponent method so that we can
attach a menu to the ContentsTab pane that allows the user
to insert a new row when the table is empty. | public static String | getContentsTabTitle() Return the title for the tab. | public String[] | getDefaultValues(ColumnDisplayDefinition[] colDefs) | protected String | getDestinationClassName() | public String | getHint() Return the hint for the tab. | public int | getRowidCol() | public SQLFilterClauses | getSQLFilterClauses() | public String | getTitle() Return the title for the tab. | public static String | getUnambiguousTableName(ISession session, String name) return the name of the table that is unambiguous across DB accesses,
including the same DB on different machines. | public String | getWarningOnCurrentData(Object[] values, ColumnDisplayDefinition[] colDefs, int col, Object oldValue) | public String | getWarningOnProjectedUpdate(Object[] values, ColumnDisplayDefinition[] colDefs, int col, Object newValue) | public String | insertRow(Object[] values, ColumnDisplayDefinition[] colDefs) | public Object | reReadDatum(Object[] values, ColumnDisplayDefinition[] colDefs, int col, StringBuffer message) | public void | removeListener(DataSetUpdateableTableModelListener l) | public void | setDatabaseObjectInfo(IDatabaseObjectInfo value) | public void | setSession(ISession session) | public String | updateTableComponent(Object[] values, ColumnDisplayDefinition[] colDefs, int col, Object oldValue, Object newValue) |
previousTableName | String previousTableName(Code) | | Name of the table that this tab displayed last time it was loaded.
This is needed to prevent an on-demand edit operation from turning
all data into editable tables.
The initial value of "" allows us to dispense with a check for null
on the first pass.
|
editModeIsForced | public boolean editModeIsForced()(Code) | | |
forceEditMode | public void forceEditMode(boolean mode)(Code) | | |
getComponent | public Component getComponent()(Code) | | Override the parent's getComponent method so that we can
attach a menu to the ContentsTab pane that allows the user
to insert a new row when the table is empty.
|
getContentsTabTitle | public static String getContentsTabTitle()(Code) | | Return the title for the tab.
The title for the tab. |
getDestinationClassName | protected String getDestinationClassName()(Code) | | |
getHint | public String getHint()(Code) | | Return the hint for the tab.
The hint for the tab. |
getRowidCol | public int getRowidCol()(Code) | | |
getTitle | public String getTitle()(Code) | | Return the title for the tab.
The title for the tab. |
getUnambiguousTableName | public static String getUnambiguousTableName(ISession session, String name)(Code) | | return the name of the table that is unambiguous across DB accesses,
including the same DB on different machines.
This function is static because it is used elsewhere to generate the same
name as is used within instances of this class.
the name of the table that is unique for this DB access |
|
|