Author: julien_viet
Date: 2010-07-22 04:00:54 -0400 (Thu, 22 Jul 2010)
New Revision: 3675
Removed:
portal/trunk/webui/core/src/main/java/org/exoplatform/webui/core/renderers/
portal/trunk/webui/core/src/test/java/org/exoplatform/webui/core/renderers/
Modified:
portal/trunk/webui/core/src/main/java/org/exoplatform/webui/core/UIComponent.java
Log:
remove useless value renderer system that was just used for wsrp app at some point
Modified:
portal/trunk/webui/core/src/main/java/org/exoplatform/webui/core/UIComponent.java
===================================================================
---
portal/trunk/webui/core/src/main/java/org/exoplatform/webui/core/UIComponent.java 2010-07-22
07:30:12 UTC (rev 3674)
+++
portal/trunk/webui/core/src/main/java/org/exoplatform/webui/core/UIComponent.java 2010-07-22
08:00:54 UTC (rev 3675)
@@ -30,8 +30,6 @@
import org.exoplatform.commons.serialization.api.annotations.Serialized;
import org.exoplatform.webui.config.Component;
import org.exoplatform.webui.core.lifecycle.Lifecycle;
-import org.exoplatform.webui.core.renderers.ValueRenderer;
-import org.exoplatform.webui.core.renderers.ValueRendererRegistry;
import org.exoplatform.webui.event.Event;
import org.exoplatform.webui.event.Event.Phase;
import org.exoplatform.webui.event.EventListener;
@@ -60,8 +58,6 @@
protected Component config;
- private transient ValueRendererRegistry rendererRegistry = new
ValueRendererRegistry();
-
private static final Lifecycle<UIComponent> DEFAULT_LIFECYCLE = new
Lifecycle<UIComponent>();
public String getId()
@@ -495,14 +491,4 @@
}
return null;
}
-
- public ValueRenderer<?> getRendererFor(Object value)
- {
- return rendererRegistry.getRendererFor(value);
- }
-
- public <V> void registerRendererFor(ValueRenderer<V> renderer, Class<?
extends V> valueType)
- {
- rendererRegistry.registerRendererFor(renderer, valueType);
- }
}
\ No newline at end of file
Show replies by date