Index: topia/src/java/org/codelutin/topia/ui/swing/TopiaTaskPaneGroup.java diff -u /dev/null topia/src/java/org/codelutin/topia/ui/swing/TopiaTaskPaneGroup.java:1.1 --- /dev/null Fri Sep 3 15:46:27 2004 +++ topia/src/java/org/codelutin/topia/ui/swing/TopiaTaskPaneGroup.java Fri Sep 3 15:46:22 2004 @@ -0,0 +1,60 @@ +/* *##% + * Copyright (C) 2002, 2003 Code Lutin + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + *##%*/ + +/* * + * TopiaTaskPaneGroup.java + * + * Created: Sep 1, 2004 + * + * @author Benjamin Poussin + * Copyright Code Lutin + * @version $Revision: 1.1 $ + * + * Mise a jour: $Date: 2004/09/03 15:46:22 $ + * par : $Author: mazelier $ + */ + +package org.codelutin.topia.ui.swing; + +import com.l2fprod.common.swing.JTaskPaneGroup; + +import org.codelutin.topia.TopiaPersistenceService; +import org.codelutin.chorem.UIContext; + +public class TopiaTaskPaneGroup extends JTaskPaneGroup { // TopiaTaskPaneGroup + + protected TopiaPersistenceService ps = null; + protected String title = null; + + public TopiaTaskPaneGroup(TopiaPersistenceService ps, String title){ + super(); + this.ps=ps; + this.title=title; + init(); + } + + public void init() { + setOpaque(true); + setText(title); + + UIContext uicontext = new UIContext(); + ActionEntityPanel panel = new ActionEntityPanel(uicontext, ps); + add(panel); + } +} // TopiaTaskPaneGroup +