Package org.eclipse.emf.cdo.security.ui
Class ISecurityManagementContext.Default
java.lang.Object
org.eclipse.emf.cdo.security.ui.ISecurityManagementContext.Default
- All Implemented Interfaces:
ISecurityManagementContext
- Enclosing interface:
- ISecurityManagementContext
public static class ISecurityManagementContext.Default
extends Object
implements ISecurityManagementContext
A default implementation of a
security management context.- Author:
- Christian W. Damus (CEA LIST)
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.security.ui.ISecurityManagementContext
ISecurityManagementContext.Default -
Field Summary
Fields inherited from interface org.eclipse.emf.cdo.security.ui.ISecurityManagementContext
DEFAULT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconnect(CDOSession session) Obtains a view in which to open the security resource for editing.voiddisconnect(CDOView view) Releases aviewpreviously obtained from this context.getSecurityResource(CDOView view) Obtains the resource containing the security model for presentation in the Security Management editor.
-
Constructor Details
-
Default
public Default()
-
-
Method Details
-
connect
Description copied from interface:ISecurityManagementContextObtains 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.- Specified by:
connectin interfaceISecurityManagementContext- See Also:
-
disconnect
Description copied from interface:ISecurityManagementContextReleases aviewpreviously obtained from this context. The caller must not attempt to use theviewafter this point because in all likelihood it will be closed.- Specified by:
disconnectin interfaceISecurityManagementContext- See Also:
-
getSecurityResource
Description copied from interface:ISecurityManagementContextObtains the resource containing the security model for presentation in the Security Management editor.- Specified by:
getSecurityResourcein interfaceISecurityManagementContext
-