svn commit: r18358 - trunk/src/argouml-core-umlpropertypanels/src/org/argouml/core/propertypanels/module/XmlPropertyPanelsModule.java
| Newsgroups | gmane.comp.lang.uml.argouml.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: bobtarling
Date: 2010-05-03 14:07:18-0700
New Revision: 18358
Modified:
trunk/src/argouml-core-umlpropertypanels/src/org/argouml/core/propertypanels/module/XmlPropertyPanelsModule.java
Log:
Strip out commented code
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=18358&r1=18357&r2=18358
==============================================================================
--- 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 2010-05-03 14:07:18-0700
@@ -53,11 +53,7 @@
*
* @author penyaskito
*/
-public class XmlPropertyPanelsModule
- implements ModuleInterface {
- // TODO: Uncomment this and replace above line to see old and new panel
- // together
-// implements ModuleInterface, DetailsTabProvider {
+public class XmlPropertyPanelsModule implements ModuleInterface {
/**
* The logger
@@ -68,27 +64,15 @@
private TempTabPage tempPanel;
public boolean enable() {
-
-// if (TabProps.replace) {
- /* Set up the property panels for UML elements: */
- try {
- TabProps.disableCache();
- PropPanelFactory elementFactory = XMLPropPanelFactory.getInstance();
- PropPanelFactoryManager.addPropPanelFactory(elementFactory);
- return true;
- } catch (Exception e) {
- LOG.error("Exception caught", e);
- return false;
- }
-// } else {
-// DetailsPane detailsPane = (DetailsPane) ProjectBrowser.getInstance().getDetailsPane();
-// tempPanel = new TempTabPage();
-// detailsPane.addTab(tempPanel, true);
-//
-// TempListener listener = new TempListener(tempPanel);
-// TargetManager.getInstance().addTargetListener(listener);
-// return true;
-// }
+ try {
+ TabProps.disableCache();
+ PropPanelFactory elementFactory = XMLPropPanelFactory.getInstance();
+ PropPanelFactoryManager.addPropPanelFactory(elementFactory);
+ return true;
+ } catch (Exception e) {
+ LOG.error("Exception caught", e);
+ return false;
+ }
}
public boolean disable() {
------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=2602103
To unsubscribe from this discussion, e-mail: [[email protected]].