| java.lang.Object workbench.gui.components.ClipBoardCopier
ClipBoardCopier | public class ClipBoardCopier (Code) | | A class to copy the data of a
workbench.gui.components.WbTable to
the clipboard. Either as tab-separated text or SQL Statements.
author: support@sql-workbench.net |
Method Summary | |
protected void | _copyAsSql(boolean useUpdate, boolean selectedOnly, boolean showSelectColumns, boolean includeDelete) | public void | copyAsSql(boolean useUpdate, boolean selectedOnly, boolean showSelectColumns, boolean includeDelete) | public void | copyAsSqlDeleteInsert(boolean selectedOnly, boolean showSelectColumns) | public void | copyAsSqlInsert(boolean selectedOnly, boolean showSelectColumns) | public void | copyAsSqlUpdate(boolean selectedOnly, boolean showSelectColumns) Copy the data of the client table as SQL UPDATE statements to the clipboard.
Before copying, the primary key columns of the underlying
workbench.storage.DataStore are checked. | public void | copyDataToClipboard(boolean includeHeaders, boolean selectedOnly, boolean showSelectColumns) | public ColumnSelectionResult | selectColumns(boolean includeHeader, boolean selectedOnly, boolean showHeaderSelection, boolean showSelectedRowsSelection) A general purpose method to select specific columns from the result set
this is e.g. |
_copyAsSql | protected void _copyAsSql(boolean useUpdate, boolean selectedOnly, boolean showSelectColumns, boolean includeDelete)(Code) | | |
copyAsSql | public void copyAsSql(boolean useUpdate, boolean selectedOnly, boolean showSelectColumns, boolean includeDelete)(Code) | | Copy the data of the client table into the clipboard using SQL statements
|
copyAsSqlDeleteInsert | public void copyAsSqlDeleteInsert(boolean selectedOnly, boolean showSelectColumns)(Code) | | |
copyAsSqlInsert | public void copyAsSqlInsert(boolean selectedOnly, boolean showSelectColumns)(Code) | | |
copyDataToClipboard | public void copyDataToClipboard(boolean includeHeaders, boolean selectedOnly, boolean showSelectColumns)(Code) | | Copy data from the table as tab-delimited into the clipboard
Parameters: includeHeaders - if true, then a header line with the column names is copied as well Parameters: selectedOnly - if true, then only selected rows are copied, else all rows Parameters: showSelectColumns - if true, a dialog will be presented to the user to select the columns to be included |
selectColumns | public ColumnSelectionResult selectColumns(boolean includeHeader, boolean selectedOnly, boolean showHeaderSelection, boolean showSelectedRowsSelection)(Code) | | A general purpose method to select specific columns from the result set
this is e.g. used for copying data to the clipboard
|
|
|