KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > emf > codegen > jet > IJETNature


1 /**
2  * <copyright>
3  *
4  * Copyright (c) 2002-2004 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: IJETNature.java,v 1.4 2005/06/08 06:15:56 nickb Exp $
16  */

17 package org.eclipse.emf.codegen.jet;
18
19
20 import java.util.List JavaDoc;
21
22 import org.eclipse.core.resources.IContainer;
23 import org.eclipse.core.resources.IProjectNature;
24
25
26 public interface IJETNature extends IProjectNature
27 {
28   /**
29    * The unique identifier for the JET Nature.
30    */

31   public static final String JavaDoc NATURE_ID = "org.eclipse.emf.codegen.jet.IJETNature";
32
33   /**
34    * Returns the containers where the templates are located.
35    * @return the containers where the templates are located.
36    */

37   public List JavaDoc getTemplateContainers();
38
39   /**
40    * Sets the containers where the templates are located.
41    * @param templateContainers the new locations.
42    */

43   public void setTemplateContainers(List JavaDoc templateContainers);
44   
45   /**
46    * Returns the containers where the template sources are located.
47    * @return the containers where the template sources are located.
48    * @since 2.1.0
49    */

50   public List JavaDoc getTemplateSourceContainers();
51   
52   /**
53    * Sets the containers where the template sources are located.
54    * @param templateContainers the new locations.
55    * @param templateSourceContainers the new sourcelocations.
56    * @since 2.1.0
57    */

58   public void setTemplateContainers(List JavaDoc templateContainers, List JavaDoc templateSourceContainers);
59   
60   /**
61    * Returns the container where the generated Java sources go.
62    * @return the container where the generated Java sources go.
63    */

64   public IContainer getJavaSourceContainer();
65   
66   /**
67    * Sets the container where the generated Java sources go.
68    * @param javaSourceContainer the new location.
69    */

70   public void setJavaSourceContainer(IContainer javaSourceContainer);
71 }
72
Popular Tags