Example #1
0
 /// <summary>
 /// Sets the active Schema and puts the DB Objects Selection Panel in focus.
 /// </summary>
 /// <param name="schema">Schema name.</param>
 /// <param name="givePanelFocus">Flag indicating whether the <see cref="DbObjectSelectionPanel"/> is given focus.</param>
 public void OpenSchema(string schema, bool givePanelFocus)
 {
     if (DBObjectSelectionPanel3.SetConnection(WbConnection, schema) && givePanelFocus)
     {
         DBObjectSelectionPanel3.BringToFront();
     }
 }
Example #2
0
 /// <summary>
 /// Refreshes the availability of action labels linked to a table with the given name.
 /// </summary>
 /// <param name="tableName">Name of the table with status update.</param>
 /// <param name="editActive">Flag indicating if the Edit Data action is enabled for a table with the given name.</param>
 public void RefreshDbObjectPanelActionLabelsEnabledStatus(string tableName, bool editActive)
 {
     DBObjectSelectionPanel3.RefreshActionLabelsEnabledStatus(tableName, editActive);
 }