svn commit: r17567 - trunk/src/argouml-core-umlpropertypanels/src/org/argouml/core/propertypanels/module/XmlPropertyPanelsModule.java
Bob Tarling <[email protected]>
| Newsgroups | gmane.comp.lang.uml.argouml.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: bobtarling
Date: 2009-11-30 13:00:34-0800
New Revision: 17567
Modified:
trunk/src/argouml-core-umlpropertypanels/src/org/argouml/core/propertypanels/module/XmlPropertyPanelsModule.java
Log:
Turn off caching of property panels if we are replacing the existing panel (this will become default behaviour in core BPF when XML panels go live)
Modified: trunk/src/argouml-core-umlpropertypanels/src/org/argouml/core/propertypanels/module/XmlPropertyPanelsModule.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-core-umlpropertypanels/src/org/argouml/core/propertypanels/module/XmlPropertyPanelsModule.java?view=diff&pathrev=17567&r1=17566&r2=17567
==============================================================================
--- trunk/src/argouml-core-umlpropertypanels/src/org/argouml/core/propertypanels/module/XmlPropertyPanelsModule.java (original)
+++ trunk/src/argouml-core-umlpropertypanels/src/org/argouml/core/propertypanels/module/XmlPropertyPanelsModule.java 2009-11-30 13:00:34-0800
@@ -34,6 +34,7 @@
import org.argouml.ui.targetmanager.TargetManager;
import org.argouml.uml.ui.PropPanelFactory;
import org.argouml.uml.ui.PropPanelFactoryManager;
+import org.argouml.uml.ui.TabProps;
/**
* Defines the XMLPropertyPanels module
@@ -68,6 +69,7 @@
if (REPLACE) {
/* Set up the property panels for UML elements: */
try {
+ TabProps.disableCache();
PropPanelFactory elementFactory = XMLPropPanelFactory.getInstance();
PropPanelFactoryManager.addPropPanelFactory(elementFactory);
return true;
------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=2425674
To unsubscribe from this discussion, e-mail: [[email protected]].