1 23 24 package com.sun.enterprise.tools.admingui; 25 26 import java.util.*; 27 import com.iplanet.jato.*; 28 import com.iplanet.jato.model.DatasetModel; 29 import com.iplanet.jato.model.DefaultModel; 30 31 import com.sun.enterprise.tools.admingui.models.EditPropsModel; 32 import com.sun.enterprise.tools.admingui.models.EditPropsModelImpl; 33 import com.sun.enterprise.tools.admingui.tree.IndexTreeModel; 34 import com.sun.enterprise.tools.admingui.tree.IndexTreeModelImpl; 35 36 import com.sun.web.ui.model.CCActionTableModel; 37 import com.sun.web.ui.model.CCActionTableModelInterface; 38 import com.sun.web.ui.model.CCBreadCrumbsModel; 39 import com.sun.web.ui.model.CCBreadCrumbsModelInterface; 40 import com.sun.web.ui.model.CCDateTimeModel; 41 import com.sun.web.ui.model.CCDateTimeModelInterface; 42 import com.sun.web.ui.model.CCPropertySheetModel; 43 import com.sun.web.ui.model.CCPropertySheetModelInterface; 44 import com.sun.web.ui.model.CCTabsModel; 45 import com.sun.web.ui.model.CCTabsModelInterface; 46 import com.sun.web.ui.model.CCTreeModel; 47 import com.sun.web.ui.model.CCTreeModelInterface; 48 import com.sun.enterprise.tools.admingui.taglib.DataSheetModel; 49 import com.sun.enterprise.tools.admingui.taglib.DataSheetModelInterface; 50 51 52 57 public class ModelTypeMapImpl extends ModelTypeMapBase implements ModelTypeMap { 58 62 public ModelTypeMapImpl() { 63 super(); 64 } 65 66 67 68 72 static { 73 addModelInterfaceMapping( 76 IndexTreeModel.class, IndexTreeModelImpl.class); 77 addModelInterfaceMapping( 78 EditPropsModel.class, EditPropsModelImpl.class); 79 addModelInterfaceMapping( 80 DatasetModel.class, DefaultModel.class); 81 addModelInterfaceMapping( 82 CCBreadCrumbsModelInterface.class, CCBreadCrumbsModel.class); 83 addModelInterfaceMapping( 84 CCTabsModelInterface.class, CCTabsModel.class); 85 addModelInterfaceMapping( 86 CCPropertySheetModelInterface.class, CCPropertySheetModel.class); 87 addModelInterfaceMapping( 88 DataSheetModelInterface.class, DataSheetModel.class); 89 addModelInterfaceMapping( 90 CCActionTableModelInterface.class, CCActionTableModel.class); 91 addModelInterfaceMapping( 92 CCDateTimeModelInterface.class, CCDateTimeModel.class); 93 addModelInterfaceMapping( 94 CCTreeModelInterface.class, CCTreeModel.class); 95 } 96 } 97 | Popular Tags |