BGBM BDI Projects
/
taxeditor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c744ab5
)
Fixes #2441
author
n.hoffmann
<n.hoffmann@localhost>
Thu, 16 Jun 2011 12:13:39 +0000
(12:13 +0000)
committer
n.hoffmann
<n.hoffmann@localhost>
Thu, 16 Jun 2011 12:13:39 +0000
(12:13 +0000)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/NameRelationshipWizardPage.java
patch
|
blob
|
history
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/selection/AbstractSelectionElement.java
patch
|
blob
|
history
diff --git
a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/NameRelationshipWizardPage.java
b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/NameRelationshipWizardPage.java
index 300140442ffc73201ce981d676d60364c1e692d4..3acdf74bbffe90fc80010c1b1e7c869716d15687 100644
(file)
--- a/
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/NameRelationshipWizardPage.java
+++ b/
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/NameRelationshipWizardPage.java
@@
-132,7
+132,8
@@
public class NameRelationshipWizardPage extends WizardPage implements
toName = selection_relatedTo.getEntity();
}
- setPageComplete(type != null && toName != null);
+ boolean complete = type != null && toName != null;
+ setPageComplete(complete);
}
/** {@inheritDoc} */
diff --git
a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/selection/AbstractSelectionElement.java
b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/selection/AbstractSelectionElement.java
index 4513158e60097c785872ff365b1c4e8f7413eb03..b7d1e6443cd3d1c19fc9b3ab44a7018d86d4aa75 100644
(file)
--- a/
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/selection/AbstractSelectionElement.java
+++ b/
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/selection/AbstractSelectionElement.java
@@
-222,7
+222,7
@@
public abstract class AbstractSelectionElement<T> extends
protected void setSelectionInternal(T selection) {
if (selection != null && !selection.equals(this.entity)) {
setEntity(selection);
-
getParentElement().
firePropertyChangeEvent(new CdmPropertyChangeEvent(this, null));
+ firePropertyChangeEvent(new CdmPropertyChangeEvent(this, null));
}
}