* Opens the ItemPermissionDialog and adds the composed
* item permission to the list.
*/
private void addItemPermission()
{
ItemPermissionDialog dialog = new ItemPermissionDialog( getShell(), null, context );
if ( dialog.open() == ItemPermissionDialog.OK && dialog.getItemPermission() != null )
{
ItemPermissionWrapper itemPermissionWrapper = new ItemPermissionWrapper( dialog.getItemPermission() );
itemPermissionWrappers.add( itemPermissionWrapper );
tableViewer.refresh();
}
}