org.eclipse.datatools.enablement.sybase.asa.schemaobjecteditor.examples.commonui.privilege
Class PrivilegesBlock
java.lang.Object
org.eclipse.ui.forms.MasterDetailsBlock
org.eclipse.datatools.enablement.sybase.asa.schemaobjecteditor.examples.commonui.privilege.PrivilegesBlock
- Direct Known Subclasses:
- TablePrivilegesBlock
public class PrivilegesBlock
- extends org.eclipse.ui.forms.MasterDetailsBlock
The privileges block on "Privileges" page
- Author:
- Idull
Method Summary |
void |
notifyChanged(org.eclipse.emf.common.notify.Notification msg)
Subclass can override this method to do something when the model changes |
void |
refresh()
Refreshes the master part |
void |
refreshDetailPages()
When the model is regenerated, the detail pages should be refresh to make
things consistence. |
Methods inherited from class org.eclipse.ui.forms.MasterDetailsBlock |
createContent, createContent |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrivilegesBlock
public PrivilegesBlock(org.eclipse.swt.widgets.Composite parent,
ISchemaObjectEditModel model,
SchemaObjectEditorPage page)
refresh
public void refresh()
- Refreshes the master part
notifyChanged
public void notifyChanged(org.eclipse.emf.common.notify.Notification msg)
- Subclass can override this method to do something when the model changes
- Parameters:
msg
-
refreshDetailPages
public void refreshDetailPages()
- When the model is regenerated, the detail pages should be refresh to make
things consistence. For table, since all the instances are changed
(table, column), all the detail pages will be recreated.