Esempio n. 1
0
 /** Dispose of the form */
 @Override
 protected void dispose() {
   u_panel.dispose();
   r_panel.dispose();
   cap_panel.dispose();
   c_panel.dispose();
   super.dispose();
 }
Esempio n. 2
0
 /** Initializze the widgets in the form */
 @Override
 protected void initialize() {
   super.initialize();
   u_panel.initialize();
   r_panel.initialize();
   cap_panel.initialize();
   c_panel.initialize();
   tab.add(I18N.get("user.plural"), u_panel);
   tab.add(I18N.get("role.plural"), r_panel);
   tab.add(I18N.get("capability.plural"), cap_panel);
   tab.add(I18N.get("connection.plural"), c_panel);
   add(tab);
 }
Esempio n. 3
0
 /** Dispose of the panel */
 public void dispose() {
   role_pnl.dispose();
   cap_pnl.dispose();
   removeAll();
 }
Esempio n. 4
0
 /** Initializze the panel */
 public void initialize() {
   role_pnl.initialize();
   cap_pnl.initialize();
   layoutPanel();
 }
Esempio n. 5
0
 /** Change the selected role */
 private void selectRole() {
   Role r = role_pnl.getSelectedProxy();
   cap_pnl.setModel(new RoleCapabilityModel(session, r));
 }