org.openpermis.editor.policy.view
Interface Tool

All Superinterfaces:
View
All Known Implementing Classes:
AbstractToolView, DecisionTool, ProblemListTool, RecentFilesTool, RoleAssignmentRuleListTool, RoleHierarchyListTool, TargetAccessRuleListTool

public interface Tool
extends View

Extended view interface for tool views.

Tool views are unique views that are typically displayed at the side of the working area and display generic information like search results, filtered trees and other non-editable information.

Since:
0.1.0

Method Summary
 bibliothek.gui.dock.common.CLocation getDefaultLocation()
          Returns the desired default location relative to the working area for this tool view.
 JToolBar getToolBar()
          Returns the tool bar of this tool view.
 String getToolIdentifier()
          Returns a unique identifier for this tool view.
 void refresh(org.openpermis.policy.bean.PolicyBean policy, PolicyContext context)
          Instructs the tool to refresh itself with the specified policy.
 
Methods inherited from interface org.openpermis.editor.policy.view.View
attach, canClose, detach, getContentPane, getIcon, getTitle
 

Method Detail

refresh

void refresh(org.openpermis.policy.bean.PolicyBean policy,
             PolicyContext context)
Instructs the tool to refresh itself with the specified policy.

Called whenever the policy that this view renders changes.

Parameters:
policy - the policy to refresh with.
context - the policy context to use.
Since:
0.1.0

getToolIdentifier

String getToolIdentifier()
Returns a unique identifier for this tool view.

Returns:
a unique identifier for this tool view.
Since:
0.1.0

getToolBar

JToolBar getToolBar()
Returns the tool bar of this tool view.

Returns:
the tool bar of this tool view.
Since:
0.1.0

getDefaultLocation

bibliothek.gui.dock.common.CLocation getDefaultLocation()
Returns the desired default location relative to the working area for this tool view.

Returns:
the desired default location of this tool view.
Since:
0.1.0


PERMIS Role Based Access Control 0.3.0 (Build 14)
2009/05/08 09:06:48
Copyright (c) 2002-2007 Ergon Informatik AG