public class TableOperations
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
TableOperations.NewFieldActionListener |
Modifier and Type | Field and Description |
---|---|
static int |
MAX_FIELD_LENGTH |
Constructor and Description |
---|
TableOperations() |
Modifier and Type | Method and Description |
---|---|
void |
copyFeatures() |
void |
deleteAttributes(FeatureTable table) |
void |
deleteFeatures() |
static TableOperations |
getInstance() |
boolean |
hasSelection() |
void |
insertAttributes(FeatureTable table) |
void |
insertNewFeature() |
void |
pasteFeatures() |
void |
renameAttributes(FeatureTable table) |
static void |
renameColumn(FeatureStore fs,
java.lang.String oldname,
java.lang.String newname)
Renames field in feature store
|
void |
setTablePanel(FeatureTableDocumentPanel tp) |
public static final int MAX_FIELD_LENGTH
public static TableOperations getInstance()
public void setTablePanel(FeatureTableDocumentPanel tp)
public void copyFeatures() throws DataException
DataException
public boolean hasSelection()
public void pasteFeatures() throws DataException
DataException
public void deleteFeatures() throws DataException
DataException
public void insertNewFeature() throws DataException
DataException
public void deleteAttributes(FeatureTable table) throws DataException
DataException
public void insertAttributes(FeatureTable table) throws DataException
DataException
public void renameAttributes(FeatureTable table) throws DataException
DataException
public static void renameColumn(FeatureStore fs, java.lang.String oldname, java.lang.String newname) throws DataException
fs
- oldname
- newname
- DataException