Update of /cvsroot/tcotool/TCO-Tool/src/org/tcotool
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31796
Modified Files:
TcotoolUtility.java
Log Message:
Feature: adding org.tcotool.presentation.* registries
Index: TcotoolUtility.java
===================================================================
RCS file: /cvsroot/tcotool/TCO-Tool/src/org/tcotool/TcotoolUtility.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** TcotoolUtility.java 29 Aug 2005 09:40:24 -0000 1.1.1.1
--- TcotoolUtility.java 20 Sep 2005 19:09:04 -0000 1.2
***************
*** 1,14 ****
package org.tcotool;
!
!
! import org.tcotool.model.Branch;
import ch.softenvironment.jomm.DbObjectRegistry;
/**
! * @author generated by the umleditor
*/
public class TcotoolUtility {
private TcotoolUtility() {}
public static void registerClasses() {
DbObjectRegistry.registerClass(org.tcotool.model.TcoObject.class,"tcotool.model.TcoObject");
DbObjectRegistry.registerClass(org.tcotool.model.SystemParameter.class,"tcotool.model.SystemParameter");
--- 1,29 ----
package org.tcotool;
! /*
! * This library is free software; you can redistribute it and/or
! * modify it under the terms of the GNU Lesser General Public
! * License as published by the Free Software Foundation; either
! * version 2.1 of the License, or (at your option) any later version.
! *
! * This library 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
! * Lesser General Public License for more details.
! *
! * You should have received a copy of the GNU Lesser General Public
! * License along with this library; if not, write to the Free Software
! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
! */
import ch.softenvironment.jomm.DbObjectRegistry;
/**
! * Registry of all persistent Classes for JOMM.
! * @author Peter Hirzel <i>soft</i>Environment
! * @version $Revision$ $Date$
*/
public class TcotoolUtility {
private TcotoolUtility() {}
public static void registerClasses() {
+ // Basket MODEL
DbObjectRegistry.registerClass(org.tcotool.model.TcoObject.class,"tcotool.model.TcoObject");
DbObjectRegistry.registerClass(org.tcotool.model.SystemParameter.class,"tcotool.model.SystemParameter");
***************
*** 38,41 ****
DbObjectRegistry.registerClass(org.tcotool.model.Occurance.class,"tcotool.model.Occurance");
DbObjectRegistry.registerClass(org.tcotool.model.Branch.class,"tcotool.model.Branch");
}
! }
--- 53,64 ----
DbObjectRegistry.registerClass(org.tcotool.model.Occurance.class,"tcotool.model.Occurance");
DbObjectRegistry.registerClass(org.tcotool.model.Branch.class,"tcotool.model.Branch");
+
+ // Basket PRESENTATION
+ DbObjectRegistry.registerClass(org.tcotool.presentation.PresentationNode.class,"tcotool.presentation.PresentationNode");
+ // DbObjectRegistry.registerClass(org.tcotool.presentation.EdgeEnd.class,"tcotool.presentation.EdgeEnd");
+ // DbObjectRegistry.registerClass(org.tcotool.presentation.PresentationElement.class,"tcotool.presentation.PresentationElement");
+ DbObjectRegistry.registerClass(org.tcotool.presentation.Diagram.class,"tcotool.presentation.Diagram");
+ DbObjectRegistry.registerClass(org.tcotool.presentation.PresentationEdge.class,"tcotool.presentation.PresentationEdge");
+ DbObjectRegistry.registerClass(org.tcotool.presentation.WayPoint.class,"tcotool.presentation.WayPoint");
}
! }
\ No newline at end of file
|