Repository: ant-ivyde
Updated Branches:
  refs/heads/ivyDECredentials [created] 86138a1b9
  refs/heads/ivyDECredentials-cleaned [created] f862602e6


http://git-wip-us.apache.org/repos/asf/ant-ivyde/blob/86138a1b/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/internal/eclipse/validator/reaction/GeneralValidationReaction.java
----------------------------------------------------------------------
diff --git 
a/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/internal/eclipse/validator/reaction/GeneralValidationReaction.java
 
b/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/internal/eclipse/validator/reaction/GeneralValidationReaction.java
new file mode 100644
index 0000000..3c61ef1
--- /dev/null
+++ 
b/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/internal/eclipse/validator/reaction/GeneralValidationReaction.java
@@ -0,0 +1,58 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You 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.apache.ivyde.internal.eclipse.validator.reaction;
+
+import org.apache.ivyde.internal.eclipse.validator.IValidationReaction;
+import org.eclipse.jface.dialogs.Dialog;
+import org.eclipse.jface.resource.JFaceResources;
+import org.eclipse.swt.widgets.Button;
+import org.eclipse.swt.widgets.Label;
+
+public class GeneralValidationReaction implements IValidationReaction {
+
+    private Button okButton;
+    private Label errorLabel;
+    private Label errorIcon;
+
+    @Override
+    public void ok() {
+        this.okButton.setEnabled(true);
+//        this.errorIcon.setVisible(false);
+//        this.errorLabel.setVisible(false);
+        
this.errorIcon.setImage(JFaceResources.getImage(Dialog.DLG_IMG_MESSAGE_INFO));  
      
+    }
+
+    /**
+     * @param okButton
+     * @param errorLabel
+     * @param errorIcon
+     */
+    public GeneralValidationReaction(Button okButton, Label errorLabel, Label 
errorIcon) {
+        this.okButton = okButton;
+        this.errorLabel = errorLabel;
+        this.errorIcon = errorIcon;
+    }
+
+    @Override
+    public void error() {
+        this.okButton.setEnabled(false);
+        
this.errorIcon.setImage(JFaceResources.getImage(Dialog.DLG_IMG_MESSAGE_ERROR));
+        //this.errorLabel.setText("Insert credentials");
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/ant-ivyde/blob/86138a1b/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/internal/eclipse/validator/reaction/NopValidationReaction.java
----------------------------------------------------------------------
diff --git 
a/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/internal/eclipse/validator/reaction/NopValidationReaction.java
 
b/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/internal/eclipse/validator/reaction/NopValidationReaction.java
new file mode 100644
index 0000000..9bf63af
--- /dev/null
+++ 
b/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/internal/eclipse/validator/reaction/NopValidationReaction.java
@@ -0,0 +1,34 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You 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.apache.ivyde.internal.eclipse.validator.reaction;
+
+import org.apache.ivyde.internal.eclipse.validator.IValidationReaction;
+
+public class NopValidationReaction implements IValidationReaction {
+
+    @Override
+    public void ok() {
+        // Do nothing ;-)
+    }
+
+    @Override
+    public void error() {
+        // Do nothing ;-)
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/ant-ivyde/blob/86138a1b/org.apache.ivyde.feature/feature.xml
----------------------------------------------------------------------
diff --git a/org.apache.ivyde.feature/feature.xml 
b/org.apache.ivyde.feature/feature.xml
index 6c72bb8..9eaf150 100644
--- a/org.apache.ivyde.feature/feature.xml
+++ b/org.apache.ivyde.feature/feature.xml
@@ -20,7 +20,7 @@
 <feature
       id="org.apache.ivyde.feature"
       label="%featureName"
-      version="2.3.0.qualifier"
+      version="2.3.1.qualifier"
       provider-name="%providerName"
       plugin="org.apache.ivyde.eclipse">
 

http://git-wip-us.apache.org/repos/asf/ant-ivyde/blob/86138a1b/test/retrieve-by-type/.settings/org.apache.ivyde.eclipse.prefs
----------------------------------------------------------------------
diff --git a/test/retrieve-by-type/.settings/org.apache.ivyde.eclipse.prefs 
b/test/retrieve-by-type/.settings/org.apache.ivyde.eclipse.prefs
new file mode 100644
index 0000000..231ebbc
--- /dev/null
+++ b/test/retrieve-by-type/.settings/org.apache.ivyde.eclipse.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+org.apache.ivyde.eclipse.standaloneretrieve=<?xml version\="1.0" 
encoding\="UTF-8" standalone\="no"?><setuplist><setup name\="dependencies" 
resolveInWorkspace\="false"><ivysettings ivyUserDir\="" loadondemand\="false" 
path\="${workspace_loc\:ivydetest-retrieve-by-type/ivysettings.xml}"/><ivyxml 
path\="ivy.xml"/><retrieve confs\="myconf" 
pattern\="lib/[artifact]-[revision].[ext]" sync\="true" 
types\="jar"/></setup><setup name\="dependencies" 
resolveInWorkspace\="false"><ivysettings ivyUserDir\="" loadondemand\="false" 
path\="${workspace_loc\:ivydetest-retrieve-by-type/ivysettings.xml}"/><ivyxml 
path\="ivy.xml"/><retrieve confs\="myconf" 
pattern\="lib/[artifact]-[revision].[ext]" sync\="true" 
types\="jar"/></setup><setup name\="dependencies" 
resolveInWorkspace\="false"><ivysettings ivyUserDir\="" loadondemand\="false" 
path\="${workspace_loc\:ivydetest-retrieve-by-type/ivysettings.xml}"/><ivyxml 
path\="ivy.xml"/><retrieve confs\="myconf" 
pattern\="lib/[artifact]-[revision].[ext]" sync\
 ="true" types\="jar"/></setup><setup name\="dependencies" 
resolveInWorkspace\="false"><ivysettings ivyUserDir\="" loadondemand\="false" 
path\="${workspace_loc\:ivydetest-retrieve-by-type/ivysettings.xml}"/><ivyxml 
path\="ivy.xml"/><retrieve confs\="myconf" 
pattern\="lib/[artifact]-[revision].[ext]" sync\="true" 
types\="jar"/></setup><setup name\="dependencies" 
resolveInWorkspace\="false"><ivysettings ivyUserDir\="" loadondemand\="false" 
path\="${workspace_loc\:ivydetest-retrieve-by-type/ivysettings.xml}"/><ivyxml 
path\="ivy.xml"/><retrieve confs\="myconf" 
pattern\="lib/[artifact]-[revision].[ext]" sync\="true" 
types\="jar"/></setup></setuplist>

http://git-wip-us.apache.org/repos/asf/ant-ivyde/blob/86138a1b/test/retrieve-conf/.settings/org.apache.ivyde.eclipse.prefs
----------------------------------------------------------------------
diff --git a/test/retrieve-conf/.settings/org.apache.ivyde.eclipse.prefs 
b/test/retrieve-conf/.settings/org.apache.ivyde.eclipse.prefs
new file mode 100644
index 0000000..e450b0a
--- /dev/null
+++ b/test/retrieve-conf/.settings/org.apache.ivyde.eclipse.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+org.apache.ivyde.eclipse.standaloneretrieve=<?xml version\="1.0" 
encoding\="UTF-8" standalone\="no"?><setuplist><setup name\="dependencies" 
resolveInWorkspace\="false"><ivysettings ivyUserDir\="" loadondemand\="false" 
path\="${workspace_loc\:ivydetest-retrieve-conf/ivysettings.xml}"/><ivyxml 
path\="ivy.xml"/><retrieve confs\="*" pattern\="lib/[artifact]-[type].[ext]" 
sync\="true" types\="*"/></setup><setup name\="dependencies" 
resolveInWorkspace\="false"><ivysettings ivyUserDir\="" loadondemand\="false" 
path\="${workspace_loc\:ivydetest-retrieve-conf/ivysettings.xml}"/><ivyxml 
path\="ivy.xml"/><retrieve confs\="*" pattern\="lib/[artifact]-[type].[ext]" 
sync\="true" types\="*"/></setup><setup name\="dependencies" 
resolveInWorkspace\="false"><ivysettings ivyUserDir\="" loadondemand\="false" 
path\="${workspace_loc\:ivydetest-retrieve-conf/ivysettings.xml}"/><ivyxml 
path\="ivy.xml"/><retrieve confs\="*" pattern\="lib/[artifact]-[type].[ext]" 
sync\="true" types\="*"/></setup></setuplist>

http://git-wip-us.apache.org/repos/asf/ant-ivyde/blob/86138a1b/test/retrieve/.settings/org.apache.ivyde.eclipse.prefs
----------------------------------------------------------------------
diff --git a/test/retrieve/.settings/org.apache.ivyde.eclipse.prefs 
b/test/retrieve/.settings/org.apache.ivyde.eclipse.prefs
new file mode 100644
index 0000000..62a411e
--- /dev/null
+++ b/test/retrieve/.settings/org.apache.ivyde.eclipse.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+org.apache.ivyde.eclipse.standaloneretrieve=<?xml version\="1.0" 
encoding\="UTF-8" standalone\="no"?><setuplist><setup name\="dependencies" 
resolveInWorkspace\="false"><ivysettings ivyUserDir\="" loadondemand\="false" 
path\="${workspace_loc\:ivydetest-retrieve/ivysettings.xml}"/><ivyxml 
path\="ivy.xml"/><retrieve confs\="*" pattern\="lib/[artifact]-[type].[ext]" 
sync\="true" types\="*"/></setup><setup name\="dependencies" 
resolveInWorkspace\="false"><ivysettings ivyUserDir\="" loadondemand\="false" 
path\="${workspace_loc\:ivydetest-retrieve/ivysettings.xml}"/><ivyxml 
path\="ivy.xml"/><retrieve confs\="*" pattern\="lib/[artifact]-[type].[ext]" 
sync\="true" types\="*"/></setup><setup name\="dependencies" 
resolveInWorkspace\="false"><ivysettings ivyUserDir\="" loadondemand\="false" 
path\="${workspace_loc\:ivydetest-retrieve/ivysettings.xml}"/><ivyxml 
path\="ivy.xml"/><retrieve confs\="*" pattern\="lib/[artifact]-[type].[ext]" 
sync\="true" types\="*"/></setup></setuplist>

Reply via email to