Differences between revisions 1 and 2
Revision 1 as of 2005-04-08 12:16:12
Size: 1953
Editor: dyn-176115
Comment:
Revision 2 as of 2008-10-03 20:19:34
Size: 1953
Editor: localhost
Comment: converted to 1.6 markup
No differences found!
   1 package nl.tue.id.dps.swing;
   2 
   3 import nl.tue.id.dps.*;
   4 
   5 /**
   6  * <p>Title: </p>
   7  * <p>Description: </p>
   8  * <p>Copyright: Copyright (c) 2003</p>
   9  * <p>Company: </p>
  10  *
  11  * @author     not attributable
  12  * @created    March 14, 2003
  13  * @version    1.0
  14  */
  15 public class TPFactoryImpl
  16     extends TPFactoryBasicImpl {
  17 
  18   protected void setTPManifest() {
  19     addPresentation(new String[] {"temperature"},
  20                     TemperatureTimedPresentation.class,
  21                     new String[] {
  22       "tmp"
  23     });
  24     addPresentation(new String[] {"image", "img"},
  25                     ImageTimedPresentation.class,
  26                     new String[] {
  27       "jpg","gif","png"
  28     });
  29     addPresentation(new String[]{"jmfvideo", "video"},
  30                     VideoTimedPresentation.class,
  31                     new String[] {
  32       "avi", "mvr","mpg","mov","swf", "spl"
  33     });
  34     addPresentation(new String[]{"jmpaudio", "audio"},
  35                     AudioTimedPresentation.class,
  36                     new String[] {
  37       "aif", "aiff","avi","gsm","mid","mp2","mp3","mov","au","wav"
  38     });
  39     addPresentation(new String[]{"smil", "itml"},
  40                     ITMLTimedPresentation.class,
  41                     new String[] {
  42       "smi","smil","itm","itml"
  43     });
  44     addPresentation(new String[] {"html", "htm"},
  45                     HTMLTimedPresentation.class,
  46                     new String[] {
  47       "htm","html"
  48     });
  49     addPresentation(new String[] {"xul"},
  50                     ThinletTimedPresentation.class,
  51                     new String[] {
  52       "xul"
  53     });
  54     addPresentation(new String[] {"lirc"},
  55                     LIRCTimedPresentation.class,
  56                     new String[] {
  57       "lirc"
  58     });
  59     addPresentation(new String[] {"behavior"},
  60                     TonyTimedPresentation.class,
  61                     new String[] {
  62       "bhv"
  63     });
  64 
  65   }
  66 
  67 }

JunHu: Dc222Home/WorkShops/TpFactoryImpl (last edited 2008-10-03 20:19:34 by localhost)