KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > portlets > content > display > component > UIAdminContentPortlet


1 /***************************************************************************
2  * Copyright 2001-2003 The eXo Platform SARL All rights reserved. *
3  * Please look at license.txt in info directory for more license detail. *
4  **************************************************************************/

5 package org.exoplatform.portlets.content.display.component;
6
7 import java.util.List JavaDoc;
8
9 /**
10  * Wed, Dec 22, 2003 @ 23:14
11  * @author: Tuan Nguyen
12  * @email: tuan08@users.sourceforge.net
13  * @version: $Id: UIAdminContentPortlet.java,v 1.3 2004/08/24 18:44:35 tuan08 Exp $
14  */

15 public class UIAdminContentPortlet extends UIAdminStaticContentPortlet {
16   
17   public UIAdminContentPortlet(UIContentEditor uiEditor, UIContentConfig uiConfig,
18       UIContentConfigForm uiConfigForm) {
19     super(uiConfig, uiConfigForm);
20     uiConfig.setModificationAllowed(true);
21     List JavaDoc children = getChildren();
22         uiEditor.setRendered(false);
23         children.add(uiEditor);
24     }
25 }
Popular Tags