Skip to main content
summaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorChristoph Keimel2015-05-07 04:52:44 -0400
committerChristoph Keimel2015-05-07 05:49:02 -0400
commit947a9e5cad98ba6c7aa6f2aaa6954532268ba697 (patch)
tree0ef6b523fa94b119c6c145353cdd752201effd2c /demos
parenta3032e51be29944cad52d0254701befa81fac93c (diff)
downloadorg.eclipse.efxclipse-947a9e5cad98ba6c7aa6f2aaa6954532268ba697.tar.gz
org.eclipse.efxclipse-947a9e5cad98ba6c7aa6f2aaa6954532268ba697.tar.xz
org.eclipse.efxclipse-947a9e5cad98ba6c7aa6f2aaa6954532268ba697.zip
Bug 466689 - [emf.edit] AdapterFactoryTreeItem runs out of memory when
model is loaded in the background Signed-off-by: Christoph Keimel <c.keimel@emsw.de> Change-Id: If5880a06524661fc852a8adcff170b5077015ed2
Diffstat (limited to 'demos')
-rw-r--r--demos/org.eclipse.fx.demo.contacts.app/src/org/eclipse/fx/demo/contacts/views/ContactsTreeTableView.java2
-rwxr-xr-xdemos/org.eclipse.fx.demo.contacts.app/src/org/eclipse/fx/demo/contacts/views/ContactsTreeView.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/demos/org.eclipse.fx.demo.contacts.app/src/org/eclipse/fx/demo/contacts/views/ContactsTreeTableView.java b/demos/org.eclipse.fx.demo.contacts.app/src/org/eclipse/fx/demo/contacts/views/ContactsTreeTableView.java
index aa638c295..d282aec32 100644
--- a/demos/org.eclipse.fx.demo.contacts.app/src/org/eclipse/fx/demo/contacts/views/ContactsTreeTableView.java
+++ b/demos/org.eclipse.fx.demo.contacts.app/src/org/eclipse/fx/demo/contacts/views/ContactsTreeTableView.java
@@ -73,7 +73,7 @@ public class ContactsTreeTableView {
emailColumn.setCellValueFactory(new TreeTableProxyCellValueFactory());
treeTableView.getSelectionModel().setSelectionMode(SelectionMode.MULTIPLE);
- treeTableView.setRoot(new AdapterFactoryTreeItem(contactsManager.getRootGroup(), treeTableView, adapterFactory));
+ treeTableView.setRoot(new AdapterFactoryTreeItem(contactsManager.getRootGroup(), adapterFactory));
treeTableView.setShowRoot(false);
diff --git a/demos/org.eclipse.fx.demo.contacts.app/src/org/eclipse/fx/demo/contacts/views/ContactsTreeView.java b/demos/org.eclipse.fx.demo.contacts.app/src/org/eclipse/fx/demo/contacts/views/ContactsTreeView.java
index 6f7db4699..5b0be0866 100755
--- a/demos/org.eclipse.fx.demo.contacts.app/src/org/eclipse/fx/demo/contacts/views/ContactsTreeView.java
+++ b/demos/org.eclipse.fx.demo.contacts.app/src/org/eclipse/fx/demo/contacts/views/ContactsTreeView.java
@@ -43,7 +43,7 @@ public class ContactsTreeView {
// TreeView
TreeView<Object> treeView = new TreeView<>();
- treeView.setRoot(new AdapterFactoryTreeItem(contactsManager.getRootGroup(), treeView, contactsManager.getAdapterFactory()));
+ treeView.setRoot(new AdapterFactoryTreeItem(contactsManager.getRootGroup(), contactsManager.getAdapterFactory()));
AdapterFactoryTreeCellFactory treeCellFactory = new AdapterFactoryTreeCellFactory(contactsManager.getAdapterFactory());
// add edit support

Back to the top