20020109_17
diff --git a/update/org.eclipse.update.ui/src/org/eclipse/update/internal/ui/manager/InfoGroup.java b/update/org.eclipse.update.ui/src/org/eclipse/update/internal/ui/manager/InfoGroup.java
index 8466614..205897d 100644
--- a/update/org.eclipse.update.ui/src/org/eclipse/update/internal/ui/manager/InfoGroup.java
+++ b/update/org.eclipse.update.ui/src/org/eclipse/update/internal/ui/manager/InfoGroup.java
@@ -15,12 +15,12 @@
public class InfoGroup extends ExpandableGroup {
private static final String KEY_TEXT = "InfoGroup.plainTextVersion";
private static final String KEY_HTML = "InfoGroup.htmlVersion";
- private IInfo info;
+ private IURLEntry info;
private SelectableFormLabel textLink;
private SelectableFormLabel urlLink;
private String textLabelText;
private String urlLabelText;
- private DetailsView view;
+ private DetailsView view;
public InfoGroup(DetailsView view) {
this.view = view;
@@ -53,7 +53,7 @@
}
protected void linkActivated() {
- boolean hasText = info.getText()!=null && info.getText().length()>0;
+ boolean hasText = info.getAnnotation()!=null && info.getAnnotation().length()>0;
boolean hasURL = info.getURL()!=null;
if (hasText && hasURL) return;
if (hasText)
@@ -62,9 +62,9 @@
showURL();
}
- public void setInfo(IInfo info) {
+ public void setInfo(IURLEntry info) {
this.info = info;
- boolean hasText = info.getText()!=null && info.getText().length()>0;
+ boolean hasText = info.getAnnotation()!=null && info.getAnnotation().length()>0;
boolean hasURL = info.getURL()!=null;
setExpandable(hasText && hasURL);
setExpanded(false);
@@ -78,7 +78,7 @@
}
private void showText() {
- String text = info.getText();
+ String text = info.getAnnotation();
view.showText(text);
}
diff --git a/update/org.eclipse.update.ui/src/org/eclipse/update/internal/ui/wizards/LicensePage.java b/update/org.eclipse.update.ui/src/org/eclipse/update/internal/ui/wizards/LicensePage.java
index 903ca89..fce56b1 100644
--- a/update/org.eclipse.update.ui/src/org/eclipse/update/internal/ui/wizards/LicensePage.java
+++ b/update/org.eclipse.update.ui/src/org/eclipse/update/internal/ui/wizards/LicensePage.java
@@ -44,8 +44,8 @@
GridData gd = new GridData(GridData.FILL_BOTH);
text.setLayoutData(gd);
- text.setText(job.getFeature().getLicense().getText());
-
+ text.setText(job.getFeature().getLicense().getAnnotation());
+
Composite buttonContainer = new Composite(client, SWT.NULL);
layout = new GridLayout();
layout.numColumns = 2;