org.eclipse.datatools.enablement.sybase.asa.schemaobjecteditor.examples.tableeditor.model
Class ASATableSchemaEditModel
java.lang.Object
org.eclipse.datatools.sqltools.schemaobjecteditor.model.AbstractSchemaObjectEditModel
org.eclipse.datatools.enablement.sybase.asa.schemaobjecteditor.examples.tableeditor.model.ASATableSchemaEditModel
- All Implemented Interfaces:
- org.eclipse.core.runtime.IAdaptable, ISchemaObjectEditModel
public class ASATableSchemaEditModel
- extends AbstractSchemaObjectEditModel
Edit model for ASA table schema editor
- Author:
- Idull
Method Summary |
java.lang.Object |
getAdapter(java.lang.Class adapter)
|
java.lang.String |
getDeltaDDL()
Sub class should override this method to return the delta ddl |
void |
startLogging()
Starts logging, this can be manually called when the editing is started. |
void |
stopLogging()
Stops logging, this should be manually called when the editing is finished |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ASATableSchemaEditModel
public ASATableSchemaEditModel(ASATableSchemaImmutableModel model,
org.eclipse.datatools.sqltools.core.DatabaseIdentifier databaseIdentifier)
getAdapter
public java.lang.Object getAdapter(java.lang.Class adapter)
getDeltaDDL
public java.lang.String getDeltaDDL()
- Description copied from class:
AbstractSchemaObjectEditModel
- Sub class should override this method to return the delta ddl
- Specified by:
getDeltaDDL
in interface ISchemaObjectEditModel
- Overrides:
getDeltaDDL
in class AbstractSchemaObjectEditModel
- Returns:
startLogging
public void startLogging()
- Description copied from interface:
ISchemaObjectEditModel
- Starts logging, this can be manually called when the editing is started. And it is called after the model is
cloned.
- Specified by:
startLogging
in interface ISchemaObjectEditModel
- Overrides:
startLogging
in class AbstractSchemaObjectEditModel
stopLogging
public void stopLogging()
- Description copied from interface:
ISchemaObjectEditModel
- Stops logging, this should be manually called when the editing is finished
- Specified by:
stopLogging
in interface ISchemaObjectEditModel
- Overrides:
stopLogging
in class AbstractSchemaObjectEditModel