KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > emf > codegen > ecore > genmodel > GenBase


1 /**
2  * <copyright>
3  *
4  * Copyright (c) 2002-2005 IBM Corporation and others.
5  * All rights reserved. This program and the accompanying materials
6  * are made available under the terms of the Eclipse Public License v1.0
7  * which accompanies this distribution, and is available at
8  * http://www.eclipse.org/legal/epl-v10.html
9  *
10  * Contributors:
11  * IBM - Initial API and implementation
12  *
13  * </copyright>
14  *
15  * $Id: GenBase.java,v 1.5 2005/06/08 06:18:44 nickb Exp $
16  */

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 /**
26  * <!-- begin-user-doc -->
27  * A representation of the model object '<em><b>Gen Base</b></em>'.
28  * <!-- end-user-doc -->
29  *
30  *
31  * @see org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage#getGenBase()
32  * @model abstract="true"
33  * @generated
34  */

35 public interface GenBase extends EObject{
36   GenModel getGenModel();
37
38   String JavaDoc capName(String JavaDoc name);
39   String JavaDoc uncapName(String JavaDoc name);
40   String JavaDoc uncapPrefixedName(String JavaDoc in);
41   String JavaDoc safeName(String JavaDoc name);
42   String JavaDoc format(String JavaDoc name, char separator, String JavaDoc prefix, boolean includePrefix);
43
44   boolean canGenerate();
45   void generate(IProgressMonitor progressMonitor);
46
47   //
48
// EMFEdit generation
49
//
50
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 JavaDoc getDocumentation(String JavaDoc indentation);
66 }
67
Popular Tags