org.eclipse.datatools.enablement.sybase.asa.schemaobjecteditor.examples.tableeditor.model
Class ASATableSchemaEditModel

java.lang.Object
  extended by org.eclipse.datatools.sqltools.schemaobjecteditor.model.AbstractSchemaObjectEditModel
      extended by 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

Field Summary
 
Fields inherited from interface org.eclipse.datatools.sqltools.schemaobjecteditor.model.ISchemaObjectEditModel
ERROR_REFRESH_ADDITIONAL_OBJ, FATAL_ERROR_MAIN_OBJ_LOST, REFRESH_SUCCESSFUL
 
Constructor Summary
ASATableSchemaEditModel(ASATableSchemaImmutableModel model, org.eclipse.datatools.sqltools.core.DatabaseIdentifier databaseIdentifier)
           
 
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 org.eclipse.datatools.sqltools.schemaobjecteditor.model.AbstractSchemaObjectEditModel
checkModelExistence, getAdditionalSQLObjects, getBackupedDDL, getCopier, getEditorTooltipText, getMainSQLObject, getSchemaObjectImmutableModel, refreshFromDB, revert
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASATableSchemaEditModel

public ASATableSchemaEditModel(ASATableSchemaImmutableModel model,
                               org.eclipse.datatools.sqltools.core.DatabaseIdentifier databaseIdentifier)
Method Detail

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