]>
git.argeo.org Git - lgpl/argeo-commons.git/blob - security/runtime/org.argeo.security.ria/src/argeo-ria-lib/security/class/org/argeo/security/ria/components/UserEditorPrefPane.js
395a67eed4e1a1ca7fc864c1c7c75fe5bde9ad00
1 qx
.Class
.define("org.argeo.security.ria.components.UserEditorPrefPane", {
3 extend
: org
.argeo
.security
.ria
.components
.UserEditor
,
4 implement
: [org
.argeo
.ria
.components
.IPreferencePane
],
6 construct : function(){
9 this.basicGB
.setVisibility("excluded");
10 var saveButton
= new qx
.ui
.form
.Button("Save", "org.argeo.security.ria/document-save.png");
11 saveButton
.addListener("execute", this.saveUser
, this);
12 this.buttonGB
.add(saveButton
);
13 this.loadUserData(org
.argeo
.ria
.session
.AuthService
.getInstance().getUser());
17 // IPrefPane Implementation
18 getPrefPane : function(){
19 return new qx
.ui
.container
.Scroll(this);
22 getPrefLabel : function(){
26 getPrefIcon : function(){
27 return "org.argeo.security.ria/preferences-users.png";