Class
caplin.workbench.ui

WorkbenchPermissionEditor

A WorkbenchPermissionEditor allows manipulation of permissions in the fake permission service. A toggle button will be created for each permission which an object is listening to. This means that, if you have set a listener on the caplin.services.testing.PermissionServiceStub for certain action, a toggle button will appear for it. The toggle buttons allow the changing of a permission from permitted to denied and vice versa. To use this class, add it to a caplin.workbench.ui.Workbench object e.g. var oPermissionEditor = new caplin.workbench.ui.WorkbenchPermissionEditor();
workbench.addToLeftWing(oPermissionEditor, "Permissions");

Constructor Summary

Attributes Name and Description
caplin.workbench.ui.WorkbenchPermissionEditor()

Method Summary

Attributes Name and Description
void getElement()

Constructor Detail

caplin.workbench.ui.WorkbenchPermissionEditor()

Method Detail