Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/developer/org.eclipse.papyrus.def/dynamic-templates3.5/codegen/xpt/preferences/PrefsConstant.qvto')
-rw-r--r--plugins/developer/org.eclipse.papyrus.def/dynamic-templates3.5/codegen/xpt/preferences/PrefsConstant.qvto99
1 files changed, 0 insertions, 99 deletions
diff --git a/plugins/developer/org.eclipse.papyrus.def/dynamic-templates3.5/codegen/xpt/preferences/PrefsConstant.qvto b/plugins/developer/org.eclipse.papyrus.def/dynamic-templates3.5/codegen/xpt/preferences/PrefsConstant.qvto
deleted file mode 100644
index 65c575be58e..00000000000
--- a/plugins/developer/org.eclipse.papyrus.def/dynamic-templates3.5/codegen/xpt/preferences/PrefsConstant.qvto
+++ /dev/null
@@ -1,99 +0,0 @@
-/*
- * Copyright (c) 2008 Atos Origin
- *
- * 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:
- * Thibault Landre (Atos Origin) - initial API and implementation
- * modified by Patrick Tessier(CEA LIST)
- */
-
-import org.eclipse.papyrus.codegen.utils.PapyrusGenConstants;
-
-modeltype genModel uses "http://www.eclipse.org/gmf/2009/GenModel";
-modeltype ecore uses "http://www.eclipse.org/emf/2002/Ecore";
-
-library PrefsConstant;
-
-helper getPreferenceConstantFileName() : String {
-return getIDiagramPreferenceConstantJavaClassName()
-}
-
-helper getDiagramPreferencePageFileName( diagramName: String) : String{
- return getDiagramPreferencePageJavaClassName(diagramName)
-}
-
-helper getDiagramPreferencePageCategory() : String{
- return "org.eclipse.papyrus.infra.gmfdiag.preferences.diagrams"
-}
-
-helper getPreferenceConstant() : String{
-return "_PREF_"
-}
-
-helper getPreferenceGradientPolicyConstant(_element: String) : String{
-return _element + getPreferenceConstant() + "GRADIENT_POLICY"
-}
-
-helper getPreferenceGradientColorConstant(_element: String) : String{
-return _element + getPreferenceConstant() + "GRADIENT_COLOR"
-}
-
-helper getPreferenceFillColorConstant(_element: String ) : String{
-return _element + getPreferenceConstant() + "FILL_COLOR"
-}
-
-helper getPreferenceFontColorConstant(_element: String ) : String{
-return _element + getPreferenceConstant() + "FONT_COLOR"
-}
-
-helper getPreferenceFontConstant(_element: String ) : String{
-return _element + getPreferenceConstant() + "FONT"
-}
-
-helper getPreferenceLineColorConstant(_element: String ): String{
-return _element + getPreferenceConstant() + "LINE_COLOR"
-}
-
-helper getPreferenceJumpLinkConstant(): String{
-return getPreferenceConstant() + "JUMPLINK_"
-}
-
-helper getPreferenceJumpLinkReverseConstant(_element: String ): String{
-return _element + getPreferenceJumpLinkConstant() + "REVERSE"
-}
-
-helper getPreferenceJumpLinkStatusConstant(_element: String ): String{
-return _element + getPreferenceJumpLinkConstant() + "STATUS"
-}
-
-helper getPreferenceJumpLinkTypeConstant(_element: String ): String{
-return _element + getPreferenceJumpLinkConstant() + "TYPE"
-}
-
-helper getPreferenceRoutingConstant(): String{
-return getPreferenceConstant() + "ROUTING_"
-}
-
-helper getPreferenceRoutingDistancePolicyConstant(_element: String ): String{
-return _element + getPreferenceRoutingConstant() + "DISTANCE_POLICY"
-}
-
-helper getPreferenceRoutingObstructionPolicyConstant(_element: String ): String{
-return _element + getPreferenceRoutingConstant() + "OBSTRUCTION_POLICY"
-}
-
-helper getPreferenceRoutingStyleConstant(_element: String ): String{
-return _element + getPreferenceRoutingConstant() + "STYLE"
-}
-
-helper getPreferenceSmoothnessConstant(_element: String ): String{
-return _element + getPreferenceConstant() + "SMOOTHNESS"
-}
-
-helper getPreferencePageSuffix(): String{
-return "PreferencePage"
-} \ No newline at end of file

Back to the top