]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - security/plugins/org.argeo.security.ui/src/main/java/org/argeo/security/ui/dialogs/AbstractLoginDialog.java
Add dep folder
[lgpl/argeo-commons.git] / security / plugins / org.argeo.security.ui / src / main / java / org / argeo / security / ui / dialogs / AbstractLoginDialog.java
index fecb80afc9107ecc46c2c440b61f4ee5669d112a..7c7e0c6b6cb4a0547ef37ed84ea2471ea1e61bb0 100644 (file)
@@ -1,3 +1,18 @@
+/*
+ * Copyright (C) 2007-2012 Argeo GmbH
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *         http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.argeo.security.ui.dialogs;
 
 import java.io.IOException;
@@ -79,6 +94,7 @@ public abstract class AbstractLoginDialog extends TrayDialog implements
                                isCancelled = false;
                                setBlockOnOpen(false);
                                open();
+
                                final Button okButton = getButton(IDialogConstants.OK_ID);
                                okButton.setText("Login");
                                okButton.addSelectionListener(new SelectionListener() {
@@ -170,6 +186,6 @@ public abstract class AbstractLoginDialog extends TrayDialog implements
 
        protected void configureShell(Shell shell) {
                super.configureShell(shell);
-               shell.setText("Login");
+               shell.setText("Authentication");
        }
 }