Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCamille Letavernier2016-01-06 10:54:55 +0000
committerCamille Letavernier2016-01-06 10:55:04 +0000
commitfc06e2bba73aa5f351575fc33e5d1d9c30fda6ba (patch)
tree4ec6e533c11db281f81b6e47070fd571ccf68f40 /plugins/infra/services/org.eclipse.papyrus.infra.services.edit
parent8aff72194308bd9f09ffb4941014a537d7341cf7 (diff)
downloadorg.eclipse.papyrus-fc06e2bba73aa5f351575fc33e5d1d9c30fda6ba.tar.gz
org.eclipse.papyrus-fc06e2bba73aa5f351575fc33e5d1d9c30fda6ba.tar.xz
org.eclipse.papyrus-fc06e2bba73aa5f351575fc33e5d1d9c30fda6ba.zip
Bug 485259: [Performances - Properties View] Opening a Reference browser
is slow on big models https://bugs.eclipse.org/bugs/show_bug.cgi?id=485259 Change-Id: Icb6dbe05b31b342c9c6271ef4f1b4bc1a39a0c40 Signed-off-by: Camille Letavernier <camille.letavernier@cea.fr>
Diffstat (limited to 'plugins/infra/services/org.eclipse.papyrus.infra.services.edit')
-rw-r--r--plugins/infra/services/org.eclipse.papyrus.infra.services.edit/src/org/eclipse/papyrus/infra/services/edit/utils/IRequestCacheEntries.java3
-rw-r--r--plugins/infra/services/org.eclipse.papyrus.infra.services.edit/src/org/eclipse/papyrus/infra/services/edit/utils/RequestCacheEntries.java4
2 files changed, 7 insertions, 0 deletions
diff --git a/plugins/infra/services/org.eclipse.papyrus.infra.services.edit/src/org/eclipse/papyrus/infra/services/edit/utils/IRequestCacheEntries.java b/plugins/infra/services/org.eclipse.papyrus.infra.services.edit/src/org/eclipse/papyrus/infra/services/edit/utils/IRequestCacheEntries.java
index cd9e4f22df4..91ee99a9c3f 100644
--- a/plugins/infra/services/org.eclipse.papyrus.infra.services.edit/src/org/eclipse/papyrus/infra/services/edit/utils/IRequestCacheEntries.java
+++ b/plugins/infra/services/org.eclipse.papyrus.infra.services.edit/src/org/eclipse/papyrus/infra/services/edit/utils/IRequestCacheEntries.java
@@ -32,5 +32,8 @@ public interface IRequestCacheEntries {
/** Defined in org.eclipse.gmf.runtime.emf.type.core.internal.requests.RequestCacheEntries (internal) */
public static final String Client_Context = "Client_Context";//$NON-NLS-1$
+
+ /** Defined in org.eclipse.gmf.runtime.emf.type.core.internal.requests.RequestCacheEntries (internal) */
+ public static final String Dependent_Elements = "Dependent_Elements";//$NON-NLS-1$
}
diff --git a/plugins/infra/services/org.eclipse.papyrus.infra.services.edit/src/org/eclipse/papyrus/infra/services/edit/utils/RequestCacheEntries.java b/plugins/infra/services/org.eclipse.papyrus.infra.services.edit/src/org/eclipse/papyrus/infra/services/edit/utils/RequestCacheEntries.java
index 3741bc80dd0..ac17be25214 100644
--- a/plugins/infra/services/org.eclipse.papyrus.infra.services.edit/src/org/eclipse/papyrus/infra/services/edit/utils/RequestCacheEntries.java
+++ b/plugins/infra/services/org.eclipse.papyrus.infra.services.edit/src/org/eclipse/papyrus/infra/services/edit/utils/RequestCacheEntries.java
@@ -14,6 +14,7 @@
*****************************************************************************/
package org.eclipse.papyrus.infra.services.edit.utils;
+import java.util.HashSet;
import java.util.Map;
import org.eclipse.emf.ecore.EObject;
@@ -42,6 +43,9 @@ public final class RequestCacheEntries implements IRequestCacheEntries {
IEditHelperAdvice[] advices = ElementTypeRegistry.getInstance()
.getEditHelperAdvice(eObj, clientContext);
map.put(EditHelper_Advice, advices);
+
+ map.put(IRequestCacheEntries.Dependent_Elements, new HashSet<Object>()); //The set will be populated on the fly
+ map.put(IRequestCacheEntries.Checked_Elements, new HashSet<Object>()); //The set will be populated on the fly
}
} \ No newline at end of file

Back to the top