harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Harmony Wiki] Update of "PolicytoolDev" by AndrasBelicza
Date Sat, 19 Jul 2008 13:01:48 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Harmony Wiki" for change notification.

The following page has been changed by AndrasBelicza:
http://wiki.apache.org/harmony/PolicytoolDev

------------------------------------------------------------------------------
  
  In order to remember the real structure of the editable policy file, extra spaces and comments
are stored in CommentEntry instances.
  
- = The View package =
+ = The view package =
  
  The frame of policytool is represented by the MainFrame class. It contains a menu bar, a
text field to display the edited policy file, and a tabbed pane for the 2 editor panel.
  
@@ -34, +34 @@

   *KeystoreEntryEditFormDialo: to view/edit data to locate the keystore
   *GrantEntryFormDialog: to view/edit grant entries
   *PrincipalEntryFormDialog: to view/edit principals
-  *PermissionEntryFormdialog: to view/edit permissions
+  *PermissionEntryFormDialog: to view/edit permissions
  
  Policytool contains several entities which has to be listed, available for editing and removing,
and provide an interface for adding new entities. Such entities are grant entries, principals,
permissions. The generic ListAndEdit class is responsible to provide such an interface which
is used parameterized when used for the listed entites.
  
- The LAEFormDialog is a specialized FormDialog which is intended to handle the data view/edit
interface for entities available through a ListAndEdit component.
+ The LAEFormDialog is a specialized FormDialog which is intended to handle the data view/edit
interface for entities available through a ListAndEdit component. The GrantEntryFormDialog,
PrincipalEntryFormDialog and PermissionEntryFormDialog classes in fact are subclasses of the
LAEFormDialog class.
  
+ = The control package =
+ 
+ The Controller class drives the GUI and connets it to the model. It is the handler of the
menu items, and it is responsible to passing over the edited policy text in case of editor
panel switching. Handles the unsaved changes before certain operations (exit, open a new file,
load a file).
+ 
+ The PolicyFileHandler class is responsible to gain the policy text out of a policy file
and to save a policy text to a policy file knowing about the mandatory UTF-8 encoding.
+ 

Mime
View raw message