Package org.eclipse.emf.cdo.security.ui
Interface ISecurityManagementContext
- 
- All Known Implementing Classes:
- ISecurityManagementContext.Default
 
 public interface ISecurityManagementContextAn optional security-management context that may be provided as an adapter by the view part to which the "Manage Security" command is contributed.- Author:
- Christian W. Damus (CEA LIST)
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static classISecurityManagementContext.DefaultA default implementation of asecurity management context.
 - 
Field SummaryFields Modifier and Type Field Description static ISecurityManagementContextDEFAULT
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description CDOViewconnect(CDOSession session)Obtains a view in which to open the security resource for editing.voiddisconnect(CDOView view)Releases aviewpreviously obtained from this context.CDOResourcegetSecurityResource(CDOView view)Obtains the resource containing the security model for presentation in the Security Management editor.
 
- 
- 
- 
Field Detail- 
DEFAULTstatic final ISecurityManagementContext DEFAULT 
 
- 
 - 
Method Detail- 
connectCDOView connect(CDOSession session) Obtains a view in which to open the security resource for editing. If at all possible, this should be a writable transaction. If necessary, implementors are welcome to open a new session logged in as the Administrator for this purpose.- See Also:
- getSecurityResource(CDOView),- disconnect(CDOView)
 
 - 
disconnectvoid disconnect(CDOView view) Releases aviewpreviously obtained from this context. The caller must not attempt to use theviewafter this point because in all likelihood it will be closed.- See Also:
- connect(CDOSession)
 
 - 
getSecurityResourceCDOResource getSecurityResource(CDOView view) Obtains the resource containing the security model for presentation in the Security Management editor.
 
- 
 
-