refactory: added UI removed from core plugin.
[phpeclipse.git] / net.sourceforge.phpeclipse.ui / src / net / sourceforge / phpdt / internal / corext / codemanipulation / CodeGenerationSettings.java
diff --git a/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpdt/internal/corext/codemanipulation/CodeGenerationSettings.java b/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpdt/internal/corext/codemanipulation/CodeGenerationSettings.java
new file mode 100644 (file)
index 0000000..8206056
--- /dev/null
@@ -0,0 +1,42 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2004 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials 
+ * are made available under the terms of the Common Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/cpl-v10.html
+ * 
+ * Contributors:
+ *     IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package net.sourceforge.phpdt.internal.corext.codemanipulation;
+
+public class CodeGenerationSettings {
+
+       /**
+        * @deprecated
+        */
+       public boolean createFileComments = true;
+
+       public boolean createComments = true;
+
+       public boolean useKeywordThis = false;
+
+       /**
+        * @deprecated
+        */
+       public boolean createNonJavadocComments = true;
+
+       // public String[] importOrder= new String[0];
+       public int importThreshold = 99;
+
+       public int tabWidth;
+
+       public void setSettings(CodeGenerationSettings settings) {
+               settings.createComments = createComments;
+               settings.useKeywordThis = useKeywordThis;
+               // settings.importOrder= importOrder;
+               settings.importThreshold = importThreshold;
+               settings.tabWidth = tabWidth;
+       }
+
+}