Author: xavier
Date: Sat Oct 27 00:16:47 2007
New Revision: 589055
URL: http://svn.apache.org/viewvc?rev=589055&view=rev
Log:
add information about Ivy version
Modified:
incubator/ivy/ivyde/trunk/src/java/org/apache/ivyde/eclipse/ui/preferences/IvyPreferencePage.java
Modified:
incubator/ivy/ivyde/trunk/src/java/org/apache/ivyde/eclipse/ui/preferences/IvyPreferencePage.java
URL:
http://svn.apache.org/viewvc/incubator/ivy/ivyde/trunk/src/java/org/apache/ivyde/eclipse/ui/preferences/IvyPreferencePage.java?rev=589055&r1=589054&r2=589055&view=diff
==============================================================================
---
incubator/ivy/ivyde/trunk/src/java/org/apache/ivyde/eclipse/ui/preferences/IvyPreferencePage.java
(original)
+++
incubator/ivy/ivyde/trunk/src/java/org/apache/ivyde/eclipse/ui/preferences/IvyPreferencePage.java
Sat Oct 27 00:16:47 2007
@@ -3,6 +3,7 @@
import java.io.File;
import java.net.MalformedURLException;
+import org.apache.ivy.Ivy;
import org.apache.ivyde.eclipse.IvyPlugin;
import org.eclipse.jface.preference.BooleanFieldEditor;
import org.eclipse.jface.preference.FieldEditorPreferencePage;
@@ -53,6 +54,12 @@
*/
public void createFieldEditors() {
final Composite fieldParent = getFieldEditorParent();
+
+ Label info = new Label(fieldParent, SWT.NONE);
+ info.setLayoutData(new GridData(GridData.FILL, GridData.BEGINNING,
false, false, 3, 1));
+ info.setText("Apache Ivy version " + Ivy.getIvyVersion() + " - "
+ + Ivy.getIvyDate());
+ new Label(fieldParent, SWT.NONE).setLayoutData(new
GridData(GridData.FILL, GridData.BEGINNING, false, false, 3, 1)); // space
Label spacer = new Label(fieldParent, SWT.NONE);
GridData spacerData = new GridData();