Search in sources :

Example 6 with OracleTableBase

use of org.jkiss.dbeaver.ext.oracle.model.OracleTableBase in project dbeaver by dbeaver.

the class OracleSourceDeclarationEditor method contributeEditorCommands.

@Override
protected void contributeEditorCommands(IContributionManager toolBarManager) {
    super.contributeEditorCommands(toolBarManager);
    if (getSourceObject() instanceof OracleTableBase) {
        OracleTableBase sourceObject = (OracleTableBase) getSourceObject();
        OracleEditorUtils.addDDLControl(toolBarManager, sourceObject, this);
    }
}
Also used : OracleTableBase(org.jkiss.dbeaver.ext.oracle.model.OracleTableBase)

Aggregations

OracleTableBase (org.jkiss.dbeaver.ext.oracle.model.OracleTableBase)6 OracleTableColumn (org.jkiss.dbeaver.ext.oracle.model.OracleTableColumn)2 OracleTableConstraint (org.jkiss.dbeaver.ext.oracle.model.OracleTableConstraint)2 SQLDatabasePersistAction (org.jkiss.dbeaver.model.impl.edit.SQLDatabasePersistAction)2 DBSDataType (org.jkiss.dbeaver.model.struct.DBSDataType)2