public class TableOperations extends 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 |
cutFeatures() |
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,
String oldname,
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 cutFeatures() 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, String oldname, String newname) throws DataException
fs
- oldname
- newname
- DataException