org.eclipse.datatools.enablement.sybase.asa.schemaobjecteditor.examples.routineeditor.pages.privilege
Class RoutinePrivilegesDetailPage
java.lang.Object
org.eclipse.ui.forms.AbstractFormPart
org.eclipse.datatools.enablement.sybase.asa.schemaobjecteditor.examples.commonui.privilege.PrivilegesDetailPage
org.eclipse.datatools.enablement.sybase.asa.schemaobjecteditor.examples.routineeditor.pages.privilege.RoutinePrivilegesDetailPage
- All Implemented Interfaces:
- org.eclipse.ui.forms.IDetailsPage, org.eclipse.ui.forms.IFormPart, org.eclipse.ui.forms.IPartSelectionListener
public class RoutinePrivilegesDetailPage
- extends PrivilegesDetailPage
- Author:
- Hui Cao
Method Summary |
void |
markDirty()
Overrides super implementation to notifies the editor about the dirty state |
void |
modify(AuthorizationIdentifier authid,
SQLObject sqlObj,
java.lang.String action,
Privilege p,
java.lang.String selectString,
org.eclipse.jface.viewers.CellEditor currentEditor,
java.lang.Object value)
Modify the model based on the user's selection |
Methods inherited from class org.eclipse.ui.forms.AbstractFormPart |
commit, getManagedForm, initialize, isDirty, isStale, markStale, setFocus, setFormInput |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.ui.forms.IFormPart |
commit, initialize, isDirty, isStale, setFocus, setFormInput |
RoutinePrivilegesDetailPage
public RoutinePrivilegesDetailPage(ISchemaObjectEditor editor,
org.eclipse.ui.forms.widgets.FormToolkit toolkit,
ISchemaObjectEditModel model,
SQLObject sqlObj,
PrivilegesDetailTableMetaData meta,
PrivilegesTreeViewerInput input,
IPrivilegeStateLookup stateProvider)
modify
public void modify(AuthorizationIdentifier authid,
SQLObject sqlObj,
java.lang.String action,
Privilege p,
java.lang.String selectString,
org.eclipse.jface.viewers.CellEditor currentEditor,
java.lang.Object value)
- Description copied from class:
PrivilegesDetailPage
- Modify the model based on the user's selection
- Specified by:
modify
in class PrivilegesDetailPage
- Parameters:
authid
- the authorization identifiersqlObj
- the SQL objectaction
- the actionp
- the privilge which is editedselectString
- the user's selection
markDirty
public void markDirty()
- Overrides super implementation to notifies the editor about the dirty state
- Overrides:
markDirty
in class org.eclipse.ui.forms.AbstractFormPart