1 20 package org.objectweb.modfact.jmi.service.cmdline.xmiio; 21 22 import org.objectweb.modfact.jmi.service.cmdline.common.ModfactApplicationBase; 23 24 28 public abstract class ImportApplication 29 extends ModfactApplicationBase { 30 31 32 protected String metaModelFile = new String (); 33 34 35 40 protected ImportApplication(String package_name, String class_name) { 41 this(new org.objectweb.util.cmdline.lib.DefaultCommandLine(new String [] { class_name }, new String [0], new String [] { "Import an XMI file for the model " + package_name + "." }, true)); 42 } 43 44 48 protected ImportApplication(org.objectweb.util.cmdline.lib.DefaultCommandLine commandLine) { 49 super(commandLine); 50 commandLine.addOption(new OptionMetaModel(this)); 52 } 53 54 58 public void setMetaModelFile(String filename) { 59 metaModelFile = filename; 60 } 61 62 } 63 | Popular Tags |