1 17 package org.eclipse.emf.codegen.ecore.genmodel; 18 19 20 import org.eclipse.core.runtime.IProgressMonitor; 21 22 import org.eclipse.emf.ecore.EObject; 23 24 25 35 public interface GenBase extends EObject{ 36 GenModel getGenModel(); 37 38 String capName(String name); 39 String uncapName(String name); 40 String uncapPrefixedName(String in); 41 String safeName(String name); 42 String format(String name, char separator, String prefix, boolean includePrefix); 43 44 boolean canGenerate(); 45 void generate(IProgressMonitor progressMonitor); 46 47 boolean canGenerateEdit(); 51 void generateEdit(IProgressMonitor progressMonitor); 52 53 boolean canGenerateEditor(); 54 void generateEditor(IProgressMonitor progressMonitor); 55 56 boolean canGenerateSchema(); 57 void generateSchema(IProgressMonitor progressMonitor); 58 59 boolean canGenerateTests(); 60 void generateTests(IProgressMonitor progressMonitor); 61 62 boolean reconcile(); 63 64 boolean hasDocumentation(); 65 String getDocumentation(String indentation); 66 } 67 | Popular Tags |