org.eclipse.datatools.enablement.sybase.asa.schemaobjecteditor.examples.commonui.privilege
Class PrivilegesBlock

java.lang.Object
  extended by org.eclipse.ui.forms.MasterDetailsBlock
      extended by 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

Constructor Summary
PrivilegesBlock(org.eclipse.swt.widgets.Composite parent, ISchemaObjectEditModel model, SchemaObjectEditorPage page)
           
 
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
 

Constructor Detail

PrivilegesBlock

public PrivilegesBlock(org.eclipse.swt.widgets.Composite parent,
                       ISchemaObjectEditModel model,
                       SchemaObjectEditorPage page)
Method Detail

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.