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 OptionIDL extends DefaultOptionBase { 29 30 31 protected GenerationService application_; 32 33 37 public OptionIDL(GenerationService application) { 38 super(); 40 setLabels(new String [] { "-idl" }); 41 setDescription(new String [] { "Generation of IDL file" }); 42 setMandatory(false); 43 44 application_ = application; 46 } 47 48 52 56 public void consume(org.objectweb.util.cmdline.api.Iterator iterator) { 57 application_.setIDL(true); 58 } 59 60 } 61 | Popular Tags |