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:
80de230
)
added session manager calls to the polytomous key views
author
Cherian Mathew
<c.mathew@bgbm.org>
Wed, 10 Dec 2014 17:01:45 +0000
(17:01 +0000)
committer
Cherian Mathew
<c.mathew@bgbm.org>
Wed, 10 Dec 2014 17:01:45 +0000
(17:01 +0000)
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/key/KeyEditor.java
patch
|
blob
|
history
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/key/polytomous/PolytomousKeyEditorInput.java
patch
|
blob
|
history
diff --git
a/eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/key/KeyEditor.java
b/eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/key/KeyEditor.java
index 839e5e9e3029b157180292132fe1e216b1a955fd..4eff25498ac629ef7b47a4b3fb3851f0c533b5e5 100644
(file)
--- a/
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/key/KeyEditor.java
+++ b/
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/key/KeyEditor.java
@@
-184,6
+184,7
@@
public class KeyEditor extends FormEditor implements IConversationEnabled,
public void dispose() {
conversation.unregisterForDataStoreChanges(this);
conversation.close();
+ ((PolytomousKeyEditorInput)getEditorInput()).dispose();
super.dispose();
}
@@
-221,4
+222,7
@@
public class KeyEditor extends FormEditor implements IConversationEnabled,
PolytomousKey key = (PolytomousKey) input.getKey();
setPartName(key.getTitleCache());
}
+
+
+
}
diff --git
a/eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/key/polytomous/PolytomousKeyEditorInput.java
b/eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/key/polytomous/PolytomousKeyEditorInput.java
index 7debadbe5f651385094cb514c28934cf3ef1bb08..9ab9fbf80c46753f893e46c4217c39b9478fd2bf 100644
(file)
--- a/
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/key/polytomous/PolytomousKeyEditorInput.java
+++ b/
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/key/polytomous/PolytomousKeyEditorInput.java
@@
-72,4
+72,8
@@
public class PolytomousKeyEditorInput extends AbstractIdentificationEditorInput<
}
return super.equals(object);
}
+
+ public void dispose() {
+ CdmStore.getCurrentSessionManager().dispose(this);
+ }
}