| org.netbeans.modules.sql.framework.ui.model.SQLUIModel
All known Subclasses: org.netbeans.modules.sql.framework.ui.model.impl.AbstractSQLModel,
SQLUIModel | public interface SQLUIModel (Code) | | |
Method Summary | |
public void | addJavaOperator(SQLOperator javaOp) | public void | addObject(SQLObject sqlObject) | public void | addObjectIgnoreUndo(SQLObject sqlObject) | public void | addSQLDataListener(SQLDataListener l) | public void | addSQLObject(SQLObject sqlObject) | public SQLObject | addSourceTable(DBTable srcTable, Point loc) Adds a SourceTableImpl instance using the given DBTable instance as a template, if
it does not already exist.
Parameters: srcTable - DBTable to serve as template for the new SourceTableImpl instance. | public SQLObject | addTargetTable(DBTable targetTable, Point loc) Adds a TargetTableImpl instance using the given DBTable instance as a template, if
it does not already exist.
Parameters: targetTable - DBTable to serve as template for the new TargetTableImplinstance. | public void | clearJavaOperators() | public void | clearListener() | public void | createLink(SQLCanvasObject srcObject, String srcFieldName, SQLConnectableObject destObject, String destFieldName) | public void | createLinkIgnoreUndo(SQLCanvasObject srcObject, String srcFieldName, SQLConnectableObject destObject, String destFieldName) | public SQLCanvasObject | createObject(String className) | public void | createVisiblePredicateRefObj(VisibleSQLPredicate predicate) | public void | fireChildObjectCreatedEvent(SQLDataEvent evt) | public void | fireChildObjectDeletedEvent(SQLDataEvent evt) | public void | fireSQLDataCreationEvent(SQLDataEvent evt) | public void | fireSQLDataDeletionEvent(SQLDataEvent evt) | public void | fireSQLDataUpdatedEvent(SQLDataEvent evt) | public void | fireSQLLinkCreationEvent(SQLLinkEvent evt) | public void | fireSQLLinkDeletionEvent(SQLLinkEvent evt) | public UndoableEditSupport | getUndoEditSupport() | public UndoManager | getUndoManager() | public boolean | isContainsJavaOperators() Check if a java operator is used in the model. | public boolean | isDirty() | public void | objectAdded(SQLObjectEvent evt) | public void | objectRemoved(SQLObjectEvent evt) | public void | removeJavaOperator(SQLOperator javaOp) | public void | removeLink(SQLCanvasObject srcObject, String srcFieldName, SQLConnectableObject destObject, String destFieldName) Removes a link from backend model object. | public void | removeLinkIgnoreUndo(SQLCanvasObject srcObject, String srcFieldName, SQLConnectableObject destObject, String destFieldName) Removes a link from backend model object. | public void | removeObject(SQLObject sqlObject) | public void | removeObjectIgnoreUndo(SQLObject sqlObject) | public void | removeSQLDataListener(SQLDataListener l) | public void | setDirty(boolean dirty) |
addObject | public void addObject(SQLObject sqlObject) throws BaseException(Code) | | |
addObjectIgnoreUndo | public void addObjectIgnoreUndo(SQLObject sqlObject) throws BaseException(Code) | | |
addSQLObject | public void addSQLObject(SQLObject sqlObject) throws BaseException(Code) | | |
addSourceTable | public SQLObject addSourceTable(DBTable srcTable, Point loc) throws BaseException(Code) | | Adds a SourceTableImpl instance using the given DBTable instance as a template, if
it does not already exist.
Parameters: srcTable - DBTable to serve as template for the new SourceTableImpl instance. new SourceTableImpl instance throws: BaseException - if error occurs during creation |
addTargetTable | public SQLObject addTargetTable(DBTable targetTable, Point loc) throws BaseException(Code) | | Adds a TargetTableImpl instance using the given DBTable instance as a template, if
it does not already exist.
Parameters: targetTable - DBTable to serve as template for the new TargetTableImplinstance. SourceTableImpl representing the contents of the given template object; maybe a pre-existing object. throws: BaseException - if error occurs during creation |
clearJavaOperators | public void clearJavaOperators()(Code) | | |
clearListener | public void clearListener()(Code) | | |
createLink | public void createLink(SQLCanvasObject srcObject, String srcFieldName, SQLConnectableObject destObject, String destFieldName) throws BaseException(Code) | | Called when a link is created in collaboration view
Parameters: srcObject - object which is source of new link Parameters: srcFieldName - - Parameters: destObject - object which is destination of new link Parameters: destFieldName - - throws: BaseException - if error occurs during linking |
createLinkIgnoreUndo | public void createLinkIgnoreUndo(SQLCanvasObject srcObject, String srcFieldName, SQLConnectableObject destObject, String destFieldName) throws BaseException(Code) | | Called when a link is created in collaboration view
Parameters: srcObject - object which is source of new link Parameters: srcFieldName - - Parameters: destObject - object which is destination of new link Parameters: destFieldName - - throws: BaseException - if error occurs during linking |
fireChildObjectCreatedEvent | public void fireChildObjectCreatedEvent(SQLDataEvent evt)(Code) | | |
fireChildObjectDeletedEvent | public void fireChildObjectDeletedEvent(SQLDataEvent evt)(Code) | | |
fireSQLDataCreationEvent | public void fireSQLDataCreationEvent(SQLDataEvent evt) throws BaseException(Code) | | |
isContainsJavaOperators | public boolean isContainsJavaOperators()(Code) | | Check if a java operator is used in the model.
true if a java operator is used. |
isDirty | public boolean isDirty()(Code) | | |
objectAdded | public void objectAdded(SQLObjectEvent evt)(Code) | | called when an sql object is added
Parameters: evt - event object |
objectRemoved | public void objectRemoved(SQLObjectEvent evt)(Code) | | called when an sql object is removed
Parameters: evt - event object |
removeLink | public void removeLink(SQLCanvasObject srcObject, String srcFieldName, SQLConnectableObject destObject, String destFieldName) throws BaseException(Code) | | Removes a link from backend model object.
Parameters: srcObject - object which is source of link removed Parameters: srcFieldName - - Parameters: destObject - object which is destination of link removed Parameters: destFieldName - - throws: BaseException - if error occurs during unlinking |
removeLinkIgnoreUndo | public void removeLinkIgnoreUndo(SQLCanvasObject srcObject, String srcFieldName, SQLConnectableObject destObject, String destFieldName) throws BaseException(Code) | | Removes a link from backend model object.
Parameters: srcObject - object which is source of link removed Parameters: srcFieldName - - Parameters: destObject - object which is destination of link removed Parameters: destFieldName - - throws: BaseException - if error occurs during unlinking |
removeObject | public void removeObject(SQLObject sqlObject) throws BaseException(Code) | | |
removeObjectIgnoreUndo | public void removeObjectIgnoreUndo(SQLObject sqlObject) throws BaseException(Code) | | |
setDirty | public void setDirty(boolean dirty)(Code) | | |
|
|