Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/qompass/codegen/cpp/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/preferences/CppCodeGenUtils.java')
-rw-r--r--extraplugins/qompass/codegen/cpp/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/preferences/CppCodeGenUtils.java53
1 files changed, 0 insertions, 53 deletions
diff --git a/extraplugins/qompass/codegen/cpp/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/preferences/CppCodeGenUtils.java b/extraplugins/qompass/codegen/cpp/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/preferences/CppCodeGenUtils.java
deleted file mode 100644
index 69a18f191c0..00000000000
--- a/extraplugins/qompass/codegen/cpp/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/preferences/CppCodeGenUtils.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2006 - 2012 CEA LIST.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - initial API and implementation
- *******************************************************************************/
-
-package org.eclipse.papyrus.cpp.codegen.preferences;
-
-import org.eclipse.jface.preference.IPreferenceStore;
-import org.eclipse.papyrus.cpp.codegen.Activator;
-
-/**
- * Utility class that returns the preference values
- *
- * @author ansgar
- *
- */
-public class CppCodeGenUtils {
-
- protected static IPreferenceStore preferenceStore = null;
-
- public static String getHeaderSuffix() {
- initPreferenceStore();
- return preferenceStore.getString(CppCodeGenConstants.P_HEADER_SUFFIX);
- }
-
- public static String getBodySuffix() {
- initPreferenceStore();
- return preferenceStore.getString(CppCodeGenConstants.P_IMPLEM_SUFFIX);
- }
-
- public static String getOutInoutOp() {
- initPreferenceStore();
- return preferenceStore.getString(CppCodeGenConstants.P_OUT_INOUT_OP);
- }
-
- public static String getCommentHeader() {
- initPreferenceStore();
- return preferenceStore.getString(CppCodeGenConstants.P_COMMENT_HEADER);
- }
-
- public static void initPreferenceStore() {
- if (preferenceStore == null) {
- preferenceStore = Activator.getDefault().getPreferenceStore();
- }
- }
-
-}

Back to the top