Last change
on this file since 68 was
68,
checked in by cbipsl, 14 years ago
|
commit v1 eccad
|
-
Property svn:executable set to
*
|
File size:
727 bytes
|
Line | |
---|
1 | package org.medias.eccad.persistance.fichier; |
---|
2 | |
---|
3 | import org.medias.eccad.modele.Visualisation; |
---|
4 | import org.medias.eccad.persistance.dao.MappingDAO; |
---|
5 | |
---|
6 | public class MappingDAOfile implements MappingDAO { |
---|
7 | |
---|
8 | public Visualisation getVisualisation(String type_produit) { |
---|
9 | |
---|
10 | if (type_produit.equalsIgnoreCase("eccad-geoland")) |
---|
11 | return new Visualisation("./visualisation/temporel.jsp", "traducteur_temporel"); |
---|
12 | if (type_produit.equalsIgnoreCase("eccad-umd")) |
---|
13 | return new Visualisation("./visualisation/classe.jsp", null); |
---|
14 | if (type_produit.equalsIgnoreCase("eccad-clm3")) |
---|
15 | return new Visualisation("./visualisation/multiplan.jsp", "traducteur_multiplan"); |
---|
16 | |
---|
17 | return new Visualisation("./visualisation/erreur.jsp", null); |
---|
18 | } |
---|
19 | |
---|
20 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.