1 20 package org.objectweb.modfact.corba.service.cmdline.client; 21 22 import org.objectweb.modfact.corba.service.GenerationService; 23 import org.objectweb.util.cmdline.lib.DefaultOptionBase; 24 25 28 public class OptionXMIExport extends DefaultOptionBase { 29 30 33 protected GenerationService application_; 34 35 39 public OptionXMIExport(GenerationService application) { 40 super(); 42 setLabels(new String [] { "-xmiexport" }); 43 setDescription(new String [] { "Generation of XMI Exporter" }); 44 setMandatory(false); 45 46 application_ = application; 48 } 49 50 54 58 public void consume(org.objectweb.util.cmdline.api.Iterator iterator) { 59 application_.setXMIExport(true); 60 } 61 62 } 63 | Popular Tags |