2e8bf9854ad27a39d5c0cf252befb41ece5e2669
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / corext / codemanipulation / CodeGenerationSettings.java
1 /*******************************************************************************
2  * Copyright (c) 2000, 2004 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials 
4  * are made available under the terms of the Common Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/cpl-v10.html
7  * 
8  * Contributors:
9  *     IBM Corporation - initial API and implementation
10  *******************************************************************************/
11 package net.sourceforge.phpdt.internal.corext.codemanipulation;
12
13 public class CodeGenerationSettings {
14         
15         /**
16          * @deprecated
17          */
18         public boolean createFileComments= true;
19
20         public boolean createComments= true;
21         
22         public boolean useKeywordThis= false;
23         
24         /**
25          * @deprecated
26          */
27         public boolean createNonJavadocComments= true;
28         
29         public String[] importOrder= new String[0];
30         public int importThreshold= 99;
31                 
32         public int tabWidth;
33         
34         public void setSettings(CodeGenerationSettings settings) {
35                 settings.createComments= createComments;
36                 settings.useKeywordThis= useKeywordThis;
37                 settings.importOrder= importOrder;
38                 settings.importThreshold= importThreshold;
39                 settings.tabWidth= tabWidth;
40         }
41         
42
43 }
44