summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVenkateswara Sanaboi2012-11-08 21:58:37 (EST)
committer Sven Rottstock2012-11-14 09:21:13 (EST)
commitbfe460bcafc6a0d8c31d6e6188866bcfc251e9cc (patch)
tree24dabc87ce0ba3b223278108da3eb2d876519417
parent9c0267f0e5857c295533aac6e2918006cbe84277 (diff)
downloadorg.eclipse.stardust.ui.web-bfe460bcafc6a0d8c31d6e6188866bcfc251e9cc.zip
org.eclipse.stardust.ui.web-bfe460bcafc6a0d8c31d6e6188866bcfc251e9cc.tar.gz
org.eclipse.stardust.ui.web-bfe460bcafc6a0d8c31d6e6188866bcfc251e9cc.tar.bz2
Jira-ID: CRNT-26444
Commit for Browser Modeler i18n git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ui.web@60680 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/camelApplicationViewMain.js8
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/conditionalPerformerViewMain.js8
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/dataViewMain.js5
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/importTypeDeclarationsWizardMain.js5
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_activityBasicPropertiesPage.js68
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_activityControllingPropertiesPage.js99
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_activityDisplayPropertiesPage.js6
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_annotationBasicPropertiesPage.js17
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_basicPropertiesPage.js7
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_camelApplicationView.js69
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_commentsPanel.js2
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_conditionalPerformerView.js84
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_dataTypeSelector.js92
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_dataView.js105
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_defaultPaletteHandler.js9
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_eventBasicPropertiesPage.js24
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_importTypeDeclarationsWizard.js63
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_messageDisplay.js13
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_messageTransformationApplicationView.js189
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_modelElementCommentsPropertiesPage.js36
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_modelElementView.js35
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_modelView.js66
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_modelerViewLayoutManager.js351
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_organizationView.js94
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_outline.js232
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_parameterDefinitionsPanel.js21
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_poolSymbol.js4
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_processDataPathPropertiesPage.js10
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_processDisplayPropertiesPage.js10
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_processProcessAttachmentsPropertiesPage.js28
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_processProcessInterfacePropertiesPage.js40
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_propertiesTree.js47
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_roleView.js94
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_sessionLogPanel.js32
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_swimlaneBasicPropertiesPage.js12
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_swimlaneSymbol.js10
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_testBasicPropertiesPage.js14
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_uiMashupApplicationView.js128
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_webServiceApplicationView.js179
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/messageTransformationApplicationViewMain.js9
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/modelViewMain.js8
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/modeler-main.js10
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/diagramToolbar/xpdlDiagramToolbar.js48
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/propertiesPage/camelApplicationProperties.js6
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/propertiesPage/dataProperties.js6
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/propertiesPage/messageTransformationApplicationProperties.js7
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/propertiesPage/modelProperties.js6
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/propertiesPage/organizationProperties.js6
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/propertiesPage/roleProperties.js6
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/propertiesPage/uiMashupApplicationProperties.js6
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/propertiesPage/webServiceApplicationProperties.js8
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/propertiesPage/xsdStructuredDataTypeProperties.js6
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/organizationViewMain.js5
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/roleViewMain.js7
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/sessionLogPanelMain.js5
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/uiMashupApplicationViewMain.js5
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/webServiceApplicationViewMain.js6
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/launchpad/modelerLauncher.xhtml27
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/launchpad/outline.html4
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/launchpad/sessionLogPanel.html4
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/popups/modelFileUploadDialog.xhtml14
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/preferences/modelingConfigurationPanel.xhtml12
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/views/modeler/activityControllingPropertiesPage.html19
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/views/modeler/annotationBasicPropertiesPage.html2
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/views/modeler/camelApplicationView.html20
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/views/modeler/conditionalPerformerView.html4
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/views/modeler/dataView.html27
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/views/modeler/importTypeDeclarationsWizard.html9
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/views/modeler/messageTransformationApplicationView.html42
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/views/modeler/modelElementCommentsPropertiesPage.html5
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/views/modeler/modelView.html28
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/views/modeler/modelingWorkAssignmentView.xhtml12
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/views/modeler/modelingWorklistView.xhtml10
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/views/modeler/organizationView.html13
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/views/modeler/processDefinitionProcessAttachmentsPropertiesPage.html2
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/views/modeler/processDefinitionView.html93
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/views/modeler/roleView.html16
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/views/modeler/uiMashupApplicationView.html29
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/views/modeler/webServiceApplicationView.html54
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/views/modeler/xsdStructuredDataTypeView.html18
-rw-r--r--web-modeler/src/main/resources/bpm-modeler-client-messages.properties675
-rw-r--r--web-modeler/src/main/resources/bpm-modeler-messages.properties75
82 files changed, 2698 insertions, 992 deletions
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/camelApplicationViewMain.js b/web-modeler/src/main/resources/META-INF/xhtml/js/camelApplicationViewMain.js
index 76103ae..15a3aa9 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/camelApplicationViewMain.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/camelApplicationViewMain.js
@@ -23,9 +23,13 @@ require.config({
'jquery.treeTable': ['libs/jquery/plugins/jquery.treeTable', 'https://raw.github.com/ludo/jquery-treetable/f98c6d07a02cb48052e9d4e033ce7dcdf64218e1/src/javascripts/jquery.treeTable'],
'jquery.url': ['libs/jquery/plugins/jquery.url', 'https://raw.github.com/allmarkedup/jQuery-URL-Parser/472315f02afbfd7193184300cc381163e19b4a16/jquery.url'],
- 'common-plugins': '../../../services/rest/bpm-modeler/config/ui/plugins/common-plugins'
+ 'common-plugins': '../../../services/rest/bpm-modeler/config/ui/plugins/common-plugins',
+ 'i18n' : '../../common/InfinityBPMI18N'
},
shim: {
+ 'i18n': {
+ exports: "InfinityBPMI18N"
+ },
'jquery-ui': ['jquery'],
'jquery.form': ['jquery'],
'jquery.impromptu': ['jquery'],
@@ -47,7 +51,7 @@ require(["require",
"jquery.tablescroll",
"jquery.treeTable",
"jquery.url",
-
+ "i18n",
"common-plugins",
"m_utils",
"m_communicationController",
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/conditionalPerformerViewMain.js b/web-modeler/src/main/resources/META-INF/xhtml/js/conditionalPerformerViewMain.js
index 7305ac8..3877662 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/conditionalPerformerViewMain.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/conditionalPerformerViewMain.js
@@ -22,9 +22,13 @@ require.config({
'jquery.treeTable': ['libs/jquery/plugins/jquery.treeTable', 'https://raw.github.com/ludo/jquery-treetable/f98c6d07a02cb48052e9d4e033ce7dcdf64218e1/src/javascripts/jquery.treeTable'],
'jquery.url': ['libs/jquery/plugins/jquery.url', 'https://raw.github.com/allmarkedup/jQuery-URL-Parser/472315f02afbfd7193184300cc381163e19b4a16/jquery.url'],
- 'common-plugins': '../../../services/rest/bpm-modeler/config/ui/plugins/common-plugins'
+ 'common-plugins': '../../../services/rest/bpm-modeler/config/ui/plugins/common-plugins',
+ 'i18n' : '../../common/InfinityBPMI18N'
},
shim: {
+ 'i18n': {
+ exports: "InfinityBPMI18N"
+ },
'jquery-ui': ['jquery'],
'jquery.download': ['jquery'],
'jquery.form': ['jquery'],
@@ -40,7 +44,7 @@ require.config({
require(["require", "m_extensionManager",
"jquery",
"extensions_jquery",
-
+ "i18n",
"jquery-ui",
"jquery.download",
"jquery.form",
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/dataViewMain.js b/web-modeler/src/main/resources/META-INF/xhtml/js/dataViewMain.js
index 4c91c8b..76ea6b2 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/dataViewMain.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/dataViewMain.js
@@ -23,8 +23,12 @@ require.config({
'jquery.url': ['libs/jquery/plugins/jquery.url', 'https://raw.github.com/allmarkedup/jQuery-URL-Parser/472315f02afbfd7193184300cc381163e19b4a16/jquery.url'],
'common-plugins': '../../../services/rest/bpm-modeler/config/ui/plugins/common-plugins',
+ 'i18n' : '../../common/InfinityBPMI18N'
},
shim: {
+ 'i18n': {
+ exports: "InfinityBPMI18N"
+ },
'jquery-ui': ['jquery'],
'jquery.tablescroll': ['jquery'],
'jquery.treeTable': ['jquery'],
@@ -42,6 +46,7 @@ require(["require",
"common-plugins",
"m_communicationController",
"m_urlUtils",
+ "i18n",
"m_constants",
"m_command",
"m_commandsController",
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/importTypeDeclarationsWizardMain.js b/web-modeler/src/main/resources/META-INF/xhtml/js/importTypeDeclarationsWizardMain.js
index c597d39..7165961 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/importTypeDeclarationsWizardMain.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/importTypeDeclarationsWizardMain.js
@@ -24,8 +24,12 @@ require.config({
'jquery.url': ['libs/jquery/plugins/jquery.url', 'https://raw.github.com/allmarkedup/jQuery-URL-Parser/472315f02afbfd7193184300cc381163e19b4a16/jquery.url'],
'common-plugins': '../../../services/rest/bpm-modeler/config/ui/plugins/common-plugins',
+ 'i18n' : '../../common/InfinityBPMI18N'
},
shim: {
+ 'i18n': {
+ exports: "InfinityBPMI18N"
+ },
'jquery.tablescroll': ['jquery'],
'jquery.treeTable': ['jquery'],
'jquery.url': ['jquery']
@@ -42,6 +46,7 @@ require(["require",
"m_communicationController",
"m_urlUtils",
"m_constants",
+ "i18n",
"m_command",
"m_commandsController",
"m_importTypeDeclarationsWizard"], function(require) {
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_activityBasicPropertiesPage.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_activityBasicPropertiesPage.js
index 0cbdcaa..cae6d26 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_activityBasicPropertiesPage.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_activityBasicPropertiesPage.js
@@ -11,11 +11,12 @@
define(
[ "m_utils", "m_constants", "m_command", "m_commandsController",
"m_user", "m_model", "m_dialog", "m_basicPropertiesPage",
- "m_activity" ],
+ "m_activity", "m_i18nUtils" ],
function(m_utils, m_constants, m_command, m_commandsController, m_user,
- m_model, m_dialog, m_basicPropertiesPage, m_activity) {
+ m_model, m_dialog, m_basicPropertiesPage, m_activity, m_i18nUtils) {
return {
create : function(propertiesPanel) {
+ i18nProcessActivityScreen();
var page = new ActivityBasicPropertiesPage(propertiesPanel);
page.initialize();
@@ -23,7 +24,62 @@ define(
return page;
}
};
-
+ function i18nProcessActivityScreen() {
+
+ $("label[for='guidOutput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.uuid"));
+
+ $("label[for='idOutput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.id"));
+
+ jQuery("#name")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.name"));
+ jQuery("#description")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.description"));
+ $("label[for='allowAbortByParticipantInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.activity.propertyPages.general.participantAction"));
+ $("label[for='hibernateInitiallyInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.activity.propertyPages.general.hibernate"));
+ $("label[for='supportsRelocationInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.activity.propertyPages.general.relocation"));
+ $("label[for='isRelocationTargetInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.activity.propertyPages.general.relocationTarget"));
+ jQuery("#userTask")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.activity.propertyPages.general.userTask"));
+ jQuery("#userTask")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.activity.propertyPages.general.userTask"));
+ $("label[for='applicationInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.activity.propertyPages.general.applicationInput"));
+ $("label[for='subprocessInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.activity.propertyPages.general.subProcessInput"));
+ }
+
+
+
function ActivityBasicPropertiesPage(propertiesPanel) {
var basicPropertiesPage = m_basicPropertiesPage
.create(propertiesPanel);
@@ -162,8 +218,9 @@ define(
+ m_constants.AUTO_GENERATED_UI
+ "'>(Auto-generated Screen)</option>");
+ var modellabel = m_i18nUtils.getProperty("modeler.element.properties.commonProperties.thisModel");
this.userApplicationList
- .append("<optgroup label=\"This Model\">");
+ .append("<optgroup label=\""+modellabel+"\">");
for ( var i in this.getModel().applications) {
if (!this.getModel().applications[i].interactive) {
@@ -177,8 +234,9 @@ define(
}
this.userApplicationList.append("</optgroup>");
+ modellabel = m_i18nUtils.getProperty("modeler.element.properties.commonProperties.otherModel");
this.userApplicationList
- .append("</optgroup><optgroup label=\"Others Model\">");
+ .append("</optgroup><optgroup label=\""+modellabel+"\">");
for ( var n in m_model.getModels()) {
if (m_model.getModels()[n] == this.getModel()) {
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_activityControllingPropertiesPage.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_activityControllingPropertiesPage.js
index 9dd071f..09fd955 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_activityControllingPropertiesPage.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_activityControllingPropertiesPage.js
@@ -12,27 +12,115 @@
* @author Marc.Gille
*/
define(
- [ "m_utils", "m_constants", "m_dialog", "m_propertiesPage" ],
- function(m_utils, m_constants, m_dialog, m_propertiesPage) {
+ [ "m_utils", "m_constants", "m_dialog", "m_propertiesPage", "m_i18nUtils" ],
+ function(m_utils, m_constants, m_dialog, m_propertiesPage, m_i18nUtils) {
+
return {
create : function(propertiesPanel) {
return new ActivityControllingPropertiesPage(
propertiesPanel);
}
};
+
+
+ function i18nactivity() {
+
+ $("label[for='targetProcessingTimeInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.activity.propertyPages.controlling.targetprocessingtime"));
+
+
+ $("label[for='targetExecutionTimeInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.activity.propertyPages.controlling.targetexecutiontimeinput")); // Execution
+
+ $("label[for='targetIdleTimeInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.activity.propertyPages.controlling.targetIdleTimeInput"));
+
+
+ $("label[for='targetWaitingTimeInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.activity.propertyPages.controlling.targetWaitingTimeInput"));
+
+
+ $("label[for='targetQueueDepthInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.activity.propertyPages.controlling.targetQueueDepthInput"));
+
+
+ $("label[for='targetCostPerExecutionInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.activity.propertyPages.controlling.targetCostPerExecutionInput"));
+
+
+
+ $("label[for='resourcePerformanceCalculationSelect']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.activity.propertyPages.controlling.resourcePerformanceCalculationSelect"));
+
+
+ jQuery("#activityhours")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.hours"));
+ jQuery("#activityhours2")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.hours"));
+ jQuery("#activityhours3")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.hours"));
+ jQuery("#activityhours4")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.hours"));
+ jQuery("#activitydollar")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.dollar"));
+ jQuery("#activityControling")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.activity.propertyPages.controlling.header"));
+
+ this.resourcePerformanceCalculationSelect = jQuery("#resourcePerformanceCalculationSelect");
+
+ var selectdata = m_i18nUtils
+ .getProperty("modeler.activity.propertyPages.controlling.resourcePerformanceCalculationSelect.included");
+ resourcePerformanceCalculationSelect
+ .append("<option value=\"included\">" + selectdata
+ + "</option>");
+ selectdata = m_i18nUtils
+ .getProperty("modeler.activity.propertyPages.controlling.resourcePerformanceCalculationSelect.notIncluded");
+ resourcePerformanceCalculationSelect
+ .append("<option value=\"notIncluded\">" + selectdata
+ + "</option>");
+
+ }
/**
*
*/
function ActivityControllingPropertiesPage(propertiesPanel) {
-
+ var controlling = m_i18nUtils.getProperty("modeler.activity.propertyPages.controlling.heading");
+ i18nactivity();
// Inheritance
var propertiesPage = m_propertiesPage.createPropertiesPage(
propertiesPanel, "controllingPropertiesPage",
- "Controlling",
+ controlling,
"../../images/icons/controlling-properties-page.png");
+
m_utils.inheritFields(this, propertiesPage);
m_utils.inheritMethods(
ActivityControllingPropertiesPage.prototype,
@@ -91,8 +179,7 @@ define(
.val(this.propertiesPanel.element.modelElement.attributes["carnot:pwh:targetQueueDepth"]);
this.targetCostPerExecutionInput
.val(this.propertiesPanel.element.modelElement.attributes["carnot:pwh:targetCostPerExecution"]);
- // this.resourcePerformanceCalculationSelect
- // .val(this.propertiesPanel.element.modelElement.attributes["carnot:pwh:targetCostPerSecond"]);
+
};
}
}); \ No newline at end of file
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_activityDisplayPropertiesPage.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_activityDisplayPropertiesPage.js
index 081559d..f1613bb 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_activityDisplayPropertiesPage.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_activityDisplayPropertiesPage.js
@@ -9,8 +9,8 @@
******************************************************************************/
define([ "m_utils", "m_constants", "m_commandsController", "m_command",
- "m_propertiesPage" ], function(m_utils, m_constants,
- m_commandsController, m_command, m_propertiesPage) {
+ "m_propertiesPage","m_i18nUtils"], function(m_utils, m_constants,
+ m_commandsController, m_command, m_propertiesPage,m_i18nUtils) {
return {
create : function(propertiesPanel) {
var page = new ActivityDisplayPropertiesPage(propertiesPanel);
@@ -23,7 +23,7 @@ define([ "m_utils", "m_constants", "m_commandsController", "m_command",
function ActivityDisplayPropertiesPage(propertiesPanel) {
var propertiesPage = m_propertiesPage.createPropertiesPage(
- propertiesPanel, "displayPropertiesPage", "Display",
+ propertiesPanel, "displayPropertiesPage", m_i18nUtils.getProperty("modeler.propertyPages.commonProperties.display"),
"../../images/icons/display-properties-page.png");
m_utils.inheritFields(this, propertiesPage);
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_annotationBasicPropertiesPage.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_annotationBasicPropertiesPage.js
index 6850c5c..35e3e8e 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_annotationBasicPropertiesPage.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_annotationBasicPropertiesPage.js
@@ -10,19 +10,30 @@
define(
[ "m_utils", "m_constants", "m_commandsController", "m_command",
- "m_dialog", "m_propertiesPage"],
+ "m_dialog", "m_propertiesPage","m_i18nUtils"],
function(m_utils, m_constants, m_commandsController, m_command,
- m_dialog, m_propertiesPage) {
+ m_dialog, m_propertiesPage, m_i18nUtils) {
return {
create : function(propertiesPanel) {
var page = new AnnotationBasicPropertiesPage(propertiesPanel);
-
+ i18nannotation();
page.initialize();
return page;
}
};
+
+ function i18nannotation() {
+ jQuery("#annotationbasic")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.diagram.toolbar.tool.annotation.basic"));
+ $("label[for='contentTextarea']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.diagram.toolbar.tool.annotation.content"));
+ }
/**
*
*/
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_basicPropertiesPage.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_basicPropertiesPage.js
index a49dab4..8b6997f 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_basicPropertiesPage.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_basicPropertiesPage.js
@@ -11,9 +11,9 @@
define(
[ "m_utils", "m_constants", "m_extensionManager", "m_command",
"m_commandsController", "m_user", "m_dialog",
- "m_propertiesPage" ],
+ "m_propertiesPage","m_i18nUtils" ],
function(m_utils, m_constants, m_extensionManager, m_command,
- m_commandsController, m_user, m_dialog, m_propertiesPage) {
+ m_commandsController, m_user, m_dialog, m_propertiesPage,m_i18nUtils) {
return {
create : function(propertiesPanel) {
return new BasicPropertiesPage(propertiesPanel);
@@ -24,9 +24,10 @@ define(
*
*/
function BasicPropertiesPage(propertiesPanel) {
+ var generalProperties = m_i18nUtils.getProperty("modeler.processDefinition.propertyPages.general.heading");
var propertiesPage = m_propertiesPage.createPropertiesPage(
propertiesPanel, "basicPropertiesPage",
- "General Properties",
+ generalProperties,
"../../images/icons/basic-properties-page.png");
m_utils.inheritFields(this, propertiesPage);
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_camelApplicationView.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_camelApplicationView.js
index 5d2cce6..17c4209 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_camelApplicationView.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_camelApplicationView.js
@@ -11,13 +11,13 @@
define(
[ "m_utils", "m_constants", "m_extensionManager", "m_session",
"m_commandsController", "m_dialog", "m_modelElementView",
- "m_model" ],
+ "m_model","m_i18nUtils" ],
function(m_utils, m_constants, m_extensionManager, m_session,
- m_commandsController, m_dialog, m_modelElementView, m_model) {
+ m_commandsController, m_dialog, m_modelElementView, m_model, m_i18nUtils) {
return {
initialize : function(fullId) {
var view = new CamelApplicationView();
-
+ i18camelrouteproperties();
// TODO Unregister!
// In Initializer?
m_commandsController.registerCommandHandler(view);
@@ -26,6 +26,69 @@ define(
}
};
+
+ function i18camelrouteproperties() {
+
+ $("label[for='guidOutput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.uuid"));
+
+ $("label[for='idOutput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.id"));
+
+ jQuery("#applicationName")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.applicationName"));
+ jQuery("#description")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.description"));
+ jQuery("#camelConfiguration")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.camelRoute.camelConfigurationProperties.tab"));
+ jQuery("#endPointType")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.camelRoute.camelConfigurationProperties.endpointType"));
+ jQuery("#camelContext")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.camelRoute.camelConfigurationProperties.camelContext"));
+
+ jQuery("#addBeanSpec")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.camelRoute.camelConfigurationProperties.additionalBeanSpecification"));
+ jQuery("#direction")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.direction"));
+
+ var directioninput = jQuery("#directionInput");
+
+ var selectdata = m_i18nUtils
+ .getProperty("modeler.model.propertyView.camelRoute.camelConfigurationProperties.direction.requestOnly");
+ directioninput.append("<option value=\"requestOnly\">"
+ + selectdata + "</option>");
+
+ selectdata = m_i18nUtils
+ .getProperty("modeler.model.propertyView.camelRoute.camelConfigurationProperties.direction.requestResponse");
+ directioninput.append("<option value=\"requestResponse\">"
+ + selectdata + "</option>");
+
+ var selectendpoint = jQuery("#endpointTypeSelectInput");
+
+ selectdata = m_i18nUtils
+ .getProperty("modeler.model.propertyView.camelRoute.camelConfigurationProperties.endPoint.generic");
+ selectendpoint.append("<option value=\"genericEndpoint\">"
+ + selectdata + "</option>");
+
+ }
/**
*
*/
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_commentsPanel.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_commentsPanel.js
index 8b3949f..e746c9b 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_commentsPanel.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_commentsPanel.js
@@ -36,7 +36,7 @@ define(
+ " #submitButton");
this.deleteButton = jQuery("#" + this.scope
+ " #deleteButton");
-
+ this.deleteButton.attr("title","+Delete");
this.submitButton.click({
panel : this
}, function(event) {
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_conditionalPerformerView.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_conditionalPerformerView.js
index 5b6ed26..801138e 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_conditionalPerformerView.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_conditionalPerformerView.js
@@ -10,12 +10,13 @@
define(
[ "m_utils", "m_constants", "m_command", "m_commandsController",
- "m_dialog", "m_modelElementView", "m_model"],
+ "m_dialog", "m_modelElementView", "m_model","m_i18nUtils"],
function(m_utils, m_constants, m_command, m_commandsController,
- m_dialog, m_modelElementView, m_model) {
+ m_dialog, m_modelElementView, m_model,m_i18nUtils) {
return {
initialize : function(fullId) {
var conditionalPerformer = m_model.findParticipant(fullId);
+ i18nconditionalScreen();
var view = new ConditionalPerformerView();
// TODO Unregister!
// In Initializer?
@@ -25,6 +26,77 @@ define(
view.initialize(conditionalPerformer);
}
};
+
+
+ function i18nconditionalScreen() {
+
+ $("label[for='guidOutput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.uuid"));
+
+ $("label[for='idOutput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.id"));
+
+ $("label[for='bindingDataPathInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.participants.conditionalPerformer.name.bindingDataPath"));
+ $("label[for='bindingDataSelect']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.participants.conditionalPerformer.name.bindingDataSelect"));
+ $("label[for='performerTypeSelect']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.participants.conditionalPerformer.name.performerTypeSelect"));
+
+ $("label[for='publicVisibilityCheckbox']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.publicVisibility"));
+ $("label[for='descriptionTextarea']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.description"));
+ $("label[for='nameInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.participants.conditionalPerformer.performerName"));
+
+ jQuery("#propertiesTabs span.tabLabel")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.configuration"));
+
+ this.performerTypeSelect1 = jQuery("#performerTypeSelect");
+
+ var dropDownData = m_i18nUtils
+ .getProperty("modeler.model.propertyView.participants.conditionalPerformer.performerTypeSelect.user");
+ performerTypeSelect1.append("<option value=\"user\">"
+ + dropDownData + "</option>");
+
+ dropDownData = m_i18nUtils
+ .getProperty("modeler.model.propertyView.participants.conditionalPerformer.performerTypeSelect.userGroup");
+ performerTypeSelect1.append("<option value=\"userGroup\">"
+ + dropDownData + "</option>");
+
+ dropDownData = m_i18nUtils
+ .getProperty("modeler.model.propertyView.participants.conditionalPerformer.performerTypeSelect.orgRole");
+ performerTypeSelect1
+ .append("<option value=\"modelParticipant\">"
+ + dropDownData + "</option>");
+
+ dropDownData = m_i18nUtils
+ .getProperty("modeler.model.propertyView.participants.conditionalPerformer.performerTypeSelect.orgRoleUser");
+ performerTypeSelect1
+ .append("<option value=\"modelParticipantOrUserGroup\">"
+ + dropDownData + "</option>");
+
+
+ }
/**
*
@@ -112,9 +184,9 @@ define(
*/
ConditionalPerformerView.prototype.populateBindingDataSelect = function() {
this.bindingDataSelect.empty();
-
+ var modellabel = m_i18nUtils.getProperty("modeler.element.properties.commonProperties.thisModel");
this.bindingDataSelect
- .append("<optgroup label=\"This Model\">");
+ .append("<optgroup label=\""+modellabel+"\">");
for ( var i in this.getModelElement().model.dataItems) {
var dataItem = this.getModelElement().model.dataItems[i];
@@ -123,9 +195,9 @@ define(
+ dataItem.getFullId() + "'>" + dataItem.name
+ "</option>");
}
-
+ modellabel = m_i18nUtils.getProperty("modeler.element.properties.commonProperties.otherModel");
this.bindingDataSelect
- .append("</optgroup><optgroup label=\"Other Models\">");
+ .append("</optgroup><optgroup label=\""+modellabel+"\">");
for ( var n in m_model.getModels()) {
if (m_model.getModels()[n] == this.getModelElement().model) {
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_dataTypeSelector.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_dataTypeSelector.js
index ee64de0..5837873 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_dataTypeSelector.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_dataTypeSelector.js
@@ -1,11 +1,11 @@
/**
* Utility functions for dialog programming.
- *
+ *
* @author Marc.Gille
*/
define(
- [ "m_utils", "m_constants", "m_extensionManager", "m_model", "m_dialog" ],
- function(m_utils, m_constants, m_extensionManager, m_model, m_dialog) {
+ [ "m_utils", "m_constants", "m_extensionManager", "m_model", "m_dialog" ,"m_i18nUtils"],
+ function(m_utils, m_constants, m_extensionManager, m_model, m_dialog ,m_i18nUtils) {
return {
create : function(options) {
var panel = new DataTypeSelector();
@@ -17,13 +17,13 @@ define(
};
/**
- *
+ *
*/
function DataTypeSelector() {
/**
* Options are
- *
- * scope submitHandler supportsOtherData supportDocumentTypes
+ *
+ * scope submitHandler supportsOtherData
*/
DataTypeSelector.prototype.initialize = function(options) {
this.scope = options.scope;
@@ -56,6 +56,32 @@ define(
this.initializeDataTypeOptions();
+ var propertiesData = m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.primitive");
+
+ this.dataTypeSelect.append("<option value='primitive'>"
+ + propertiesData + "</option>");
+ propertiesData = m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.dataStructure");
+ this.dataTypeSelect.append("<option value='struct'>"
+ + propertiesData + "</option>");
+
+ if (options.supportDocumentTypes) {
+ propertiesData = m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.document");
+ this.dataTypeSelect.append("<option value='dmsDocument'>"
+ + propertiesData + "</option>");
+ }
+
+ if (this.supportsOtherData) {
+ propertiesData = m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.other");
+ 4
+ this.dataTypeSelect.append("<option value='other'>"
+ + propertiesData + "</option>");
+ //this.dataTypeSelect.append("<option value='other'>Other</option>");
+ }
+
this.dataTypeSelect.change({
panel : this
}, function(event) {
@@ -63,6 +89,12 @@ define(
dataType : event.data.panel.dataTypeSelect.val()
});
+ event.data.panel.submitChanges();
+ });
+ this.primitiveDataTypeSelect.change({
+ panel : this
+ }, function(event) {
+ event.data.panel.setPrimitiveDataType(event.data.panel.primitiveDataTypeSelect.val());
event.data.panel.submitChanges();
});
this.primitiveDataTypeSelect
@@ -105,19 +137,35 @@ define(
*/
DataTypeSelector.prototype.initializeDataTypeOptions = function() {
this.dataTypeSelect.empty();
+
+ var propertiesData = m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.primitive");
+
this.dataTypeSelect
- .append("<option value='primitive'>Primitive</option>");
+ .append("<option value='primitive'>"+propertiesData+"</option>");
+
+ propertiesData = m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.structureData");
+
+
+
this.dataTypeSelect
- .append("<option value='struct'>Structured Data</option>");
+ .append("<option value='struct'>"+propertiesData+"</option>");
+
+
if (this.supportDocumentTypes) {
+ propertiesData = m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.document");
this.dataTypeSelect
- .append("<option value='dmsDocument'>Document</option>");
+ .append("<option value='dmsDocument'>"+propertiesData+"</option>");
}
-
+
if (this.supportsOtherData) {
+ propertiesData = m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.other");
this.dataTypeSelect
- .append("<option value='other'>Other</option>");
+ .append("<option value='other'>"+propertiesData+"</option>");
}
}
@@ -132,7 +180,7 @@ define(
};
/**
- *
+ *
*/
DataTypeSelector.prototype.populateDataStructuresSelectInput = function() {
this.structuredDataTypeSelect.empty();
@@ -176,7 +224,7 @@ define(
};
/**
- *
+ *
*/
DataTypeSelector.prototype.populateDocumentTypesSelectInput = function() {
this.documentTypeSelect.empty();
@@ -220,7 +268,7 @@ define(
};
/**
- *
+ *
*/
DataTypeSelector.prototype.setDataType = function(data) {
if (data.isSupportedDataType
@@ -256,7 +304,7 @@ define(
};
/**
- *
+ *
*/
DataTypeSelector.prototype.getDataType = function(data) {
data.dataType = this.dataTypeSelect.val();
@@ -276,7 +324,7 @@ define(
};
/**
- *
+ *
*/
DataTypeSelector.prototype.setPrimitiveDataType = function(
primitiveDataType) {
@@ -296,7 +344,7 @@ define(
};
/**
- *
+ *
*/
DataTypeSelector.prototype.setStructuredDataType = function(
structuredDataTypeFullId) {
@@ -312,7 +360,7 @@ define(
};
/**
- *
+ *
*/
DataTypeSelector.prototype.setDocumentDataType = function(
documentDataTypeFullId) {
@@ -328,7 +376,7 @@ define(
};
/**
- *
+ *
*/
DataTypeSelector.prototype.setOtherDataType = function(dataType) {
if (this.otherTypeRow == null || this.otherTypeName == null) {
@@ -352,7 +400,7 @@ define(
};
/**
- *
+ *
*/
DataTypeSelector.prototype.enable = function() {
this.dataTypeSelect.removeAttr("disabled");
@@ -366,7 +414,7 @@ define(
};
/**
- *
+ *
*/
DataTypeSelector.prototype.disable = function() {
this.dataTypeSelect.attr("disabled", true);
@@ -380,7 +428,7 @@ define(
};
/**
- *
+ *
*/
DataTypeSelector.prototype.submitChanges = function() {
if (this.submitHandler) {
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_dataView.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_dataView.js
index 00b4607..fbe4b1b 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_dataView.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_dataView.js
@@ -11,10 +11,10 @@
define(
[ "m_utils", "m_constants", "m_extensionManager", "m_command",
"m_commandsController", "m_dialog", "m_modelElementView",
- "m_model", "m_dataTypeSelector" ],
+ "m_model", "m_dataTypeSelector","m_i18nUtils"],
function(m_utils, m_constants, m_extensionManager, m_command,
m_commandsController, m_dialog, m_modelElementView, m_model,
- m_dataTypeSelector) {
+ m_dataTypeSelector, m_i18nUtils) {
var view;
return {
@@ -27,12 +27,73 @@ define(
view = new DataView();
// TODO Unregister!
// In Initializer?
-
+ i18primitivedataproperties();
m_commandsController.registerCommandHandler(view);
view.initialize(data);
+
}
};
+
+
+ function i18primitivedataproperties() {
+
+ $("label[for='guidOutput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.uuid"));
+
+ $("label[for='idOutput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.id"));
+
+ jQuery("#dataName")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.createPrimitiveData.dataName"));
+ jQuery("#description")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.description"));
+ jQuery("#publicVisibility")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.publicVisibility"));
+ jQuery("#dataType")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.dataType "));
+ jQuery("#dataType1")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.dataType"));
+ jQuery("#dataType")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.dataType"));
+ jQuery("#primitiveType")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.primitiveType"));
+ jQuery("#dataStructure")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.dataStructure"));
+ jQuery("#documentType")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.createPrimitiveData.dataTypeProperties.documentType"));
+ jQuery("#defaultValue")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.createPrimitiveData.dataTypeProperties.defaultValue"));
+ jQuery("#defaultValue1")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.createPrimitiveData.dataTypeProperties.defaultValue"));
+
+ }
/**
*
@@ -53,6 +114,44 @@ define(
this.primitiveDefaultTextInput = jQuery("#primitiveDefaultTextInput");
this.primitiveDefaultCheckboxInputRow = jQuery("#primitiveDefaultCheckboxInputRow ");
this.primitiveDefaultCheckboxInput = jQuery("#primitiveDefaultCheckboxInput");
+ this.primitiveDataTypeSelect = jQuery("#primitiveDataTypeSelect");
+ var selectdata = null;
+ selectdata = m_i18nUtils
+ .getProperty("modeler.propertyView.dataTypeProperties.dataTypeSelect.string");
+ this.primitiveDataTypeSelect
+ .append("<option value=\"String\">" + selectdata
+ + "</option>");
+ selectdata = m_i18nUtils
+ .getProperty("modeler.propertyView.dataTypeProperties.dataTypeSelect.boolean");
+ this.primitiveDataTypeSelect
+ .append("<option value=\"boolean\">" + selectdata
+ + "</option>");
+ selectdata = m_i18nUtils
+ .getProperty("modeler.propertyView.dataTypeProperties.dataTypeSelect.int");
+ this.primitiveDataTypeSelect
+ .append("<option value=\"int\">" + selectdata
+ + "</option>");
+ selectdata = m_i18nUtils
+ .getProperty("modeler.propertyView.dataTypeProperties.dataTypeSelect.long");
+ this.primitiveDataTypeSelect
+ .append("<option value=\"long\">" + selectdata
+ + "</option>");
+ selectdata = m_i18nUtils
+ .getProperty("modeler.propertyView.dataTypeProperties.dataTypeSelect.double");
+ this.primitiveDataTypeSelect
+ .append("<option value=\"double\">" + selectdata
+ + "</option>");
+ selectdata = m_i18nUtils
+ .getProperty("modeler.propertyView.dataTypeProperties.dataTypeSelect.decimal");
+ this.primitiveDataTypeSelect
+ .append("<option value=\"Decimal\">" + selectdata
+ + "</option>");
+ selectdata = m_i18nUtils
+ .getProperty("modeler.propertyView.dataTypeProperties.dataTypeSelect.calender");
+ this.primitiveDataTypeSelect
+ .append("<option value=\"Calendar\">" + selectdata
+ + "</option>");
+
this.dataTypeSelector = m_dataTypeSelector.create({
scope : "dataView",
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_defaultPaletteHandler.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_defaultPaletteHandler.js
index 058e9eb..2f8d049 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_defaultPaletteHandler.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_defaultPaletteHandler.js
@@ -16,11 +16,13 @@ define([ "m_utils", "m_constants", "m_messageDisplay",
"m_communicationController", "m_constants", "m_logger",
"m_commandsController", "m_diagram", "m_activitySymbol",
"m_eventSymbol", "m_gatewaySymbol", "m_dataSymbol", "m_annotationSymbol", "m_model",
- "m_process", "m_activity", "m_data" ], function(m_utils, m_constants,
+ "m_process", "m_activity", "m_data","m_i18nUtils"],
+
+ function(m_utils, m_constants,
m_messageDisplay, m_canvasManager,
m_communicationController, m_constants, m_logger, m_commandsController,
m_diagram, m_activitySymbol, m_eventSymbol, m_gatewaySymbol,
- m_dataSymbol, m_annotationSymbol, m_model, m_process, m_activity, m_data) {
+ m_dataSymbol, m_annotationSymbol, m_model, m_process, m_activity, m_data, m_i18nUtils) {
function selectTool(toolButtonId) {
$(".selected-tool").removeClass("selected-tool");
@@ -77,8 +79,9 @@ define([ "m_utils", "m_constants", "m_messageDisplay",
diagram.clearCurrentToolSelection();
selectTool("connectorButton");
diagram.mode = diagram.CONNECTION_MODE;
+ var errorMessage = m_i18nUtils.getProperty("modeler.diagram.toolbar.tool.errorMessage");
m_messageDisplay
- .showMessage("Select first anchor point for connection.");
+ .showMessage(errorMessage);
},
createAnnotation : function(diagram) {
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_eventBasicPropertiesPage.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_eventBasicPropertiesPage.js
index dfe8e01..056c340 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_eventBasicPropertiesPage.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_eventBasicPropertiesPage.js
@@ -11,10 +11,10 @@
define(
[ "m_utils", "m_constants", "m_extensionManager", "m_session",
"m_commandsController", "m_command", "m_dialog",
- "m_basicPropertiesPage", "m_dataTraversal" ],
+ "m_basicPropertiesPage", "m_dataTraversal", "m_i18nUtils" ],
function(m_utils, m_constants, m_extensionManager, m_session,
m_commandsController, m_command, m_dialog,
- m_basicPropertiesPage, m_dataTraversal) {
+ m_basicPropertiesPage, m_dataTraversal, m_i18nUtils ) {
return {
create : function(propertiesPanel) {
var page = new EventBasicPropertiesPage(propertiesPanel);
@@ -44,6 +44,22 @@ define(
.mapInputId("eventTypeSelectInput");
this.overlayTableCell = jQuery("#overlayTableCell");
+
+ var selectdata = m_i18nUtils
+ .getProperty("modeler.diagram.toolbar.tool.startEvent.eventType.option.manualProcessStart");
+ this.eventTypeSelectInput
+ .append("<option value=\"manualTrigger\">"
+ + selectdata + "</option>");
+ selectdata = m_i18nUtils
+ .getProperty("modeler.diagram.toolbar.tool.startEvent.eventType.option.processStartViaScan");
+ this.eventTypeSelectInput
+ .append("<option value=\"scanTrigger\">"
+ + selectdata + "</option>");
+ selectdata = m_i18nUtils
+ .getProperty("modeler.diagram.toolbar.tool.startEvent.eventType.option.processStartViaCamel");
+ this.eventTypeSelectInput
+ .append("<option value=\"camelTrigger\">"
+ + selectdata + "</option>");
var eventIntegrationOverlays = m_extensionManager
.findExtensions("eventIntegrationOverlay");
@@ -156,6 +172,10 @@ define(
} else if (this.propertiesPanel.element.modelElement.documentDataId != null) {
this.setOverlay("scanEvent");
} else {
+ var selectdata = m_i18nUtils.getProperty("modeler.diagram.toolbar.tool.startEvent.notePoint");
+ this.participantOutput
+ .append(selectdata);
+
this.setOverlay("manualTrigger");
}
} else {
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_importTypeDeclarationsWizard.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_importTypeDeclarationsWizard.js
index d57cb33..e0d699a 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_importTypeDeclarationsWizard.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_importTypeDeclarationsWizard.js
@@ -11,18 +11,77 @@
define(
[ "m_utils", "m_constants", "m_communicationController", "m_command",
"m_commandsController", "m_model",
- "m_dialog", "m_typeDeclaration", "m_structuredTypeBrowser" ],
+ "m_dialog", "m_typeDeclaration", "m_structuredTypeBrowser","m_i18nUtils" ],
function(m_utils, m_constants, m_communicationController, m_command,
m_commandsController, m_model,
- m_dialog, m_typeDeclaration, m_structuredTypeBrowser) {
+ m_dialog, m_typeDeclaration, m_structuredTypeBrowser,m_i18nUtils) {
return {
initialize : function() {
var wizard = new ImportTypeDeclarationsWizard();
+ i18importtypeproperties();
wizard.initialize(payloadObj.model);
+
}
};
+
+
+ function i18importtypeproperties() {
+
+ jQuery("#titleText")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.structuredTypes.importTypeDeclarations.panel"));
+ jQuery("#import")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.structuredTypes.importTypeDeclarations.text"));
+ jQuery("#url")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.structuredTypes.importTypeDeclarations.url"));
+ jQuery("#loadFromUrlButton")
+ .attr(
+ "value",
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.structuredTypes.importTypeDeclarations.load"));
+
+ jQuery("#dataStructElement")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.structuredTypes.importTypeDeclarations.heading.dataStructureElemnets"));
+ jQuery("#structureDefinitionHintPanel")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.structuredTypes.importTypeDeclarations.definitionPanel"));
+ jQuery("#select")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.structuredTypes.importTypeDeclarations.checkbox"));
+ jQuery("#elementColumn")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.element"));
+ jQuery("#typeColumn")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.type"));
+ jQuery("#cardinalityColumn")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.cardinality"));
+ jQuery("#importButton")
+ .attr(
+ "value",
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.structuredTypes.importTypeDeclarations.import"));
+ jQuery("#cancelButton")
+ .attr(
+ "value",
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.structuredTypes.importTypeDeclarations.cancel"));
+ }
/**
*
*/
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_messageDisplay.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_messageDisplay.js
index 07c9d57..027d692 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_messageDisplay.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_messageDisplay.js
@@ -2,8 +2,8 @@
* @author Marc.Gille
*/
define(
- [ "jquery", "m_utils", "m_constants" ],
- function(jQuery, m_utils, m_constants) {
+ [ "jquery", "m_utils", "m_constants","m_i18nUtils" ],
+ function(jQuery, m_utils, m_constants, m_i18nUtils){
var INFO_MESSAGE = 0;
var ERROR_MESSAGE = 1;
@@ -13,7 +13,8 @@ define(
var messageDisplay = jQuery("#messageDisplay");
var messageIcon = jQuery("#messageIcon");
var lastSaveDateDisplay = jQuery("#lastSaveDateDisplay");
- updateLastSavedLabel("Not saved yet");
+ var selectdata = m_i18nUtils.getProperty("modeler.outline.unSavedMessage.title");
+ updateLastSavedLabel(selectdata);
var messages = [];
@@ -33,7 +34,8 @@ define(
if (lastSaveDate) {
updateLastSavedLabel(m_utils.prettyDateTime(lastSaveDate));
} else {
- updateLastSavedLabel("Not saved yet");
+ var selectdata = m_i18nUtils.getProperty("modeler.element.properties.sessionProperties.notsavedata");
+ updateLastSavedLabel(selectdata);
}
}
@@ -48,8 +50,9 @@ define(
*
*/
function markSaved() {
+ var selectdata = m_i18nUtils.getProperty("modeler.element.properties.sessionProperties.justNow");
lastSaveDate = new Date();
- updateLastSavedLabel("Just Now");
+ updateLastSavedLabel(selectdata);
}
/**
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_messageTransformationApplicationView.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_messageTransformationApplicationView.js
index 94589eb..ca41367 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_messageTransformationApplicationView.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_messageTransformationApplicationView.js
@@ -11,22 +11,148 @@
define(
[ "m_utils", "m_constants", "m_command", "m_commandsController",
"m_model", "m_accessPoint", "m_dataTraversal", "m_dialog",
- "m_modelElementView", "m_codeEditor" ],
+ "m_modelElementView", "m_codeEditor", "m_i18nUtils"],
function(m_utils, m_constants, m_command, m_commandsController,
m_model, m_accessPoint, m_dataTraversal, m_dialog,
- m_modelElementView, m_codeEditor) {
+ m_modelElementView, m_codeEditor, m_i18nUtils) {
return {
initialize : function(fullId) {
var view = new MessageTransformationApplicationView();
-
+ i18nmessageTransformationproperties();
// TODO Unregister!
// In Initializer?
m_commandsController.registerCommandHandler(view);
view.initialize(m_model.findApplication(fullId));
- }
- };
+ }
+ };
+
+
+ function i18nmessageTransformationproperties() {
+
+ $("label[for='guidOutput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.uuid"));
+
+ $("label[for='idOutput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.id"));
+ jQuery("#application")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.applicationName"));
+ jQuery("#description")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.description"));
+ jQuery("#configuration")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.configuration"));
+ jQuery("#sourcemessage")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.messageTransformation.configurationProperties.heading.sourceMessage"));
+ jQuery("#addInputDataButton")
+ .attr(
+ "value",
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.messageTransformation.configurationProperties.sourceMessage.addInput"));
+ jQuery("#filterHighlightedSourceFieldsInput")
+ .attr(
+ "title",
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.messageTransformation.configurationProperties.toolTip.infoMsg"));
+ jQuery("#element")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.element"));
+ jQuery("#type")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.type"));
+ jQuery("#advancedMapping")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.messageTransformation.configurationProperties.sourceMessage.advancedMapping"));
+ jQuery("#targetmessage")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.messageTransformation.configurationProperties.heading.targetMessage"));
+ jQuery("#element1")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.messageTransformation.configurationProperties.targetMessage.element"));
+ jQuery("#type1")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.type"));
+ jQuery("#mapping")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.messageTransformation.configurationProperties.targetMessage.mapping"));
+ jQuery("#problem")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.problem"));
+ jQuery("#addOutputDataButton")
+ .attr(
+ "value",
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.messageTransformation.configurationProperties.targetMessage.addOutput"));
+ jQuery("#filterFieldsWithMappingInput")
+ .attr(
+ "title",
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.messageTransformation.configurationProperties.toolTip.mapping"));
+ jQuery("#filterFieldsWithNoMappingInput")
+ .attr(
+ "title",
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.messageTransformation.configurationProperties.toolTip.noMapping"));
+ jQuery("#filterHighlightedTargetFieldsInput")
+ .attr(
+ "title",
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.messageTransformation.configurationProperties.toolTip.infoMsg"));
+ jQuery("#filterFieldsWithMappingInvalid")
+ .attr(
+ "title",
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.messageTransformation.configurationProperties.toolTip.invalidMapping"));
+ jQuery("#showAllSourceFieldsInput")
+ .attr(
+ "title",
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.messageTransformation.configurationProperties.toolTip.highlighted"));
+ jQuery("#testdata")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.messageTransformation.testProperties.tab"));
+ $("label[for='inputDataTextArea']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.messageTransformation.testProperties.inputData"));
+ $("label[for='outputDataTable']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.messageTransformation.testProperties.outputData"));
+ jQuery("#runButton")
+ .attr(
+ "title",
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.messageTransformation.configurationProperties.runButton"));
+ jQuery("#resetButton")
+ .attr(
+ "title",
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.messageTransformation.configurationProperties.resetButton"));
+
+ }
+
/**
*
@@ -182,13 +308,37 @@ define(
jQuery("#inputDataDialog").dialog({
autoOpen : false,
- draggable : true
- });
+ draggable : true,
+ title : m_i18nUtils
+ .getProperty("modeler.propertyView.messageTransformation.configurationProperties.addInput.popUp")
+ });
+ jQuery("#inputDataDialog #name")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.name"));
+ jQuery("#inputDataDialog #type")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.type"));
+ jQuery("#inputDataDialog #applyButton")
+ .attr(
+ "value",
+ m_i18nUtils
+ .getProperty("modeler.propertyView.messageTransformation.configurationProperties.apply"));
+ jQuery("#inputDataDialog #closeButton")
+ .attr(
+ "value",
+ m_i18nUtils
+ .getProperty("modeler.propertyView.messageTransformation.configurationProperties.close"))
+
+
+ /*Comment*/
jQuery("#inputDataDialog #closeButton").click(function() {
jQuery("#inputDataDialog").dialog("close");
});
+
jQuery("#inputDataDialog #applyButton")
.click(
{
@@ -240,8 +390,29 @@ define(
jQuery("#outputDataDialog").dialog({
autoOpen : false,
- draggable : true
- });
+ draggable : true,
+ title : m_i18nUtils
+ .getProperty("modeler.propertyView.messageTransformation.configurationProperties.addOutput.popUp")
+ });
+ jQuery("#outputDataDialog #name")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.name"));
+ jQuery("#outputDataDialog #type")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.type"));
+
+ jQuery("#outputDataDialog #applyButton")
+ .attr(
+ "value",
+ m_i18nUtils
+ .getProperty("modeler.propertyView.messageTransformation.configurationProperties.apply"));
+ jQuery("#outputDataDialog #closeButton")
+ .attr(
+ "value",
+ m_i18nUtils
+ .getProperty("modeler.propertyView.messageTransformation.configurationProperties.close"));
jQuery("#outputDataDialog #closeButton").click(function() {
jQuery("#outputDataDialog").dialog("close");
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_modelElementCommentsPropertiesPage.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_modelElementCommentsPropertiesPage.js
index 09dec1d..1c9ed00 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_modelElementCommentsPropertiesPage.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_modelElementCommentsPropertiesPage.js
@@ -10,11 +10,13 @@
define(
[ "m_utils", "m_constants", "m_session", "m_commandsController",
- "m_command", "m_propertiesPage", "m_commentsPanel" ],
+ "m_command", "m_propertiesPage", "m_commentsPanel", "m_i18nUtils" ],
function(m_utils, m_constants, m_session, m_commandsController,
- m_command, m_propertiesPage, m_commentsPanel) {
+ m_command, m_propertiesPage, m_commentsPanel, m_i18nUtils) {
return {
create : function(propertiesPanel, id) {
+ // I18N static labels on the page
+ i18nStaticLabels();
var page = new CommentsPropertiesPage(propertiesPanel,
id);
@@ -28,8 +30,10 @@ define(
*
*/
function CommentsPropertiesPage(propertiesPanel, id) {
+
+ var commentsText = m_i18nUtils.getProperty("modeler.element.properties.commonProperties.comments");
var propertiesPage = m_propertiesPage.createPropertiesPage(
- propertiesPanel, id, "Comments",
+ propertiesPanel, id, commentsText,
"../../images/icons/comments-properties-page.png");
m_utils.inheritFields(this, propertiesPage);
@@ -62,8 +66,30 @@ define(
/**
*
*/
- CommentsPropertiesPage.prototype.submitCommentsChanges = function(comments) {
- this.submitChanges(this.assembleChangedObjectFromProperty("comments", comments));
+
+ CommentsPropertiesPage.prototype.submitCommentsChanges = function(comments) {
+ this.submitChanges(this.assembleChangedObjectFromProperty(commentsText, comments));
};
}
+ /**
+ *
+ */
+ function i18nStaticLabels() {
+ jQuery("#commentsHeading").html(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.comments"));
+
+ jQuery("#deleteButton")
+ .attr(
+ "title",
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.delete"));
+ jQuery("#submitButton")
+ .attr(
+ "value",
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.submit"));
+
+ }
+ ;
}); \ No newline at end of file
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_modelElementView.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_modelElementView.js
index 08b7829..d2c4b8e 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_modelElementView.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_modelElementView.js
@@ -3,16 +3,22 @@
*/
define(
[ "m_utils", "m_constants", "m_extensionManager", "m_command",
- "m_commandsController", "m_user", "m_dialog", "m_view" ],
+ "m_commandsController", "m_user", "m_dialog", "m_view", "m_i18nUtils" ],
function(m_utils, m_constants, m_extensionManager, m_command,
- m_commandsController, m_user, m_dialog, m_view) {
+ m_commandsController, m_user, m_dialog, m_view, m_i18nUtils) {
return {
create : function(id) {
var view = new ModelElementView();
-
+ i18modelelement();
return view;
}
};
+
+ function i18modelelement() {
+
+ jQuery("#name").text(m_i18nUtils.getProperty("modeler.element.properties.commonProperties.name"));
+
+ }
/**
*
@@ -38,8 +44,6 @@ define(
this.descriptionTextarea = jQuery("#descriptionTextarea");
this.propertiesTabs = jQuery("#propertiesTabs");
this.propertiesTabsList = jQuery("#propertiesTabsList");
- this.creationDateOutput = jQuery("#creationDateOutput");
- this.lastModificationDateOutput = jQuery("#lastModificationDateOutput");
this.nameInput.change({
"view" : this
@@ -168,23 +172,6 @@ define(
this.nameInput.val(this.modelElement.name);
this.descriptionTextarea.val(this.modelElement.description);
- if (this.modelElement[m_constants.DATE_OF_CREATION]) {
- this.creationDateOutput.empty();
- this.creationDateOutput.append(this.modelElement[m_constants.DATE_OF_CREATION]);
- } else {
- this.creationDateOutput.empty();
- // TODO I18N
- this.creationDateOutput.append("UNKNOWN");
- }
-
- if (this.modelElement[m_constants.DATE_OF_MODIFICATION]) {
- this.lastModificationDateOutput.empty();
- this.lastModificationDateOutput.append(this.modelElement[m_constants.DATE_OF_MODIFICATION]);
- } else {
- this.lastModificationDateOutput.empty();
- // TODO I18N
- this.lastModificationDateOutput.append("UNKNOWN");
- }
if (this.modelElement.attributes == null) {
this.modelElement.attributes = {};
@@ -265,7 +252,7 @@ define(
m_commandsController.submitCommand(m_command
.createUpdateModelElementWithUUIDCommand(this
- .getModel().id, this
+ .getModelElement().model.id, this
.getModelElement().uuid, changes));
};
@@ -378,7 +365,7 @@ define(
if (object && object.changes && object.changes.modified) {
for (var i = 0; i < object.changes.modified.length; i++) {
- if (this.getModelElement().uuid == object.changes.modified[i].uuid) {
+ if (this.getModelElement().oid == object.changes.modified[i].oid) {
m_utils.inheritFields(this.getModelElement(),
object.changes.modified[i]);
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_modelView.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_modelView.js
index 69f2cc3..27b451f 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_modelView.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_modelView.js
@@ -11,14 +11,14 @@
define(
[ "m_utils", "m_extensionManager", "m_communicationController",
"m_command", "m_commandsController", "m_dialog", "m_view",
- "m_model", "m_modelElementView" ],
+ "m_model", "m_modelElementView","m_i18nUtils" ],
function(m_utils, m_extensionManager, m_communicationController,
- m_command, m_commandsController, m_dialog, m_view, m_model, m_modelElementView) {
+ m_command, m_commandsController, m_dialog, m_view, m_model, m_modelElementView,m_i18nUtils) {
return {
initialize : function(modelId) {
var model = m_model.findModel(modelId);
var view = new ModelView();
-
+ i18modelview();
// TODO Make View singleton
m_commandsController.registerCommandHandler(view);
@@ -27,6 +27,66 @@ define(
}
};
+ function i18modelview() {
+ jQuery("#accesscontrol")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.propertyView.modelView.accessControl"));
+ jQuery("#problem")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.problem"));
+ jQuery("#modeltext1")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.propertyView.modelView.modelText"));
+ jQuery("#modeltex2")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.propertyView.modelView.modelText2"));
+ jQuery("#markreadonly")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.propertyView.modelView.markReadonlyLink"));
+ jQuery("#markwritable")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.propertyView.modelView.markWritable"));
+ jQuery("#severity")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.propertyView.modelView.severity"));
+ jQuery("#element")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.element"));
+ jQuery("#description")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.description"));
+ jQuery("#refreshValidationButton")
+ .attr(
+ "title",
+ m_i18nUtils
+ .getProperty("modeler.propertyView.modelView.validationRefresh"));
+ $("label[for='descriptionTextarea']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.description"));
+ $("label[for='lastModificationDateOutput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.propertyView.modelView.lastModificationDate"));
+ $("label[for='creationDateOutput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.propertyView.modelView.creationDateOutput"));
+ $("label[for='nameInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.propertyView.modelView.name"));
+
+ }
/**
*
*/
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_modelerViewLayoutManager.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_modelerViewLayoutManager.js
index 77b9098..7c40af9 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_modelerViewLayoutManager.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_modelerViewLayoutManager.js
@@ -2,8 +2,8 @@
* @author shrikant.gangal
*/
define(
- [ "m_utils", "m_constants", "m_dialog", "m_modelerCanvasController", "m_propertiesPanel", "m_processPropertiesPanel" ],
- function(m_utils, m_constants, m_dialog, m_modelerCanvasController, m_propertiesPanel, m_processPropertiesPanel) {
+ [ "m_utils", "m_constants", "m_dialog", "m_modelerCanvasController", "m_propertiesPanel", "m_processPropertiesPanel","m_i18nUtils" ],
+ function(m_utils, m_constants, m_dialog, m_modelerCanvasController, m_propertiesPanel, m_processPropertiesPanel,m_i18nUtils) {
var innerHeight;
var innerWidth;
var propertiesPaneVisible = false;
@@ -21,6 +21,7 @@ define(
function initialize() {
innerHeight = window.innerHeight;
innerWidth = window.innerWidth;
+ i18nProcessScreen();
$("#modelerDiagramPanelWrapper").css("width",
(innerWidth - HORIZONTAL_SCROLL_OFFSET) + "px").css(
"overflow", "auto");
@@ -36,6 +37,352 @@ define(
initPropertiesPanelCollapseClickHandlers();
}
+
+ function i18nProcessScreen() {
+ jQuery("#basicPropertiesPage div.heading")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.processDefinition.propertyPages.general.heading"));
+ jQuery("#description")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.description"));
+ jQuery("#nameInput")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.name"));
+ jQuery("#processPropertiesPanel div.propertiesPanelTitle")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.processDefinition.propertyPages.processAttachments.titleHeader"));
+ jQuery("#processInterfacePropertiesPage div.heading")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.processInterface"));
+ jQuery("#dataPathPropertiesPage div.heading")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.processDefinition.propertyPages.dataPath.header"));
+
+ // alert(m_i18nUtils.getProperty("modeler.propertyView.processs.dataPath.deleteParameter.title"));
+ jQuery("#deleteParameterDefinitionButton")
+ .attr(
+ "title",
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.delete"));
+ jQuery("#moveParameterDefinitionUpButton")
+ .attr(
+ "title",
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.moveUp"));
+ jQuery("#moveParameterDefinitionDownButton")
+ .attr(
+ "title",
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.moveDown"));
+
+ jQuery(
+ "#dataPathPropertiesPage input.addParameterDefinitionButton")
+ .attr(
+ "title",
+ m_i18nUtils
+ .getProperty("modeler.processDefinition.propertyPages.dataPath.addButton.title"));
+
+ $("label[for='defaultPriorityInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.processDefinition.propertyPages.general.defaultProperty"));
+
+ $(
+ "#dataPathPropertiesPage label[for='parameterDefinitionNameInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.name"));
+ $(
+ "#dataPathPropertiesPage label[for='parameterDefinitionDirectionSelect']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.direction"));
+ $(
+ "#dataPathPropertiesPage label[for='parameterDefinitionDescriptorInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.processDefinition.propertyPages.dataPath.descriptor"));
+
+ $(
+ "#dataPathPropertiesPage label[for='parameterDefinitionKeyDescriptorInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.processDefinition.propertyPages.dataPath.keyDescriptor"));
+ $(
+ "#dataPathPropertiesPage label[for='parameterDefinitionDataSelect']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.data"));
+ $(
+ "#dataPathPropertiesPage label[for='parameterDefinitionPathInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.processDefinition.propertyPages.dataPath.pathInput"));
+
+ $("#displayPropertiesPage label[for='auxiliaryProcessInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.processDefinition.propertyPages.display.auxiliaryValue"));
+ jQuery("#displayPropertiesPage div.heading")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.propertyPages.commonProperties.display"));
+ jQuery("#addParameterDefinitionButton")
+ .attr(
+ "title",
+ m_i18nUtils
+ .getProperty("modeler.processDefinition.propertyPages.dataPath.addButton.title"));
+
+ jQuery("#participantdata")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.propertyView.processs.processDefinition.participant"));
+ jQuery("#datadesc")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.propertyView.processs.processDefinition.description"));
+ jQuery("#dataname")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.name"));
+
+ $(
+ "#dataPathPropertiesPage label[for='targetProcessingTimeInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.name"));
+
+
+ $(
+ "#basicPropertiesPage label[for='nameInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.name"));
+
+
+ $("#displayPropertiesPage label[for='auxiliaryActivityInput']").text(m_i18nUtils.getProperty("modeler.activity.propertyPages.display.isAuxiliaryActivity"));
+
+
+ $("#datatableid")
+ .find(
+ "#primitiveDataTypeRow label[for='primitiveDataTypeSelect']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.primitiveType"));
+ $("#datatableid")
+ .find("#datatypeid label[for='dataTypeSelect']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.dataType"));
+
+ $("#datatableid")
+ .find(
+ "#primitiveDefaultTextInputRow label[for='primitiveDefaultTextInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.propertyView.createPrimitiveData.dataTypeProperties.defaultValue"));
+ $("#datatableid")
+ .find(
+ "#primitiveDefaultCheckboxInputRow label[for='primitiveDefaultCheckboxInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.propertyView.createPrimitiveData.dataTypeProperties.defaultValue"));
+
+ jQuery("#activityheading")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.activity.propertyPages.title"));
+
+ $("#activitydescription label[for='descriptionInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.description"));
+
+ var primitiveDataTypeSelect = $("#datatableid").find(
+ "#primitiveDataTypeRow").find(
+ "#primitiveDataTypeSelect");
+
+ var selectdata = m_i18nUtils
+ .getProperty("modeler.propertyView.dataTypeProperties.dataTypeSelect.string");
+ primitiveDataTypeSelect.append("<option value=\"String\">"
+ + selectdata + "</option>");
+
+ selectdata = m_i18nUtils
+ .getProperty("modeler.propertyView.dataTypeProperties.dataTypeSelect.boolean");
+ primitiveDataTypeSelect.append("<option value=\"boolean\">"
+ + selectdata + "</option>");
+
+ selectdata = m_i18nUtils
+ .getProperty("modeler.propertyView.dataTypeProperties.dataTypeSelect.int");
+ primitiveDataTypeSelect.append("<option value=\"int\">"
+ + selectdata + "</option>");
+
+ selectdata = m_i18nUtils
+ .getProperty("modeler.propertyView.dataTypeProperties.dataTypeSelect.long");
+ primitiveDataTypeSelect.append("<option value=\"long\">"
+ + selectdata + "</option>");
+
+ selectdata = m_i18nUtils
+ .getProperty("modeler.propertyView.dataTypeProperties.dataTypeSelect.double");
+ primitiveDataTypeSelect.append("<option value=\"double\">"
+ + selectdata + "</option>");
+
+ selectdata = m_i18nUtils
+ .getProperty("modeler.propertyView.dataTypeProperties.dataTypeSelect.decimal");
+ primitiveDataTypeSelect.append("<option value=\"Decimal\">"
+ + selectdata + "</option>");
+
+ selectdata = m_i18nUtils
+ .getProperty("modeler.propertyView.dataTypeProperties.dataTypeSelect.calender");
+ primitiveDataTypeSelect.append("<option value=\"Calendar\">"
+ + selectdata + "</option>");
+
+ $("#datapublicvisibility")
+ .find("label[for='publicVisibilityCheckbox']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.publicVisibility"));
+ $("#datadescription")
+ .find("label[for='descriptionInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.description"));
+ $("#dataname")
+ .find("label[for='nameInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.name"));
+ $("#dataopendataview")
+ .find("#viewLink")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.diagram.toolbar.tool.data.openDataView"));
+
+ $("#startEventPanel")
+ .find("label[for='eventTypeSelectInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.diagram.toolbar.tool.startEvent.eventType"));
+ $("#annotationdesc")
+ .find("label[for='descriptionInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.description"));
+ $("#annotationName")
+ .find("label[for='nameInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.name"));
+
+ jQuery("#event")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.diagram.toolbar.tool.event.title"));
+ jQuery("#annotationheading")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.diagram.toolbar.tool.annotation.title"));
+
+ $("#gatewayName label[for='nameInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.name"));
+ $("#gatewayDesc label[for='descriptionInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.description"));
+ $("#gatewaytypeinputselect label[for='gatewayTypeInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.diagram.toolbar.tool.gateway.type"));
+
+ var gatewayTypeInputselect = jQuery("#gatewayTypeInput");
+
+ selectdata = m_i18nUtils.getProperty("modeler.diagram.toolbar.tool.gateway.typeSelect.and");
+ gatewayTypeInputselect.append("<option value=\"and\">"+selectdata+"</option>" );
+
+ selectdata = m_i18nUtils.getProperty("modeler.diagram.toolbar.tool.gateway.typeSelect.xor");
+ gatewayTypeInputselect.append("<option value=\"xor\">"+selectdata+"</option>" );
+
+
+
+ var processdefinationselect = $("#processdefinationselect").find("#processInterfaceTypeSelectInput");
+
+ selectdata = m_i18nUtils.getProperty("modeler.processdefination.propertyPages.processInterface.type.noProcessInterface");
+ processdefinationselect.append("<option value=\"noProcessInterface\">"+selectdata+"</option>" );
+
+ selectdata = m_i18nUtils
+ .getProperty("modeler.diagram.toolbar.tool.gateway.typeSelect.and");
+ gatewayTypeInputselect.append("<option value=\"and\">"
+ + selectdata + "</option>");
+
+ selectdata = m_i18nUtils
+ .getProperty("modeler.diagram.toolbar.tool.gateway.typeSelect.xor");
+ gatewayTypeInputselect.append("<option value=\"xor\">"
+ + selectdata + "</option>");
+
+ var processdefinationselect = $("#processdefinationselect")
+ .find("#processInterfaceTypeSelectInput");
+
+ selectdata = m_i18nUtils
+ .getProperty("modeler.processdefination.propertyPages.processInterface.type.noProcessInterface");
+ processdefinationselect
+ .append("<option value=\"noProcessInterface\">"
+ + selectdata + "</option>");
+
+ selectdata = m_i18nUtils
+ .getProperty("modeler.processdefination.propertyPages.processInterface.type.providesProcessInterface");
+ processdefinationselect
+ .append("<option value=\"providesProcessInterface\">"
+ + selectdata + "</option>");
+
+ selectdata = m_i18nUtils
+ .getProperty("modeler.processdefination.propertyPages.processInterface.type.implementsProcessInterface");
+ processdefinationselect
+ .append("<option value=\"implementsProcessInterface\">"
+ + selectdata + "</option>");
+
+ $("#processdefinationselect")
+ .find("label[for='processInterfaceTypeSelectInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.type"));
+
+
+ var directionSelect = $("#parameterDefinitionTypeSelector").find("#parameterDefinitionDirectionSelect");
+
+ selectdata = m_i18nUtils.getProperty("modeler.element.properties.commonProperties.in");
+ directionSelect.append("<option value=\"providesProcessInterface\">"+ selectdata + "</option>");
+
+ selectdata = m_i18nUtils.getProperty("modeler.element.properties.commonProperties.out");
+ directionSelect.append("<option value=\"implementsProcessInterface\">"+ selectdata + "</option>");
+
+ directionSelect = $("#directionlistTable").find("#parameterDefinitionDirectionSelect");
+
+ selectdata = m_i18nUtils.getProperty("modeler.element.properties.commonProperties.in");
+ directionSelect.append("<option value=\"providesProcessInterface\">"+ selectdata + "</option>");
+
+ selectdata = m_i18nUtils.getProperty("modeler.element.properties.commonProperties.out");
+ directionSelect.append("<option value=\"implementsProcessInterface\">"+ selectdata + "</option>");
+
+
+ jQuery("#gatewayid")
+ .text(m_i18nUtils.getProperty("modeler.element.properties.commonProperties.gateway"));
+
+ jQuery("#dataid")
+ .text(m_i18nUtils.getProperty("modeler.element.properties.commonProperties.data"));
+
+
+
+
+ }
+
function hidePropertiesPane() {
if (true == propertiesPaneVisible) {
propertiesPaneVisible = false;
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_organizationView.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_organizationView.js
index 551f8d5..86bd03a 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_organizationView.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_organizationView.js
@@ -10,13 +10,13 @@
define(
[ "m_utils", "m_constants", "m_command", "m_commandsController",
- "m_dialog", "m_modelElementView", "m_model"],
+ "m_dialog", "m_modelElementView", "m_model","m_i18nUtils"],
function(m_utils, m_constants, m_command, m_commandsController,
- m_dialog, m_modelElementView, m_model) {
+ m_dialog, m_modelElementView, m_model,m_i18nUtils) {
return {
initialize : function(fullId) {
var organization = m_model.findParticipant(fullId);
-
+ i18nOrganizationview();
m_utils.debug("===> Organization");
m_utils.debug(organization);
@@ -27,9 +27,86 @@ define(
m_commandsController.registerCommandHandler(view);
view.initialize(organization);
+
}
};
+
+ function i18nOrganizationview() {
+
+ $("label[for='guidOutput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.uuid"));
+
+ $("label[for='idOutput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.id"));
+
+
+ $("label[for='nameInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.organization.organizationName"));
+ $("label[for='descriptionTextarea']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.description"));
+ $("label[for='publicVisibilityCheckbox']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.publicVisibility"));
+ $("label[for='supportsDepartmentsCheckbox']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.organization.supportDepartment"));
+ $("label[for='departmentDataSelect']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.data"));
+ $("label[for='departmentDataPathInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.dataPath"));
+ $("label[for='leaderSelect']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.organization.leader"));
+ $("label[for='chooseAssignmentRadio']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.organization.assignment"));
+ $("label[for='assignAutomaticallyRadio']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.assignAutomatically"));
+ $("label[for='costCenterInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.organization.costCenter"));
+ jQuery("#deptartment")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.organization.department"));
+ jQuery("#teamlead")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.organization.teamLead"));
+ jQuery("#activityassignment")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.role.activityAssignment"));
+ jQuery("#controlling")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.role.controlling"));
+ jQuery("#basicPropertiesPage div.heading")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.processDefinition.propertyPages.general.heading"));
+ }
+
/**
*
*/
@@ -299,8 +376,9 @@ define(
this.departmentDataSelect.append("<option value='"
+ m_constants.TO_BE_DEFINED
+ "'>(To be defined)</option>");
+ var modellabel = m_i18nUtils.getProperty("modeler.element.properties.commonProperties.thisModel");
this.departmentDataSelect
- .append("<optgroup label=\"This Model\">");
+ .append("<optgroup label=\""+modellabel+"\">");
for ( var i in this.getModelElement().model.dataItems) {
var dataItem = this.getModelElement().model.dataItems[i];
@@ -310,8 +388,9 @@ define(
+ "</option>");
}
+ modellabel = m_i18nUtils.getProperty("modeler.element.properties.commonProperties.otherModel");
this.departmentDataSelect
- .append("</optgroup><optgroup label=\"Other Models\">");
+ .append("</optgroup><optgroup label=\""+modellabel+"\">");
for ( var n in m_model.getModels()) {
if (this.getModelElement().model == m_model.getModels()[n]) {
@@ -364,8 +443,11 @@ define(
*/
OrganizationView.prototype.populateLeaderSelectInput = function() {
this.leaderSelect.empty();
+ var dataNone = m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.none")
+ ;
this.leaderSelect.append("<option value='"
- + m_constants.TO_BE_DEFINED + "'>(None)</option>");
+ + m_constants.TO_BE_DEFINED + "'>("+dataNone+")</option>");
for ( var i in this.getModelElement().model.participants) {
var participant = this.getModelElement().model.participants[i];
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_outline.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_outline.js
index 758f1be..aaf0ded 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_outline.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_outline.js
@@ -3,7 +3,7 @@
* 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: SunGard CSA LLC - initial API and implementation and/or initial
* documentation
******************************************************************************/
@@ -37,6 +37,11 @@ define(
var readAllModels = function(force) {
m_model.loadModels(force);
+
+
+
+ jQuery("#lastsave").text(m_i18nUtils.getProperty("modeler.outline.lastSavedMessage.title"));
+
jQuery
.each(
@@ -369,6 +374,7 @@ define(
window.open("../public/reportTest.html?modelId=" + model.id);
}
+
// TODO Is this still needed? Delete after verifying
var elementCreationHandler = function(id, name, type, parent) {
if (type == 'activity') {
@@ -1058,7 +1064,7 @@ define(
contextmenu : {
"items" : function(node) {
if ('model' == node.attr('rel')) {
- return {
+ return {
"ccp" : false,
"create" : false,
"rename" : {
@@ -1075,7 +1081,7 @@ define(
},
"deleteModel" : {
"label" : m_i18nUtils
- .getProperty("modeler.outline.contextMenu.delete"),
+ .getProperty("modeler.element.properties.commonProperties.delete"),
"action" : function(obj) {
deleteElementAction(
obj.context.lastChild.data,
@@ -1102,14 +1108,14 @@ define(
}
},
"download" : {
- "label" : "Download Model",
+ "label" : m_i18nUtils.getProperty("modeler.outline.model.contextMenu.download"),
"action" : function(obj) {
downloadModel(obj
.attr("id"));
}
},
"openModelReport" : {
- "label" : "Open Model Report",
+ "label" : m_i18nUtils.getProperty("modeler.outline.model.contextMenu.openModelReport"),
"action" : function(obj) {
openModelReport(obj
.attr("id"));
@@ -1122,7 +1128,7 @@ define(
"ccp" : false,
"create" : false,
"rename" : {
- "label" : "Rename",
+ "label" : m_i18nUtils.getProperty("modeler.outline.contextMenu.rename"),
"action" : function(obj) {
jQuery("#outline")
.jstree(
@@ -1133,7 +1139,7 @@ define(
}
},
"deleteProcess" : {
- "label" : "Delete",
+ "label" : m_i18nUtils.getProperty("modeler.element.properties.commonProperties.delete"),
"action" : function(obj) {
deleteElementAction(
obj.context.lastChild.data,
@@ -1155,28 +1161,28 @@ define(
"create" : false,
"rename" : false,
"createWebServiceApplication" : {
- "label" : "Create Web Service",
+ "label" : m_i18nUtils.getProperty("modeler.outline.applications.contextMenu.createWebService"),
"action" : function(obj) {
createWebServiceApplication(obj
.attr("modelUUID"));
}
},
"createMessageTransformationApplication" : {
- "label" : "Create Transformation",
+ "label" : m_i18nUtils.getProperty("modeler.outline.applications.contextMenu.createTransformation"),
"action" : function(obj) {
createMessageTransformationApplication(obj
.attr("modelUUID"));
}
},
"createCamelApplication" : {
- "label" : "Create Camel Route",
+ "label" : m_i18nUtils.getProperty("modeler.outline.applications.contextMenu.createCamelRoute"),
"action" : function(obj) {
createCamelApplication(obj
.attr("modelUUID"));
}
},
"createUiMashupApplication" : {
- "label" : "Create UI Mashup",
+ "label" : m_i18nUtils.getProperty("modeler.outline.applications.contextMenu.createUIMashup"),
"action" : function(obj) {
createUiMashupApplication(obj
.attr("modelUUID"));
@@ -1190,21 +1196,21 @@ define(
"create" : false,
"rename" : false,
"createPrimitiveData" : {
- "label" : "Create Primitive Data",
+ "label" : m_i18nUtils.getProperty("modeler.outline.data.contextMenu.createPrimitiveData"),
"action" : function(obj) {
createPrimitiveData(obj
.attr("modelUUID"));
}
},
"createDocumentData" : {
- "label" : "Create Document",
+ "label" : m_i18nUtils.getProperty("modeler.outline.data.contextMenu.createDocument"),
"action" : function(obj) {
createDocumentData(obj
.attr("modelUUID"));
}
},
"createStructuredData" : {
- "label" : "Create Structured Data",
+ "label" : m_i18nUtils.getProperty("modeler.outline.data.contextMenu.createStructuredData"),
"action" : function(obj) {
createStructuredData(obj
.attr("modelUUID"));
@@ -1218,7 +1224,7 @@ define(
"ccp" : false,
"create" : false,
"rename" : {
- "label" : "Rename",
+ "label" : m_i18nUtils.getProperty("modeler.outline.contextMenu.rename"),
"action" : function(obj) {
jQuery("#outline")
.jstree(
@@ -1229,7 +1235,7 @@ define(
}
},
"deleteData" : {
- "label" : "Delete",
+ "label" : m_i18nUtils.getProperty("modeler.element.properties.commonProperties.delete"),
"action" : function(obj) {
deleteElementAction(
obj.context.lastChild.data,
@@ -1250,21 +1256,21 @@ define(
"create" : false,
"rename" : false,
"createRole" : {
- "label" : "Create Role",
+ "label" : m_i18nUtils.getProperty("modeler.outline.participants.contextMenu.createRole"),
"action" : function(obj) {
createRole(obj
.attr("modelUUID"));
}
},
"createOrganization" : {
- "label" : "Create Organization",
+ "label" :m_i18nUtils.getProperty("modeler.outline.participants.contextMenu.createOrganization"),
"action" : function(obj) {
createOrganization(obj
.attr("modelUUID"));
}
},
"createConditionalPerformer" : {
- "label" : "Create Conditional Performer",
+ "label" : m_i18nUtils.getProperty("modeler.outline.participants.contextMenu.createConditionalPerformer"),
"action" : function(obj) {
createConditionalPerformer(obj
.attr("modelUUID"));
@@ -1278,7 +1284,7 @@ define(
"ccp" : false,
"create" : false,
"rename" : {
- "label" : "Rename",
+ "label" : m_i18nUtils.getProperty("modeler.outline.contextMenu.rename"),
"action" : function(obj) {
jQuery("#outline")
.jstree(
@@ -1306,7 +1312,7 @@ define(
// }
// },
"deleteApplication" : {
- "label" : "Delete",
+ "label" : m_i18nUtils.getProperty("modeler.element.properties.commonProperties.delete"),
"action" : function(obj) {
deleteElementAction(
obj.context.lastChild.data,
@@ -1327,14 +1333,14 @@ define(
"create" : false,
"rename" : false,
"createXSDStructuredDataType" : {
- "label" : "Create Data Type",
+ "label" : m_i18nUtils.getProperty("modeler.outline.structureDataType.contextMenu.createDataType"),
"action" : function(obj) {
createXsdStructuredDataType(obj
.attr("modelUUID"));
}
},
importTypeDeclarations : {
- "label" : "Import Type Declarations",
+ "label" : m_i18nUtils.getProperty("modeler.outline.structureDataType.contextMenu.importTypeDeclarations"),
"action" : function(obj) {
var model = m_model
.findModelByUuid(obj
@@ -1350,7 +1356,7 @@ define(
"ccp" : false,
"create" : false,
"rename" : {
- "label" : "Rename",
+ "label" : m_i18nUtils.getProperty("modeler.outline.contextMenu.rename"),
"action" : function(obj) {
jQuery("#outline")
.jstree(
@@ -1361,7 +1367,7 @@ define(
}
},
"deleteStructuredDataType" : {
- "label" : "Delete",
+ "label" : m_i18nUtils.getProperty("modeler.element.properties.commonProperties.delete"),
"action" : function(obj) {
deleteElementAction(
obj.context.lastChild.data,
@@ -1383,7 +1389,7 @@ define(
"ccp" : false,
"create" : false,
"rename" : {
- "label" : "Rename",
+ "label" : m_i18nUtils.getProperty("modeler.outline.contextMenu.rename"),
"action" : function(obj) {
jQuery("#outline")
.jstree(
@@ -1394,7 +1400,7 @@ define(
}
},
"deleteParticipant" : {
- "label" : "Delete",
+ "label" : m_i18nUtils.getProperty("modeler.element.properties.commonProperties.delete"),
"action" : function(obj) {
deleteElementAction(
obj.context.lastChild.data,
@@ -1408,7 +1414,7 @@ define(
}
},
"setAsManager" : {
- "label" : "Set As Manager",
+ "label" : m_i18nUtils.getProperty("modeler.outline.participants.role.contextMenu.setAsManager"),
"_disabled" : ((undefined == node
.attr("parentUUID")) || ('teamLeader' == node
.attr('rel'))),
@@ -1429,7 +1435,7 @@ define(
"ccp" : false,
"create" : false,
"rename" : {
- "label" : "Rename",
+ "label" : m_i18nUtils.getProperty("modeler.outline.contextMenu.rename"),
"action" : function(obj) {
jQuery("#outline")
.jstree(
@@ -1440,7 +1446,7 @@ define(
}
},
"deleteParticipant" : {
- "label" : "Delete",
+ "label" : m_i18nUtils.getProperty("modeler.element.properties.commonProperties.delete"),
"action" : function(obj) {
deleteElementAction(
obj.context.lastChild.data,
@@ -1460,7 +1466,7 @@ define(
"ccp" : false,
"create" : false,
"rename" : {
- "label" : "Rename",
+ "label" : m_i18nUtils.getProperty("modeler.outline.contextMenu.rename"),
"action" : function(obj) {
jQuery("#outline")
.jstree(
@@ -1471,7 +1477,7 @@ define(
}
},
"deleteParticipant" : {
- "label" : "Delete",
+ "label" : m_i18nUtils.getProperty("modeler.element.properties.commonProperties.delete"),
"action" : function(obj) {
deleteElementAction(
obj.context.lastChild.data,
@@ -1485,7 +1491,7 @@ define(
}
},
"createRole" : {
- "label" : "Create Role",
+ "label" : m_i18nUtils.getProperty("modeler.outline.participants.contextMenu.createRole"),
"action" : function(obj) {
createRole(
obj
@@ -1495,7 +1501,7 @@ define(
}
},
"createOrganization" : {
- "label" : "Create Organization",
+ "label" : m_i18nUtils.getProperty("modeler.outline.data.contextMenu.createOrganization"),
"action" : function(obj) {
createOrganization(
obj
@@ -1714,7 +1720,7 @@ define(
};
/**
- *
+ *
*/
function prepareInfoDialogPoupupData(msg, okText) {
return {
@@ -1732,7 +1738,7 @@ define(
}
/**
- *
+ *
*/
function prepareErrorDialogPoupupData(msg, okText) {
return {
@@ -1750,14 +1756,16 @@ define(
}
/**
- *
+ *
*/
function createModel() {
+ var modelName = m_i18nUtils.getProperty("modeler.element.properties.commonProperties.model");
var count = 0;
- var name = 'Model ' + (++count);
+ var name = modelName+" " + (++count);
+ //alert(name);
var id = m_utils.generateIDFromName(name);
while (m_model.findModel(id)) {
- name = 'Model ' + (++count);
+ name = modelName+" "+ (++count);
id = m_utils.generateIDFromName(name);
}
@@ -1770,7 +1778,7 @@ define(
}
/**
- *
+ *
*/
function deleteModel(modelId) {
var model = m_model.findModel(modelId);
@@ -1779,7 +1787,7 @@ define(
}
/**
- *
+ *
*/
function getUniqueNameForElement(modelId, namePrefix) {
var suffix = 0;
@@ -1792,12 +1800,12 @@ define(
var id = m_utils.generateIDFromName(name);
}
}
-
+
return name;
}
/**
- *
+ *
*/
function createProcess(modelId) {
var name = getUniqueNameForElement(modelId, "Process ");
@@ -1812,7 +1820,7 @@ define(
}
/**
- *
+ *
*/
function deleteProcess(processId, modelUUID) {
var model = m_model.findModelByUuid(modelUUID);
@@ -1834,7 +1842,7 @@ define(
}
/**
- *
+ *
*/
function deleteParticipant(modelUUID, id) {
var model = m_model.findModelByUuid(modelUUID);
@@ -1846,7 +1854,7 @@ define(
}
/**
- *
+ *
*/
function deleteApplication(modelUUID, appId) {
var model = m_model.findModelByUuid(modelUUID);
@@ -1858,7 +1866,7 @@ define(
}
/**
- *
+ *
*/
function deleteData(modelUUID, id) {
var model = m_model.findModelByUuid(modelUUID);
@@ -1899,12 +1907,13 @@ define(
}
/**
- *
+ *
*/
function createPrimitiveData(modelUUId) {
var model = m_model.findModelByUuid(modelUUId);
+ var titledata = m_i18nUtils.getProperty("modeler.outline.newPrimitivedata.namePrefix");
var name = getUniqueNameForElement(model.id,
- "Primitive Data ");
+ titledata);
var id = m_utils.generateIDFromName(name);
m_commandsController
@@ -1921,12 +1930,13 @@ define(
}
/**
- *
+ *
*/
function createDocumentData(modelUUId) {
var model = m_model.findModelByUuid(modelUUId);
+ var titledata = m_i18nUtils.getProperty("modeler.outline.newDocumentdata.namePrefix");
var name = getUniqueNameForElement(model.id,
- "Document data ");
+ titledata);
var id = m_utils.generateIDFromName(name);
m_commandsController.submitCommand(m_command
@@ -1939,12 +1949,13 @@ define(
}
/**
- *
+ *
*/
function createStructuredData(modelUUId) {
var model = m_model.findModelByUuid(modelUUId);
+ var titledata = m_i18nUtils.getProperty("modeler.outline.newStructureddata.namePrefix");
var name = getUniqueNameForElement(model.id,
- "Structured Data ");
+ titledata);
var id = m_utils.generateIDFromName(name);
var fullId = model.id + ":" + id;
@@ -1959,11 +1970,12 @@ define(
}
/**
- *
+ *
*/
function createRole(modelUUId, targetUUID) {
var model = m_model.findModelByUuid(modelUUId);
- var name = getUniqueNameForElement(model.id, "Role ");
+ var titledata = m_i18nUtils.getProperty("modeler.outline.newRole.namePrefix");
+ var name = getUniqueNameForElement(model.id, titledata);
var id = m_utils.generateIDFromName(name);
var targetOid = (targetUUID ? m_model
.findElementInModelByUuid(model.id, targetUUID).oid
@@ -1978,12 +1990,13 @@ define(
}
/**
- *
+ *
*/
function createConditionalPerformer(modelUUId, targetUUID) {
var model = m_model.findModelByUuid(modelUUId);
+ var titledata = m_i18nUtils.getProperty("modeler.outline.newConditionalperformer.namePrefix");
var name = getUniqueNameForElement(model.id,
- "Conditional Performer ");
+ titledata);
var id = m_utils.generateIDFromName(name);
var targetOid = (targetUUID ? m_model
.findElementInModelByUuid(model.id, targetUUID).oid
@@ -1999,7 +2012,7 @@ define(
}
/**
- *
+ *
*/
function setAsManager(modelUUId, orgUUID, roleUUID) {
var model = m_model.findModelByUuid(modelUUId);
@@ -2015,12 +2028,13 @@ define(
}
/**
- *
+ *
*/
function createOrganization(modelUUId, targetUUID) {
var model = m_model.findModelByUuid(modelUUId);
+ var titledata = m_i18nUtils.getProperty("modeler.outline.newOrganization.namePrefix");
var name = getUniqueNameForElement(model.id,
- "Organization ");
+ titledata);
var id = m_utils.generateIDFromName(name);
var targetOid = (targetUUID ? m_model
.findElementInModelByUuid(model.id, targetUUID).oid
@@ -2036,11 +2050,12 @@ define(
}
/**
- *
+ *
*/
function createWebServiceApplication(modelUUId) {
var model = m_model.findModelByUuid(modelUUId);
- var name = getUniqueNameForElement(model.id, "Web Service ");
+ var titledata = m_i18nUtils.getProperty("modeler.outline.newWebservice.namePrefix");
+ var name = getUniqueNameForElement(model.id, titledata);
var id = m_utils.generateIDFromName(name);
m_commandsController.submitCommand(m_command
@@ -2053,12 +2068,13 @@ define(
}
/**
- *
+ *
*/
function createMessageTransformationApplication(modelUUId) {
var model = m_model.findModelByUuid(modelUUId);
+ var titledata = m_i18nUtils.getProperty("modeler.outline.newMsgTransformation.namePrefix");
var name = getUniqueNameForElement(model.id,
- "Message Transformation ");
+ titledata);
var id = m_utils.generateIDFromName(name);
m_commandsController.submitCommand(m_command
@@ -2071,11 +2087,12 @@ define(
}
/**
- *
+ *
*/
function createCamelApplication(modelUUId) {
var model = m_model.findModelByUuid(modelUUId);
- var name = getUniqueNameForElement(model.id, "Camel Route ");
+ var titledata = m_i18nUtils.getProperty("modeler.outline.newCamelroute.namePrefix");
+ var name = getUniqueNameForElement(model.id, titledata);
var id = m_utils.generateIDFromName(name);
m_commandsController.submitCommand(m_command
@@ -2087,11 +2104,12 @@ define(
}
/**
- *
+ *
*/
function createUiMashupApplication(modelUUId) {
var model = m_model.findModelByUuid(modelUUId);
- var name = getUniqueNameForElement(model.id, "UI Mashup ");
+ var titledata = m_i18nUtils.getProperty("modeler.outline.newUimashup.namePrefix");
+ var name = getUniqueNameForElement(model.id, titledata);
var id = m_utils.generateIDFromName(name);
m_commandsController.submitCommand(m_command
@@ -2104,14 +2122,15 @@ define(
}
/**
- *
+ *
* @param modelId
* @returns
*/
function createXsdStructuredDataType(modelUUId) {
var model = m_model.findModelByUuid(modelUUId);
+ var titledata = m_i18nUtils.getProperty("modeler.outline.newXsddatastructure.namePrefix");
var name = getUniqueNameForElement(model.id,
- "XSD Data Structure ");
+ titledata);
var id = m_utils.generateIDFromName(name);
m_commandsController.submitCommand(m_command
@@ -2124,7 +2143,7 @@ define(
}
/**
- *
+ *
* @param modelId
* @param id
* @returns
@@ -2154,7 +2173,7 @@ define(
}
/**
- *
+ *
* @param modelId
* @param id
* @returns
@@ -2196,8 +2215,33 @@ define(
"title",
m_i18nUtils
.getProperty("modeler.outline.toolbar.tooltip.createModel"));
- // TODO add other outline tooltip labels here.
- };
+ jQuery("#importModel")
+ .attr(
+ "title",
+ m_i18nUtils
+ .getProperty("modeler.outline.toolbar.tooltip.importModel"));
+ jQuery("#undoChange")
+ .attr(
+ "title",
+ m_i18nUtils
+ .getProperty("modeler.outline.toolbar.tooltip.undo"));
+ jQuery("#redoChange")
+ .attr(
+ "title",
+ m_i18nUtils
+ .getProperty("modeler.outline.toolbar.tooltip.redo"));
+ jQuery("#saveAllModels")
+ .attr(
+ "title",
+ m_i18nUtils
+ .getProperty("modeler.outline.toolbar.tooltip.saveAllModel"));
+ jQuery("#refreshModels")
+ .attr(
+ "title",
+ m_i18nUtils
+ .getProperty("modeler.outline.toolbar.tooltip.refreshModels"));
+
+ };
var outline;
@@ -2222,18 +2266,18 @@ define(
};
/**
- *
+ *
*/
function Outline() {
/**
- *
+ *
*/
Outline.prototype.toString = function() {
return "Lightdust.Outline";
};
/**
- *
+ *
*/
Outline.prototype.initialize = function() {
// Register with Event Bus
@@ -2242,7 +2286,7 @@ define(
};
/**
- *
+ *
*/
Outline.prototype.openElementView = function(element, openView) {
if (isElementCreatedViaOutline || openView) {
@@ -2264,14 +2308,14 @@ define(
}
/**
- *
+ *
*/
Outline.prototype.fireCloseViewCommand = function(uuid) {
viewManager.closeViewsForElement(uuid);
}
/**
- *
+ *
*/
Outline.prototype.processCommand = function(command) {
m_utils.debug("===> Outline Process Event");
@@ -2492,12 +2536,14 @@ define(
}
/**
- *
+ *
*/
- Outline.prototype.createModel = function(data) {
+ Outline.prototype.createModel = function(data) {
var outlineObj = this;
var model = m_model.createModel(data.id, data.name,
data.uuid);
+
+
jQuery("#outline").jstree("create", "#outline", "last", {
"attr" : {
"elementId" : data.id,
@@ -2563,7 +2609,7 @@ define(
}
/**
- *
+ *
*/
Outline.prototype.deleteModel = function(transferObject) {
m_model.deleteModel(transferObject.id);
@@ -2572,7 +2618,7 @@ define(
}
/**
- *
+ *
*/
Outline.prototype.deleteProcess = function(transferObject) {
jQuery("#outline").jstree("remove",
@@ -2583,7 +2629,7 @@ define(
}
/**
- *
+ *
*/
Outline.prototype.deleteApplication = function(transferObject) {
jQuery("#outline").jstree("remove",
@@ -2594,7 +2640,7 @@ define(
}
/**
- *
+ *
*/
Outline.prototype.deleteParticipant = function(transferObject) {
jQuery("#outline").jstree("remove",
@@ -2606,7 +2652,7 @@ define(
}
/**
- *
+ *
*/
Outline.prototype.deleteTypeDeclaration = function(
transferObject) {
@@ -2620,7 +2666,7 @@ define(
}
/**
- *
+ *
*/
Outline.prototype.deleteData = function(transferObject) {
jQuery("#outline").jstree("remove",
@@ -2631,7 +2677,7 @@ define(
}
/**
- *
+ *
*/
Outline.prototype.createProcess = function(transferObject) {
var model = m_model.findModel(transferObject.modelId);
@@ -2658,7 +2704,7 @@ define(
};
/**
- *
+ *
*/
Outline.prototype.createApplication = function(transferObject) {
var model = m_model.findModel(transferObject.modelId);
@@ -2684,7 +2730,7 @@ define(
};
/**
- *
+ *
*/
Outline.prototype.createData = function(transferObject) {
var model = m_model
@@ -2710,7 +2756,7 @@ define(
};
/**
- *
+ *
*/
Outline.prototype.createStructuredDataType = function(
transferObject) {
@@ -2737,7 +2783,7 @@ define(
};
/**
- *
+ *
*/
Outline.prototype.createParticipant = function(transferObject) {
var model = m_model
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_parameterDefinitionsPanel.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_parameterDefinitionsPanel.js
index ae05590..70a24e9 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_parameterDefinitionsPanel.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_parameterDefinitionsPanel.js
@@ -5,9 +5,9 @@
*/
define(
[ "m_utils", "m_constants", "m_extensionManager", "m_model", "m_typeDeclaration",
- "m_dialog", "m_dataTypeSelector" ],
+ "m_dialog", "m_dataTypeSelector","m_i18nUtils" ],
function(m_utils, m_constants, m_extensionManager, m_model, m_typeDeclaration, m_dialog,
- m_dataTypeSelector) {
+ m_dataTypeSelector,m_i18nUtils) {
return {
create : function(options) {
var panel = new ParameterDefinitionsPanel();
@@ -364,8 +364,9 @@ define(
this.parameterDefinitionDataSelect
.append("<option value=\"TO_BE_DEFINED\">(To be defined))</option>");
+ var modelname = m_i18nUtils.getProperty("modeler.element.properties.commonProperties.thisModel");
this.parameterDefinitionDataSelect
- .append("<optgroup label=\"This Model\">");
+ .append("<optgroup label=\""+modelname+"\">");
for ( var i in this.scopeModel.dataItems) {
var dataItem = this.scopeModel.dataItems[i];
@@ -376,8 +377,9 @@ define(
+ dataItem.name + "</option>");
}
+ var othermodel = m_i18nUtils.getProperty("modeler.element.properties.commonProperties.otherModel")
this.parameterDefinitionDataSelect
- .append("</optgroup><optgroup label=\"Other Models\">");
+ .append("</optgroup><optgroup label=\""+othermodel+"\">");
for ( var n in m_model.getModels()) {
if (m_model.getModels()[n] == this.scopeModel) {
@@ -446,10 +448,10 @@ define(
content += parameterDefinition.structuredDataTypeFullId; // TODO
// Format
}
-
+
content += "</td>";
}
-
+
if (this.options.supportsDataMappings) {
content += "<td style=\"width: "
+ this.options.mappingColumnWidth + "\">";
@@ -470,7 +472,12 @@ define(
content += "</td>";
}
-
+
+ var newValue= m_i18nUtils.getProperty("modeler.element.properties.commonProperties.inputText.new");
+ content = content.replace(">New",">"+newValue);
+ newValue= m_i18nUtils.getProperty("modeler.model.propertyView.structuredTypes.configurationProperties.element.selectType.string");
+ content = content.replace("String",newValue);
+
this.parameterDefinitionsTableBody.append(content);
jQuery(
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_poolSymbol.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_poolSymbol.js
index f860309..7a8120e 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_poolSymbol.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_poolSymbol.js
@@ -3,9 +3,9 @@
*/
define(
[ "m_utils", "m_constants", "m_commandsController", "m_command",
- "m_canvasManager", "m_symbol", "m_swimlaneSymbol", "m_messageDisplay" ],
+ "m_canvasManager", "m_symbol", "m_swimlaneSymbol", "m_messageDisplay","m_i18nUtils" ],
function(m_utils, m_constants, m_commandsController, m_command,
- m_canvasManager, m_symbol, m_swimlaneSymbol, m_messageDisplay) {
+ m_canvasManager, m_symbol, m_swimlaneSymbol, m_messageDisplay, m_i18nUtils) {
return {
createPoolSymbol : function(diagram) {
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_processDataPathPropertiesPage.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_processDataPathPropertiesPage.js
index 1ee50c3..71a2466 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_processDataPathPropertiesPage.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_processDataPathPropertiesPage.js
@@ -11,9 +11,9 @@
define(
[ "m_utils", "m_constants", "m_commandsController", "m_command",
"m_propertiesPage",
- "m_parameterDefinitionsPanel" ],
+ "m_parameterDefinitionsPanel","m_i18nUtils" ],
function(m_utils, m_constants, m_commandsController, m_command,
- m_propertiesPage, m_parameterDefinitionsPanel) {
+ m_propertiesPage, m_parameterDefinitionsPanel,m_i18nUtils) {
return {
create : function(propertiesPanel) {
return new ProcessDataPathPropertiesPage(propertiesPanel);
@@ -23,12 +23,12 @@ define(
function ProcessDataPathPropertiesPage(newPropertiesPanel, newId,
newTitle) {
// Inheritance
-
+ var datapathText = m_i18nUtils.getProperty("modeler.element.properties.commonProperties.dataPath");
var propertiesPage = m_propertiesPage.createPropertiesPage(
newPropertiesPanel, "dataPathPropertiesPage",
- "DataPath",
+ datapathText,
"../../images/icons/data-path-properties-page.png");
-
+
m_utils.inheritFields(this, propertiesPage);
m_utils.inheritMethods(ProcessDataPathPropertiesPage.prototype,
propertiesPage);
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_processDisplayPropertiesPage.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_processDisplayPropertiesPage.js
index e8e3651..210c4f1 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_processDisplayPropertiesPage.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_processDisplayPropertiesPage.js
@@ -9,8 +9,8 @@
******************************************************************************/
define([ "m_utils", "m_constants", "m_commandsController", "m_command",
- "m_propertiesPage" ], function(m_utils, m_constants,
- m_commandsController, m_command, m_propertiesPage) {
+ "m_propertiesPage","m_i18nUtils"], function(m_utils, m_constants,
+ m_commandsController, m_command, m_propertiesPage,m_i18nUtils) {
return {
create : function(propertiesPanel) {
var page = new ProcessDisplayPropertiesPage(propertiesPanel);
@@ -21,11 +21,13 @@ define([ "m_utils", "m_constants", "m_commandsController", "m_command",
}
};
- function ProcessDisplayPropertiesPage(propertiesPanel) {
+ function ProcessDisplayPropertiesPage(propertiesPanel) {
+ var displayText = m_i18nUtils.getProperty("modeler.propertyPages.commonProperties.display");
var propertiesPage = m_propertiesPage.createPropertiesPage(
- propertiesPanel, "displayPropertiesPage", "Display",
+ propertiesPanel, "displayPropertiesPage", displayText,
"../../images/icons/display-properties-page.png");
+
m_utils.inheritFields(this, propertiesPage);
m_utils.inheritMethods(ProcessDisplayPropertiesPage.prototype,
propertiesPage);
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_processProcessAttachmentsPropertiesPage.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_processProcessAttachmentsPropertiesPage.js
index 675e111..8b7ec13 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_processProcessAttachmentsPropertiesPage.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_processProcessAttachmentsPropertiesPage.js
@@ -10,11 +10,12 @@
define(
[ "m_utils", "m_constants", "m_commandsController", "m_command",
- "m_propertiesPage" ],
+ "m_propertiesPage","m_i18nUtils"],
function(m_utils, m_constants, m_commandsController, m_command,
- m_propertiesPage) {
+ m_propertiesPage,m_i18nUtils) {
return {
create : function(propertiesPanel) {
+ i18nProcessStaticLabels();
var page = new ProcessProcessAttachmentsPropertiesPage(
propertiesPanel);
@@ -23,14 +24,35 @@ define(
return page;
}
};
+
+
+ function i18nProcessStaticLabels() {
+ // headingdata
+ jQuery("#propertiesText")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.processDefinition.propertyPages.processAttachments.heading"));
+ // jQuery("#commentsHeading").html(m_i18nUtils.getProperty("modeler.element.properties.commonProperties.comments"));
+ $("label[for='supportsAttachmentsInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.processDefinition.propertyPages.processAttachmentText.checkboxSupport"));
+ $("label[for='uniquePerRootProcessInstanceInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.processDefinition.propertyPages.processAttachmentText.checkboxInstanceSupport"));
+ jQuery("title").html("+testing");
+ }
/**
*
*/
function ProcessProcessAttachmentsPropertiesPage(propertiesPanel) {
+
+ var processAttachText = m_i18nUtils.getProperty("modeler.processDefinition.propertyPages.processAttachments.heading");
var propertiesPage = m_propertiesPage.createPropertiesPage(
propertiesPanel, "processAttachmentsPropertiesPage",
- "Process Attachments",
+ processAttachText,
"../../images/icons/process-attachment.png");
m_utils.inheritFields(this, propertiesPage);
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_processProcessInterfacePropertiesPage.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_processProcessInterfacePropertiesPage.js
index 5aaed3b..c27ab39 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_processProcessInterfacePropertiesPage.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_processProcessInterfacePropertiesPage.js
@@ -5,10 +5,10 @@
define(
[ "m_utils", "m_constants", "m_dialog", "m_propertiesPage",
"m_dataTypeSelector",
- "m_parameterDefinitionsPanel" ],
+ "m_parameterDefinitionsPanel","m_i18nUtils" ],
function(m_utils, m_constants, m_dialog, m_propertiesPage,
m_dataTypeSelector,
- m_parameterDefinitionsPanel) {
+ m_parameterDefinitionsPanel,m_i18nUtils) {
return {
create : function(propertiesPanel) {
var page = new ProcessProcessInterfacePropertiesPage(
@@ -21,14 +21,14 @@ define(
};
/**
- *
+ *
*/
function ProcessProcessInterfacePropertiesPage(newPropertiesPanel,
newId, newTitle) {
+ var processInterfacetext = m_i18nUtils.getProperty("modeler.element.properties.commonProperties.processInterface");
var propertiesPage = m_propertiesPage.createPropertiesPage(
- newPropertiesPanel, "processInterfacePropertiesPage",
- "Process Interface",
- "../../images/icons/process-interface.png");
+ newPropertiesPanel, "processInterfacePropertiesPage",
+ processInterfacetext);
m_utils.inheritFields(this, propertiesPage);
m_utils.inheritMethods(
@@ -36,7 +36,7 @@ define(
propertiesPage);
/**
- *
+ *
*/
ProcessProcessInterfacePropertiesPage.prototype.initialize = function() {
this.processInterfaceTypeSelectInput = this
@@ -61,6 +61,7 @@ define(
.create({
scope : "processInterfacePropertiesPage",
submitHandler : this,
+ //listType : "object",
supportsOrdering : false,
supportsDataMappings : true,
supportsDescriptors : false,
@@ -189,7 +190,7 @@ define(
};
/**
- *
+ *
*/
ProcessProcessInterfacePropertiesPage.prototype.populateProcessDataTable = function() {
this.processDataTableBody.empty();
@@ -223,7 +224,7 @@ define(
};
/**
- *
+ *
*/
ProcessProcessInterfacePropertiesPage.prototype.setNoInterface = function() {
this.processInterfaceTypeSelectInput.val("noInterface");
@@ -234,7 +235,7 @@ define(
};
/**
- *
+ *
*/
ProcessProcessInterfacePropertiesPage.prototype.setProvidesProcessInterface = function() {
this.processInterfaceTypeSelectInput
@@ -244,16 +245,13 @@ define(
m_dialog
.makeInvisible(this.implementsProcessInterfacePanel);
- // TODO Guard needed?
-
if (this.getModelElement().formalParameters == null) {
this.getModelElement().formalParameters = [];
}
-
- m_utils.debug("Set Parameters:");
+ m_utils.debug("Set Parameters:");
m_utils.debug(this
.getModelElement().formalParameters);
-
+
this.parameterDefinitionsPanel.setScopeModel(this
.getModelElement().model);
this.parameterDefinitionsPanel.setParameterDefinitions(this
@@ -261,7 +259,7 @@ define(
};
/**
- *
+ *
*/
ProcessProcessInterfacePropertiesPage.prototype.setImplementsProcessInterface = function() {
this.processInterfaceTypeSelectInput
@@ -272,7 +270,7 @@ define(
};
/**
- *
+ *
*/
ProcessProcessInterfacePropertiesPage.prototype.populateParameterDefinitionFields = function() {
this.parameterDefinitionNameInput
@@ -288,14 +286,14 @@ define(
};
/**
- *
+ *
*/
ProcessProcessInterfacePropertiesPage.prototype.getModelElement = function() {
return this.propertiesPanel.element;
};
/**
- *
+ *
*/
ProcessProcessInterfacePropertiesPage.prototype.setElement = function() {
this.parameterDefinitionsPanel.setScopeModel(this
@@ -311,13 +309,13 @@ define(
};
/**
- *
+ *
*/
ProcessProcessInterfacePropertiesPage.prototype.validate = function() {
};
/**
- *
+ *
*/
ProcessProcessInterfacePropertiesPage.prototype.submitProtocol = function() {
var attributes = {};
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_propertiesTree.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_propertiesTree.js
index 2815ec8..ccfe184 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_propertiesTree.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_propertiesTree.js
@@ -2,84 +2,85 @@
* @author Marc.Gille
*/
define(
- [ "m_utils" ],
- function(m_utils) {
+ [ "m_utils","m_i18nUtils" ],
+ function(m_utils,m_i18nUtils) {
+
var categories = {
"General" : {
- "label" : "General",
+ "label" : m_i18nUtils.getProperty("modeler.model.propertyView.structuredTypes.configurationProperties.fieldProperties.general"),
"categories" : [],
"properties" : [ {
- "label" : "Key",
+ "label" : m_i18nUtils.getProperty("modeler.model.propertyView.structuredTypes.configurationProperties.fieldProperties.general.persistent"),
"type" : "boolean"
}, {
- "label" : "Persistent",
+ "label" : m_i18nUtils.getProperty("modeler.model.propertyView.structuredTypes.configurationProperties.fieldProperties.general.key"),
"type" : "boolean"
} ]
},
"UI" : {
- "label" : "UI",
+ "label" : m_i18nUtils.getProperty("modeler.model.propertyView.structuredTypes.configurationProperties.fieldProperties.ui"),
"categories" : [],
"properties" : [ {
- "label" : "Label",
+ "label" : m_i18nUtils.getProperty("modeler.model.propertyView.structuredTypes.configurationProperties.fieldProperties.ui.label"),
"type" : "String"
},{
"name" : "InputPreferences_showDescription",
- "label" : "Show Description",
+ "label" : m_i18nUtils.getProperty("modeler.model.propertyView.structuredTypes.configurationProperties.fieldProperties.ui.showDescription"),
"type" : "boolean"
},
{
"name" : "InputPreferences_readonly",
- "label" : "Readonly",
+ "label" : m_i18nUtils.getProperty("modeler.model.propertyView.structuredTypes.configurationProperties.fieldProperties.ui.readOnly"),
"type" : "boolean"
}, {
"name" : "InputPreferences_mandatory",
- "label" : "Mandatory",
+ "label" : m_i18nUtils.getProperty("modeler.model.propertyView.structuredTypes.configurationProperties.fieldProperties.ui.mandatory"),
"type" : "boolean"
}, {
- "label" : "Format",
+ "label" : m_i18nUtils.getProperty("modeler.model.propertyView.structuredTypes.configurationProperties.fieldProperties.ui.format"),
"type" : "string"
}, {
"name" : "InputPreferences_style",
- "label" : "CSS Style",
+ "label" : m_i18nUtils.getProperty("modeler.model.propertyView.structuredTypes.configurationProperties.fieldProperties.ui.cssStyle"),
"type" : "string"
}, {
"name" : "InputPreferences_styleClass",
- "label" : "CSS Style Class",
+ "label" : m_i18nUtils.getProperty("modeler.model.propertyView.structuredTypes.configurationProperties.fieldProperties.ui.cssStyleClass"),
"type" : "string"
}, {
"name" : "InputPreferences_prefixKey",
- "label" : "Prefix I18N Key",
+ "label" : m_i18nUtils.getProperty("modeler.model.propertyView.structuredTypes.configurationProperties.fieldProperties.ui.prefixI18NKey"),
"type" : "string"
}, {
"name" : "InputPreferences_suffixKey",
- "label" : "Suffix I18N Key",
+ "label" : m_i18nUtils.getProperty("modeler.model.propertyView.structuredTypes.configurationProperties.fieldProperties.ui.suffixI18NKey"),
"type" : "string"
}, {
"name" : "StringInputPreferences_stringInputType",
- "label" : "String Input Type",
+ "label" : m_i18nUtils.getProperty("modeler.model.propertyView.structuredTypes.configurationProperties.fieldProperties.ui.stringInputType"),
"type" : "string",
"enumeration" : [ {
- "label" : "TextInput",
+ "label" : m_i18nUtils.getProperty("modeler.model.propertyView.structuredTypes.configurationProperties.fieldProperties.ui.textInput"),
"value" : "TEXTINPUT"
}, {
- "label" : "Text Area",
+ "label" : m_i18nUtils.getProperty("modeler.model.propertyView.structuredTypes.configurationProperties.fieldProperties.ui.textArea"),
"value" : "TEXTAREA"
} ]
}, {
- "label" : "Text Area Rows",
+ "label" : m_i18nUtils.getProperty("modeler.model.propertyView.structuredTypes.configurationProperties.fieldProperties.ui.textAreaRows"),
"type" : "long"
}, {
- "label" : "Text Area Columns",
+ "label" : m_i18nUtils.getProperty("modeler.model.propertyView.structuredTypes.configurationProperties.fieldProperties.ui.textAreaColumns"),
"type" : "long"
}, {
"name" : "BooleanInputPreferences_readonlyOutputType",
- "label" : "Boolean Readonly Input Type",
+ "label" : m_i18nUtils.getProperty("modeler.model.propertyView.structuredTypes.configurationProperties.fieldProperties.ui.booleanReadonlyInputType"),
"type" : "string",
"enumeration" : [ {
- "label" : "Checkbox",
+ "label" : m_i18nUtils.getProperty("modeler.model.propertyView.structuredTypes.configurationProperties.fieldProperties.ui.checkBox"),
"value" : "CHECKBOX"
}, {
- "label" : "Text Output",
+ "label" : m_i18nUtils.getProperty("modeler.model.propertyView.structuredTypes.configurationProperties.fieldProperties.ui.textOutput"),
"value" : "TEXTOUTPUT"
} ]
} ]
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_roleView.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_roleView.js
index 2e4b497..a53819c 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_roleView.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_roleView.js
@@ -10,22 +10,106 @@
define(
[ "m_utils", "m_constants", "m_command", "m_commandsController",
- "m_dialog", "m_modelElementView", "m_model" ],
+ "m_dialog", "m_modelElementView", "m_model", "m_i18nUtils" ],
function(m_utils, m_constants, m_command, m_commandsController,
- m_dialog, m_modelElementView, m_model) {
+ m_dialog, m_modelElementView, m_model, m_i18nUtils) {
return {
initialize : function(fullId) {
var role = m_model.findParticipant(fullId);
-
+ i18nRoleScreen();
m_utils.debug("===> role");
m_utils.debug(role);
-
var roleView = new RoleView();
-
roleView.initialize(role);
m_commandsController.registerCommandHandler(roleView);
+ //view.initialize(m_model.findApplication(fullId));
+
}
};
+
+
+ function i18nRoleScreen() {
+
+ $("label[for='guidOutput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.uuid"));
+
+ $("label[for='idOutput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.id"));
+
+ $("label[for='nameInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.role.nameInput"));
+ $("label[for='cardinalityInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.cardinality"));
+ $("label[for='descriptionTextarea']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.description"));
+ $("label[for='publicVisibilityCheckbox']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.publicVisibility"));
+ $("label[for='chooseAssignmentRadio']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.role.controlling.activityAssignment.assignment"));
+ $("label[for='assignAutomaticallyRadio']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.assignAutomatically"));
+ $("label[for='workingWeeksPerYearInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.propertyView.role.controlling.workingWeeksPerYear"));
+ $("label[for='targetWorktimePerDayInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.role.controlling.targetWorkTime"));
+ $("label[for='targetWorktimePerWeekInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.role.controlling.targetWorkTimePerWeek"));
+ $("label[for='actualCostPerMinuteInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.role.controlling.actualCostPerMin"));
+ $("label[for='targetQueueDepthInput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.role.controlling.targetQueueDepth"));
+ jQuery("#activityAssignment")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.role.activityAssignment"));
+ jQuery("#controlling")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.role.controlling"));
+ jQuery("#weekstext")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.role.controlling.week.name"));
+ jQuery("#hours")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.hours"));
+ jQuery("#hours2")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.hours"));
+ jQuery("#dollar")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.dollar"));
+
+ }
/**
*
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_sessionLogPanel.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_sessionLogPanel.js
index eb369b5..0413675 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_sessionLogPanel.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_sessionLogPanel.js
@@ -13,12 +13,12 @@ define(
"m_commandsController", "m_model",
"m_accessPoint", "m_dataTraversal", "m_dialog",
"m_communicationController", "m_websocketModel",
- "m_websocketInvite", "mustache" ],
+ "m_websocketInvite", "mustache", "m_i18nUtils" ],
function(m_utils, m_constants, m_user, m_session, m_command,
m_commandsController, m_model,
m_accessPoint, m_dataTraversal, m_dialog,
m_communicationController, m_websocketModel, m_websocketInvite,
- mustache) {
+ mustache, m_i18nUtils) {
var invite = false;
return {
@@ -27,7 +27,7 @@ define(
invite = m_websocketInvite.init("/invite/"
+ m_user.getCurrentUser().account);
m_session.initialize();
-
+ i18nsessionpanel();
window.top.sessionLogPanel = new SessionLogPanel();
window.top.sessionLogPanel.initialize();
@@ -37,6 +37,23 @@ define(
}
}
};
+
+
+ function i18nsessionpanel() {
+
+ $("label[for='sessionParticipantsPanel']").text(m_i18nUtils.getProperty("modeler.modelingSession.sessionParticipants.heading"));
+ $("label[for='sessionlog']").text(m_i18nUtils.getProperty("modeler.modelingSession.sessionLog.heading"));
+ $("label[for='chatTextArea']").text(m_i18nUtils.getProperty("modeler.modelingSession.chatMsg.heading"));
+
+ var chatAddresseeList = jQuery("#chatAddresseeList");
+
+ var selectdata = m_i18nUtils
+ .getProperty("modeler.modelingSession.chatMsg.allParticipants");
+ chatAddresseeList.append("<option value=\"all\">"
+ + selectdata + "</option>");
+
+
+ }
/**
*
@@ -397,8 +414,9 @@ define(
if (m_session.getInstance().loggedInUser.account == m_session
.getInstance().owner.account) {
+ var closebuttondata = m_i18nUtils.getProperty("modeler.modelingSession.sessionProperties.teminateSession");
if (m_session.getInstance().loggedInUser.account == participant.account) {
- image = jQuery("<a><img src='../images/icons/decline.png' title='Terminate Session'></a>"); // I18N
+ image = jQuery("<a><img src='../images/icons/decline.png' title='"+closebuttondata+"'></a>"); // I18N
image.click({
panel : this
@@ -406,7 +424,8 @@ define(
event.data.panel.terminateSession();
});
} else {
- image = jQuery("<a><img src='../images/icons/decline.png' title='Dismiss Participant'></a>"); // I18N
+ closebuttondata = m_i18nUtils.getProperty("modeler.modelingSession.sessionProperties.dismissParticaipant");
+ image = jQuery("<a><img src='../images/icons/decline.png' title='"+closebuttondata+"'></a>"); // I18N
image.click({
panel : this,
@@ -419,7 +438,8 @@ define(
cell.append(image);
} else if (m_session.getInstance().loggedInUser.account == participant.account) {
- image = jQuery("<a><img src='../images/icons/decline.png' title='Leave Session'></a>"); // I18N
+ closebuttondata = m_i18nUtils.getProperty("modeler.modelingSession.sessionProperties.leaveSession")
+ image = jQuery("<a><img src='../images/icons/decline.png' title='"+closebuttondata+"'></a>"); // I18N
image.click({
panel : this
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_swimlaneBasicPropertiesPage.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_swimlaneBasicPropertiesPage.js
index 37c83fd..5e01556 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_swimlaneBasicPropertiesPage.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_swimlaneBasicPropertiesPage.js
@@ -13,9 +13,9 @@
*/
define(
[ "m_utils", "m_constants", "m_commandsController", "m_command",
- "m_model", "m_basicPropertiesPage", "m_participant" ],
+ "m_model", "m_basicPropertiesPage", "m_participant","m_i18nUtils" ],
function(m_utils, m_constants, m_commandsController, m_command,
- m_model, m_basicPropertiesPage, m_participant) {
+ m_model, m_basicPropertiesPage, m_participant,m_i18nUtils) {
return {
create : function(propertiesPanel) {
var page = new SwimlaneBasicPropertiesPage(propertiesPanel);
@@ -63,9 +63,9 @@ define(
this.participantList.empty();
this.participantList
.append("<option value='NONE'>(None)</option>");
-
+ var modelname = m_i18nUtils.getProperty("modeler.element.properties.commonProperties.thisModel");
this.participantList
- .append("<optgroup label=\"This Model\">");
+ .append("<optgroup label=\""+modelname+"\">");
for ( var i in this.getModel().participants) {
this.participantList
@@ -76,9 +76,9 @@ define(
+ this.getModel().participants[i].name
+ "</option>");
}
-
+ var othermodel = m_i18nUtils.getProperty("modeler.element.properties.commonProperties.otherModel");
this.participantList
- .append("</optgroup><optgroup label=\"Other Models\">");
+ .append("</optgroup><optgroup label=\""+othermodel+"\">");
for ( var n in m_model.getModels()) {
if (m_model.getModels()[n] == this.getModel()) {
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_swimlaneSymbol.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_swimlaneSymbol.js
index 4dd67f4..2b56550 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_swimlaneSymbol.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_swimlaneSymbol.js
@@ -5,11 +5,11 @@ define(
[ "m_utils", "m_constants", "m_commandsController", "m_command",
"m_canvasManager", "m_model", "m_symbol", "m_activitySymbol",
"m_gatewaySymbol", "m_eventSymbol", "m_dataSymbol", "m_annotationSymbol",
- "m_propertiesPanel", "m_swimlanePropertiesPanel","m_modelerUtils" ],
+ "m_propertiesPanel", "m_swimlanePropertiesPanel","m_modelerUtils","m_i18nUtils" ],
function(m_utils, m_constants, m_commandsController, m_command,
m_canvasManager, m_model, m_symbol, m_activitySymbol,
m_gatewaySymbol, m_eventSymbol, m_dataSymbol, m_annotationSymbol,
- m_propertiesPanel, m_swimlanePropertiesPanel, m_modelerUtils) {
+ m_propertiesPanel, m_swimlanePropertiesPanel, m_modelerUtils,m_i18nUtils) {
return {
createSwimlaneSymbol : function(diagram, parentSymbol) {
@@ -1123,11 +1123,11 @@ define(
},
payload : {
title : "Confirm",
- message : "Are you sure you want to delete "
- + cbObj.auxiliaryProperties.callbackScope.text.attr("text")+ " and all <BR> "
- + "symbols in the lane?<BR><BR>",
+ message : m_i18nUtils.getProperty("modeler.diagram.toolbar.tool.confirmMsg.delete")
+ + cbObj.auxiliaryProperties.callbackScope.text.attr("text")+ m_i18nUtils.getProperty("modeler.diagram.toolbar.tool.confirmMsg.info"),
acceptButtonText : "Yes",
cancelButtonText : "Cancel",
+
acceptFunction : function() {
var thisLane = cbObj.auxiliaryProperties.callbackScope;
thisLane.createAndSubmitDeleteCommand();
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_testBasicPropertiesPage.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_testBasicPropertiesPage.js
index 00cbb32..b776f09 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_testBasicPropertiesPage.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_testBasicPropertiesPage.js
@@ -10,11 +10,13 @@
define(
[ "m_utils", "m_constants", "m_commandsController", "m_command",
- "m_dialog", "m_basicPropertiesPage", "m_dataTraversal" ],
+ "m_dialog", "m_basicPropertiesPage", "m_dataTraversal", "m_i18nUtils" ],
function(m_utils, m_constants, m_commandsController, m_command,
- m_dialog, m_basicPropertiesPage, m_dataTraversal) {
+ m_dialog, m_basicPropertiesPage, m_dataTraversal, m_i18nUtils) {
return {
create : function(propertiesPanel) {
+ // I18N static labels on the page
+ i18nStaticLabels();
var page = new TestBasicPropertiesPage(propertiesPanel);
page.initialize();
@@ -69,4 +71,12 @@ define(
return true;
};
}
+ /**
+ *
+ */
+ function i18nStaticLabels() {
+ jQuery("#inputData").html(m_i18nUtils.getProperty("modeller.element.properties.testProperties.inputData"));
+ jQuery("#outputData").html(m_i18nUtils.getProperty("modeller.element.properties.testProperties.outputData"));
+ }
+ ;
}); \ No newline at end of file
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_uiMashupApplicationView.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_uiMashupApplicationView.js
index 46f3c3e..92d769d 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_uiMashupApplicationView.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_uiMashupApplicationView.js
@@ -11,22 +11,146 @@
define(
[ "m_utils", "m_constants", "m_command", "m_commandsController",
"m_dialog", "m_modelElementView", "m_model",
- "m_dataTypeSelector", "m_parameterDefinitionsPanel" ],
+ "m_dataTypeSelector", "m_parameterDefinitionsPanel","m_i18nUtils"],
function(m_utils, m_constants, m_command, m_commandsController,
m_dialog, m_modelElementView, m_model, m_dataTypeSelector,
- m_parameterDefinitionsPanel) {
+ m_parameterDefinitionsPanel,m_i18nUtils) {
return {
initialize : function(fullId) {
var view = new UiMashupApplicationView();
+ i18uimashupproperties();
// TODO Unregister!
// In Initializer?
m_commandsController.registerCommandHandler(view);
view.initialize(m_model.findApplication(fullId));
+
+
}
};
+
+ function i18uimashupproperties() {
+
+ $("label[for='guidOutput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.uuid"));
+
+ $("label[for='idOutput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.id"));
+
+ jQuery("#applicationName")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.applicationName"));
+ jQuery("#description")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.description"));
+
+ jQuery("#configuration")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.configuration"));
+ jQuery("#url")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.uiMashup.configuration.configurationProperties.url"));
+ jQuery("#browseButton")
+ .attr(
+ "value",
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.browse"));
+ jQuery("#paramDef")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.uiMashup.configuration.configurationProperties.parameterDefinitions"));
+ jQuery("#name")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.name"));
+ jQuery("#direction")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.direction"));
+ jQuery("#dataType")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.uiMashup.configuration.configurationProperties.datatType"));
+ jQuery("#primitiveType")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.primitiveType"));
+ jQuery("#deleteParameterDefinitionButton").attr(
+ "title",
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.delete"));
+ var primitiveDataTypeSelect = jQuery("#primitiveDataTypeSelect");
+ var selectdata = m_i18nUtils
+ .getProperty("modeler.propertyView.dataTypeProperties.dataTypeSelect.string");
+ primitiveDataTypeSelect.append("<option value=\"String\">"
+ + selectdata + "</option>");
+
+ selectdata = m_i18nUtils
+ .getProperty("modeler.propertyView.dataTypeProperties.dataTypeSelect.boolean");
+ primitiveDataTypeSelect.append("<option value=\"boolean\">"
+ + selectdata + "</option>");
+
+ selectdata = m_i18nUtils
+ .getProperty("modeler.propertyView.dataTypeProperties.dataTypeSelect.int");
+ primitiveDataTypeSelect.append("<option value=\"int\">"
+ + selectdata + "</option>");
+
+ selectdata = m_i18nUtils
+ .getProperty("modeler.propertyView.dataTypeProperties.dataTypeSelect.long");
+ primitiveDataTypeSelect.append("<option value=\"long\">"
+ + selectdata + "</option>");
+
+ selectdata = m_i18nUtils
+ .getProperty("modeler.propertyView.dataTypeProperties.dataTypeSelect.double");
+ primitiveDataTypeSelect.append("<option value=\"double\">"
+ + selectdata + "</option>");
+
+ selectdata = m_i18nUtils
+ .getProperty("modeler.propertyView.dataTypeProperties.dataTypeSelect.decimal");
+ primitiveDataTypeSelect.append("<option value=\"Decimal\">"
+ + selectdata + "</option>");
+
+ selectdata = m_i18nUtils
+ .getProperty("modeler.propertyView.dataTypeProperties.dataTypeSelect.calender");
+ primitiveDataTypeSelect.append("<option value=\"Calendar\">"
+ + selectdata + "</option>");
+
+ $("label[for='primitiveDataTypeSelect']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.primitiveType"));
+
+ var parameterDefinitionDirectionSelect = jQuery("#parameterDefinitionDirectionSelect");
+
+ selectdata = m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.in");
+ parameterDefinitionDirectionSelect
+ .append("<option value=\"IN\">" + selectdata
+ + "</option>");
+
+ selectdata = m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.out");
+ parameterDefinitionDirectionSelect
+ .append("<option value=\"OUT\">" + selectdata
+ + "</option>");
+
+ selectdata = m_i18nUtils
+ .getProperty("modeler.model.propertyView.uiMashup.configuration.configurationProperties.direction.inOut");
+ parameterDefinitionDirectionSelect
+ .append("<option value=\"INOUT\">" + selectdata
+ + "</option>");
+
+ }
/**
*
*/
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_webServiceApplicationView.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_webServiceApplicationView.js
index 1775cb7..c4266a5 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_webServiceApplicationView.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_webServiceApplicationView.js
@@ -9,23 +9,138 @@
******************************************************************************/
define(
- [ "m_utils", "m_constants", "m_communicationController", "m_command",
+ [ "m_utils", "m_urlUtils" , "m_constants", "m_communicationController", "m_command",
"m_commandsController", "m_dialog", "m_modelElementView",
- "m_model" ],
- function(m_utils, m_constants, m_communicationController, m_command,
- m_commandsController, m_dialog, m_modelElementView, m_model) {
+ "m_model" ,"m_i18nUtils"],
+ function(m_utils, m_urlUtils, m_constants, m_communicationController,
+ m_command, m_commandsController, m_dialog, m_modelElementView,
+ m_model, m_i18nUtils) {
+
return {
initialize : function(fullId) {
var view = new WebServiceApplicationView();
// TODO Unregister!
// In Initializer?
-
+ i18webserviceproperties();
m_commandsController.registerCommandHandler(view);
view.initialize(m_model.findApplication(fullId));
+
}
};
+ function i18webserviceproperties() {
+
+ $("label[for='guidOutput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.uuid"));
+
+ $("label[for='idOutput']")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.id"));
+
+ jQuery("#application")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.applicationName"));
+ jQuery("#description")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.description"));
+
+ jQuery("#configuration")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.configuration"));
+ jQuery("#wsdlurl")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.webService.wsdlURL"));
+
+ jQuery("#browseButton")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.webService.load"));
+ jQuery("#service")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.webService.service"));
+
+ jQuery("#port")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.webService.port"));
+ jQuery("#operation")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.webService.operation"));
+ jQuery("#style")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.webService.style"));
+ jQuery("#protocal")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.webService.protocal"));
+ jQuery("#use")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.webService.use"));
+
+ jQuery("#implementation")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.implementation"));
+ jQuery("#includedAddressing")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.webService.implementationProperties.includeAddressing"));
+ jQuery("#implementation1")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.implementation"));
+
+ jQuery("#security")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.security"));
+ jQuery("#authenticationReq")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.webService.securityProperties.authenticationRequired"));
+ jQuery("#mechanism")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.webService.securityProperties.mechanism"));
+ jQuery("#variant")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.model.propertyView.webService.securityProperties.variant"));
+
+ /* Comments Tab Changes */
+ jQuery("#comments")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.comments"));
+ jQuery("#comments")
+ .text(
+ m_i18nUtils
+ .getProperty("modeler.propertyView.webservice.commentsProperties.comments"));
+ jQuery("#submitButton")
+ .attr(
+ "value",
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.submit"));
+ jQuery("#browseButton")
+ .attr(
+ "value",
+ m_i18nUtils
+ .getProperty("modeler.element.properties.commonProperties.browse"));
+
+ }
+
/**
*
*/
@@ -46,6 +161,8 @@ define(
this.wsdlUrlInput = jQuery("#wsdlUrlInput");
this.browseButton = jQuery("#browseButton");
this.serviceSelect = jQuery("#serviceSelect");
+ this.implementselect = jQuery("#implementationSelect");
+ this.mechanismselect = jQuery("#mechanismSelect");
this.portSelect = jQuery("#portSelect");
this.operationSelect = jQuery("#operationSelect");
this.styleOutput = jQuery("#styleOutput");
@@ -57,6 +174,28 @@ define(
this.mechanismSelect = jQuery("#mechanismSelect");
this.variantSelect = jQuery("#variantSelect");
+ // values for implentationselect
+ var selectdata = null;
+ selectdata = m_i18nUtils
+ .getProperty("modeler.model.propertyView.webService.implementationselect.option.genericRescource");
+ this.implementselect.append("<option value=\"generic\">"
+ + selectdata + "</option>");
+ selectdata = m_i18nUtils
+ .getProperty("modeler.model.propertyView.webService.implementationSelect.option.infinitySpecific");
+ this.implementselect.append("<option value=\"carnot\">"
+ + selectdata + "</option>");
+
+ // values for mechanism select
+ selectdata = m_i18nUtils
+ .getProperty("modeler.model.propertyView.webService.mechanismSelect.option.httpBasicAuthorization");
+ this.mechanismselect.append("<option value=\"basic\">"
+ + selectdata + "</option>");
+ selectdata = m_i18nUtils
+ .getProperty("modeler.model.propertyView.webService.mechanismSelect.option.wsSecurity");
+ this.mechanismselect
+ .append("<option value=\"ws-security\">"
+ + selectdata + "</option>");
+
this.browseButton.click({
view : this
}, function(event) {
@@ -122,11 +261,30 @@ define(
if (event.data.view.mechanismSelect
.val() == "basic") {
+
+ selectdata = m_i18nUtils.getProperty("modeler.model.propertyView.webService.variant.option.userNamePwd");
event.data.view.variantSelect
- .append("<option value=\"passwordText\">User Name/Password</option>");
+ .append("<option value=\"passwordText\">"+selectdata+"</option>");
+
} else {
+ selectdata = m_i18nUtils
+ .getProperty("modeler.model.propertyView.webService.variant.option.userNamePwd");
+ event.data.view.variantSelect
+ .append("<option value=\"passwordText\">"
+ + selectdata
+ + "</option>");
+ selectdata = m_i18nUtils
+ .getProperty("modeler.model.propertyView.webService.variant.option.userNamePwdDigest");
event.data.view.variantSelect
- .append("<option value=\"passwordText\">User Name/Password</option><option value=\"passwordDigest\">User Name/Password Digest</option><option value=\"xwssConfiguration\">XWSS Configuration</option>");
+ .append("<option value=\"passwordDigest\">"
+ + selectdata
+ + "</option>");
+ selectdata = m_i18nUtils
+ .getProperty("modeler.model.propertyView.webService.variant.option.xwssConfiguration");
+ event.data.view.variantSelect
+ .append("<option value=\"xwssConfiguration\">"
+ + selectdata
+ + "</option>");
}
});
this.variantSelect
@@ -286,8 +444,9 @@ define(
jQuery("body")
.css("cursor", "auto");
if (structure == null) {
+ var errormessage = m_i18nUtils.getProperty("modeler.model.propertyView.webService.errorMessage")
view.errorMessages
- .push("Could not load WSDL from URL.");
+ .push(errormessage);
view.showErrorMessages();
view.wsdlUrlInput
.addClass("error");
@@ -307,6 +466,7 @@ define(
*/
WebServiceApplicationView.prototype.setWebServiceStructure = function(
webServiceStructure) {
+
m_utils.debug("===> Web Service Structure");
m_utils.debug(webServiceStructure);
@@ -315,7 +475,8 @@ define(
this.serviceSelect.empty();
var start = true;
-
+
+
for ( var m in webServiceStructure.services) {
var service = webServiceStructure.services[m];
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/messageTransformationApplicationViewMain.js b/web-modeler/src/main/resources/META-INF/xhtml/js/messageTransformationApplicationViewMain.js
index 3a8f00f..9ed4bf6 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/messageTransformationApplicationViewMain.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/messageTransformationApplicationViewMain.js
@@ -34,9 +34,13 @@ require.config({
'codemirror.util.searchcursor': ['libs/codemirror/util/searchcursor', 'https://raw.github.com/marijnh/CodeMirror/fc17d2d418d50fba292bae4fdcdb8a5bf1102867/lib/util/searchcursor'],
'codemirror.util.simple-hint': ['libs/codemirror/util/simple-hint', 'https://raw.github.com/marijnh/CodeMirror/fc17d2d418d50fba292bae4fdcdb8a5bf1102867/lib/util/simple-hint'],
- 'common-plugins': '../../../services/rest/bpm-modeler/config/ui/plugins/common-plugins'
+ 'common-plugins': '../../../services/rest/bpm-modeler/config/ui/plugins/common-plugins',
+ 'i18n' : '../../common/InfinityBPMI18N'
},
shim: {
+ 'i18n' : {
+ exports : "InfinityBPMI18N"
+ },
'jquery-ui': ['jquery'],
'jquery.form': ['jquery'],
'jquery.impromptu': ['jquery'],
@@ -80,6 +84,7 @@ require(["require",
"common-plugins",
"m_utils",
+ "i18n",
"m_communicationController",
"m_urlUtils",
"m_constants",
@@ -87,7 +92,7 @@ require(["require",
"m_commandsController",
"m_view",
"m_modelElementView",
- "m_modelElementCommentsPropertiesPage",
+ "m_modelElementCommentsPropertiesPage",
"m_messageTransformationApplicationView"],
function(require) {
require("m_messageTransformationApplicationView").initialize(
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/modelViewMain.js b/web-modeler/src/main/resources/META-INF/xhtml/js/modelViewMain.js
index 4e6c537..00f1a51 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/modelViewMain.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/modelViewMain.js
@@ -23,13 +23,16 @@ require.config({
'jquery.treeTable': ['libs/jquery/plugins/jquery.treeTable', 'https://raw.github.com/ludo/jquery-treetable/f98c6d07a02cb48052e9d4e033ce7dcdf64218e1/src/javascripts/jquery.treeTable'],
'jquery.url': ['libs/jquery/plugins/jquery.url', 'https://raw.github.com/allmarkedup/jQuery-URL-Parser/472315f02afbfd7193184300cc381163e19b4a16/jquery.url'],
- 'common-plugins': '../../../services/rest/bpm-modeler/config/ui/plugins/common-plugins'
+ 'common-plugins': '../../../services/rest/bpm-modeler/config/ui/plugins/common-plugins',
+ 'i18n' : '../../common/InfinityBPMI18N'
},
shim: {
'json': {
exports: "JSON"
},
-
+ 'i18n': {
+ exports: "InfinityBPMI18N"
+ },
'jquery-ui': ['jquery'],
'jquery.download': ['jquery'],
'jquery.form': ['jquery'],
@@ -58,6 +61,7 @@ require(["require",
"jquery.url",
"extensions_jquery",
"m_utils",
+ "i18n",
"common-plugins",
"m_communicationController",
"m_urlUtils",
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/modeler-main.js b/web-modeler/src/main/resources/META-INF/xhtml/js/modeler-main.js
index def3ca6..3c58a50 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/modeler-main.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/modeler-main.js
@@ -33,7 +33,8 @@ require.config({
'codemirror.util.searchcursor': ['libs/codemirror/util/searchcursor', 'https://raw.github.com/marijnh/CodeMirror/fc17d2d418d50fba292bae4fdcdb8a5bf1102867/lib/util/searchcursor'],
'codemirror.util.simple-hint': ['libs/codemirror/util/simple-hint', 'https://raw.github.com/marijnh/CodeMirror/fc17d2d418d50fba292bae4fdcdb8a5bf1102867/lib/util/simple-hint'],
- 'modeler-plugins': '../../../services/rest/bpm-modeler/config/ui/plugins/modeler-plugins'
+ 'modeler-plugins': '../../../services/rest/bpm-modeler/config/ui/plugins/modeler-plugins',
+ 'i18n' : '../../common/InfinityBPMI18N'
},
shim: {
'json': {
@@ -42,7 +43,9 @@ require.config({
'raphael': {
exports: 'Raphael'
},
-
+ 'i18n': {
+ exports: "InfinityBPMI18N"
+ },
'jquery-ui': ['jquery'],
'jquery.download': ['jquery'],
'jquery.form': ['jquery'],
@@ -95,13 +98,14 @@ require(["require",
"m_modelerViewLayoutManager",
"m_dataTypeSelector",
"m_parameterDefinitionsPanel",
-
+ "m_processProcessAttachmentsPropertiesPage",
"m_logger",
"m_utils",
"m_communicationController",
"m_canvasManager",
"m_toolbarManager",
"m_urlUtils",
+ "i18n",
"m_constants",
"m_user",
"m_command",
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/diagramToolbar/xpdlDiagramToolbar.js b/web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/diagramToolbar/xpdlDiagramToolbar.js
index dae5474..2264f2a 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/diagramToolbar/xpdlDiagramToolbar.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/diagramToolbar/xpdlDiagramToolbar.js
@@ -1,37 +1,39 @@
-define([ 'm_defaultPaletteHandler', 'm_decorationPalette' ], function(m_defaultPaletteHandler, m_decorationPalette) {
+define([ 'm_defaultPaletteHandler', 'm_decorationPalette',"m_i18nUtils" ],
+
+ function(m_defaultPaletteHandler, m_decorationPalette, m_i18nUtils) {
return {
// sections
diagramToolbarPalette : [ {
id : "drawingPalette",
- title : "Drawing",
+ title : m_i18nUtils.getProperty("modeler.diagram.toolbar.panels.drawing.title"),
visibility : "always"
}, {
id : "activityPalette",
- title : "Activities and Gateways",
+ title : m_i18nUtils.getProperty("modeler.diagram.toolbar.panels.activitiesGateway.title"),
visibilty : "always"
}, {
id : "eventPalette",
- title : "Events",
+ title : m_i18nUtils.getProperty("modeler.diagram.toolbar.panels.events.title"),
visibility : "always"
}, {
id : "dataPalette",
- title : "Data",
+ title : m_i18nUtils.getProperty("modeler.element.properties.commonProperties.data"),
visibility : "always"
}, {
id : "lanePalette",
- title : "Pools and Lanes",
+ title : m_i18nUtils.getProperty("modeler.diagram.toolbar.panels.poolsAndLanes.title"),
visibility : "always"
}, {
id : "connectorPalette",
- title : "Data and Sequence Flow",
+ title : m_i18nUtils.getProperty("modeler.diagram.toolbar.panels.dataSequence.title"),
visibility : "always"
}, {
id : "annotationPalette",
- title : "Annotations",
+ title : m_i18nUtils.getProperty("modeler.diagram.toolbar.panels.annotations.title"),
visibility : "always"
}, {
id : "decorationPalette",
- title : "Decoration",
+ title : m_i18nUtils.getProperty("modeler.diagram.toolbar.panels.decoration.title"),
contentHtmlUrl : "decorationPalette.html",
provider: m_decorationPalette,
visibility : "preview"
@@ -40,7 +42,7 @@ define([ 'm_defaultPaletteHandler', 'm_decorationPalette' ], function(m_defaultP
diagramToolbarPaletteEntry : [ {
id : "selectModeButton",
paletteId : "drawingPalette",
- title : "Select Mode",
+ title : m_i18nUtils.getProperty("modeler.diagram.toolbar.tool.selectMode.title"),
iconUrl : "../../images/icons/select.png",
provider : m_defaultPaletteHandler,
handlerMethod: "setSelectMode",
@@ -48,7 +50,7 @@ define([ 'm_defaultPaletteHandler', 'm_decorationPalette' ], function(m_defaultP
}, {
id : "separatorModeButton",
paletteId : "drawingPalette",
- title : "Separator Mode",
+ title : m_i18nUtils.getProperty("modeler.diagram.toolbar.tool.separateMode.title"),
iconUrl : "../../images/icons/separator.png",
provider : m_defaultPaletteHandler,
handlerMethod: "setSeparatorMode",
@@ -56,7 +58,7 @@ define([ 'm_defaultPaletteHandler', 'm_decorationPalette' ], function(m_defaultP
}, {
id : "zoomInButton",
paletteId : "drawingPalette",
- title : "Zoom In",
+ title : m_i18nUtils.getProperty("modeler.diagram.toolbar.tool.zoomIn.title"),
iconUrl : "../../images/icons/zoom-in.png",
provider : m_defaultPaletteHandler,
handlerMethod: "zoomIn",
@@ -64,7 +66,7 @@ define([ 'm_defaultPaletteHandler', 'm_decorationPalette' ], function(m_defaultP
}, {
id : "zoomOutButton",
paletteId : "drawingPalette",
- title : "Zoom Out",
+ title : m_i18nUtils.getProperty("modeler.diagram.toolbar.tool.zoomOut.title"),
iconUrl : "../../images/icons/zoom-out.png",
provider : m_defaultPaletteHandler,
handlerMethod: "zoomOut",
@@ -72,7 +74,7 @@ define([ 'm_defaultPaletteHandler', 'm_decorationPalette' ], function(m_defaultP
}, {
id : "flipOrientationButton",
paletteId : "drawingPalette",
- title : "Flip Orientation",
+ title : m_i18nUtils.getProperty("modeler.diagram.toolbar.tool.flipOrientation.title"),
iconUrl : "../../images/icons/horizontal-flip.png",
provider : m_defaultPaletteHandler,
handlerMethod: "flipOrientation",
@@ -80,7 +82,7 @@ define([ 'm_defaultPaletteHandler', 'm_decorationPalette' ], function(m_defaultP
}, {
id : "printButton",
paletteId : "drawingPalette",
- title : "Print",
+ title : m_i18nUtils.getProperty("modeler.diagram.toolbar.tool.print.title"),
iconUrl : "../../images/icons/print.gif",
provider : m_defaultPaletteHandler,
handlerMethod: "print",
@@ -88,7 +90,7 @@ define([ 'm_defaultPaletteHandler', 'm_decorationPalette' ], function(m_defaultP
}, {
id : "activityButton",
paletteId : "activityPalette",
- title : "Create Activity",
+ title : m_i18nUtils.getProperty("modeler.diagram.toolbar.tool.createActivity.title"),
iconUrl : "../../images/icons/activity.png",
provider : m_defaultPaletteHandler,
handlerMethod: "createActivity",
@@ -96,7 +98,7 @@ define([ 'm_defaultPaletteHandler', 'm_decorationPalette' ], function(m_defaultP
}, {
id : "gatewayButton",
paletteId : "activityPalette",
- title : "Create Gateway",
+ title : m_i18nUtils.getProperty("modeler.diagram.toolbar.tool.createGateway.title"),
iconUrl : "../../images/icons/gateway.png",
provider : m_defaultPaletteHandler,
handlerMethod: "createGateway",
@@ -104,7 +106,7 @@ define([ 'm_defaultPaletteHandler', 'm_decorationPalette' ], function(m_defaultP
}, {
id : "startEventButton",
paletteId : "eventPalette",
- title : "Create Start Event",
+ title : m_i18nUtils.getProperty("modeler.diagram.toolbar.tool.createStartEvent.title"),
iconUrl : "../../images/icons/start_event_with_border.png",
provider : m_defaultPaletteHandler,
handlerMethod: "createStartEvent",
@@ -112,7 +114,7 @@ define([ 'm_defaultPaletteHandler', 'm_decorationPalette' ], function(m_defaultP
}, {
id : "endEventButton",
paletteId : "eventPalette",
- title : "Create End Event",
+ title : m_i18nUtils.getProperty("modeler.diagram.toolbar.tool.createEndEvent.title"),
iconUrl : "../../images/icons/end_event_with_border.png",
provider : m_defaultPaletteHandler,
handlerMethod: "createEndEvent",
@@ -120,7 +122,7 @@ define([ 'm_defaultPaletteHandler', 'm_decorationPalette' ], function(m_defaultP
}, {
id : "dataButton",
paletteId : "dataPalette",
- title : "Create Primitive Data",
+ title : m_i18nUtils.getProperty("modeler.diagram.toolbar.tool.createPrimitiveData.title"),
iconUrl : "../../images/icons/data.png",
provider : m_defaultPaletteHandler,
handlerMethod: "createData",
@@ -128,7 +130,7 @@ define([ 'm_defaultPaletteHandler', 'm_decorationPalette' ], function(m_defaultP
}, {
id : "swimlaneButton",
paletteId : "lanePalette",
- title : "Create Swimlane",
+ title :m_i18nUtils.getProperty("modeler.diagram.toolbar.tool.createSwimlane.title"),
iconUrl : "../../images/icons/lane.png",
provider : m_defaultPaletteHandler,
handlerMethod: "createSwimlane",
@@ -136,7 +138,7 @@ define([ 'm_defaultPaletteHandler', 'm_decorationPalette' ], function(m_defaultP
}, {
id : "connectorButton",
paletteId : "connectorPalette",
- title : "Create Connector",
+ title : m_i18nUtils.getProperty("modeler.diagram.toolbar.tool.createConnector.title"),
iconUrl : "../../images/icons/connect.png",
provider : m_defaultPaletteHandler,
handlerMethod: "createConnector",
@@ -144,7 +146,7 @@ define([ 'm_defaultPaletteHandler', 'm_decorationPalette' ], function(m_defaultP
}, {
id : "annotationButton",
paletteId : "annotationPalette",
- title : "Create Annotation",
+ title : m_i18nUtils.getProperty("modeler.diagram.toolbar.tool.createAnnotation.title"),
iconUrl : "../../images/icons/annotation.png",
provider : m_defaultPaletteHandler,
handlerMethod: "createAnnotation",
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/propertiesPage/camelApplicationProperties.js b/web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/propertiesPage/camelApplicationProperties.js
index f190286..0a3e0a4 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/propertiesPage/camelApplicationProperties.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/propertiesPage/camelApplicationProperties.js
@@ -1,5 +1,5 @@
-define([ 'm_modelElementCommentsPropertiesPage'], function(
- m_modelElementCommentsPropertiesPage) {
+define([ 'm_modelElementCommentsPropertiesPage', "m_i18nUtils"], function(
+ m_modelElementCommentsPropertiesPage, m_i18nUtils) {
return {
propertiesPage : [ {
panelId: "camelApplicationView",
@@ -7,7 +7,7 @@ define([ 'm_modelElementCommentsPropertiesPage'], function(
pageHtmlUrl: "modelElementCommentsPropertiesPage.html",
provider: m_modelElementCommentsPropertiesPage,
visibility: "always",
- pageName: "Comments",
+ pageName: m_i18nUtils.getProperty("modeler.element.properties.commonProperties.comments"),
pageIconUrl: "../../images/icons/comments-properties-page.png"
} ]
};
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/propertiesPage/dataProperties.js b/web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/propertiesPage/dataProperties.js
index c794921..60a4b94 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/propertiesPage/dataProperties.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/propertiesPage/dataProperties.js
@@ -1,6 +1,6 @@
define(
- [ 'm_modelElementCommentsPropertiesPage' ],
- function(m_modelElementCommentsPropertiesPage) {
+ [ 'm_modelElementCommentsPropertiesPage',"m_i18nUtils"],
+ function(m_modelElementCommentsPropertiesPage, m_i18nUtils) {
return {
propertiesPage : [
{
@@ -9,7 +9,7 @@ define(
pageHtmlUrl : "modelElementCommentsPropertiesPage.html",
provider : m_modelElementCommentsPropertiesPage,
visibility : "always",
- pageName : "Comments",
+ pageName : m_i18nUtils.getProperty("modeler.element.properties.commonProperties.comments"),
pageIconUrl : "../../images/icons/comments-properties-page.png"
}, ]
};
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/propertiesPage/messageTransformationApplicationProperties.js b/web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/propertiesPage/messageTransformationApplicationProperties.js
index bfa0d18..7f4deef 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/propertiesPage/messageTransformationApplicationProperties.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/propertiesPage/messageTransformationApplicationProperties.js
@@ -1,13 +1,12 @@
-define([ 'm_modelElementCommentsPropertiesPage'], function(
- m_modelElementCommentsPropertiesPage) {
+define([ 'm_modelElementCommentsPropertiesPage', "m_i18nUtils" ], function(
+ m_modelElementCommentsPropertiesPage, m_i18nUtils) {
return {
propertiesPage : [ {
panelId: "messageTransformationApplicationView",
- pageId: "messageTransformationApplicationCommentsPropertiesPage",
pageHtmlUrl: "modelElementCommentsPropertiesPage.html",
provider: m_modelElementCommentsPropertiesPage,
visibility: "always",
- pageName: "Comments",
+ pageName: m_i18nUtils.getProperty("modeler.element.properties.commonProperties.comments"),
pageIconUrl: "../../images/icons/comments-properties-page.png"
} ]
};
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/propertiesPage/modelProperties.js b/web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/propertiesPage/modelProperties.js
index 11741d6..5d22feb 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/propertiesPage/modelProperties.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/propertiesPage/modelProperties.js
@@ -1,5 +1,5 @@
-define([ 'm_modelElementCommentsPropertiesPage'], function(
- m_modelElementCommentsPropertiesPage) {
+define([ 'm_modelElementCommentsPropertiesPage',"m_i18nUtils"], function(
+ m_modelElementCommentsPropertiesPage,m_i18nUtils) {
return {
propertiesPage : [ {
panelId: "modelView",
@@ -7,7 +7,7 @@ define([ 'm_modelElementCommentsPropertiesPage'], function(
pageHtmlUrl: "modelElementCommentsPropertiesPage.html",
provider: m_modelElementCommentsPropertiesPage,
visibility: "always",
- pageName: "Comments",
+ pageName: m_i18nUtils.getProperty("modeler.element.properties.commonProperties.comments") ,
pageIconUrl: "../../images/icons/comments-properties-page.png"
} ]
};
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/propertiesPage/organizationProperties.js b/web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/propertiesPage/organizationProperties.js
index b37b2e8..7cd3f95 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/propertiesPage/organizationProperties.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/propertiesPage/organizationProperties.js
@@ -1,5 +1,5 @@
-define([ 'm_modelElementCommentsPropertiesPage'], function(
- m_modelElementCommentsPropertiesPage) {
+define([ 'm_modelElementCommentsPropertiesPage', "m_i18nUtils"], function(
+ m_modelElementCommentsPropertiesPage, m_i18nUtils) {
return {
propertiesPage : [ {
panelId: "organizationView",
@@ -7,7 +7,7 @@ define([ 'm_modelElementCommentsPropertiesPage'], function(
pageHtmlUrl: "modelElementCommentsPropertiesPage.html",
provider: m_modelElementCommentsPropertiesPage,
visibility: "always",
- pageName: "Comments",
+ pageName: m_i18nUtils.getProperty("modeler.element.properties.commonProperties.comments"),
pageIconUrl: "../../images/icons/comments-properties-page.png"
} ]
};
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/propertiesPage/roleProperties.js b/web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/propertiesPage/roleProperties.js
index c310942..114d068 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/propertiesPage/roleProperties.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/propertiesPage/roleProperties.js
@@ -1,5 +1,5 @@
-define([ 'm_modelElementCommentsPropertiesPage'], function(
- m_modelElementCommentsPropertiesPage) {
+define([ 'm_modelElementCommentsPropertiesPage', "m_i18nUtils"], function(
+ m_modelElementCommentsPropertiesPage, m_i18nUtils) {
return {
propertiesPage : [ {
panelId: "roleView",
@@ -7,7 +7,7 @@ define([ 'm_modelElementCommentsPropertiesPage'], function(
pageHtmlUrl: "modelElementCommentsPropertiesPage.html",
provider: m_modelElementCommentsPropertiesPage,
visibility: "always",
- pageName: "Comments",
+ pageName: m_i18nUtils.getProperty("modeler.element.properties.commonProperties.comments"),
pageIconUrl: "../../images/icons/comments-properties-page.png"
} ]
};
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/propertiesPage/uiMashupApplicationProperties.js b/web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/propertiesPage/uiMashupApplicationProperties.js
index 901570f..7992e56 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/propertiesPage/uiMashupApplicationProperties.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/propertiesPage/uiMashupApplicationProperties.js
@@ -1,5 +1,5 @@
-define([ 'm_modelElementCommentsPropertiesPage'], function(
- m_modelElementCommentsPropertiesPage) {
+define([ 'm_modelElementCommentsPropertiesPage', "m_i18nUtils"], function(
+ m_modelElementCommentsPropertiesPage, m_i18nUtils) {
return {
propertiesPage : [ {
panelId: "uiMashupApplicationView",
@@ -7,7 +7,7 @@ define([ 'm_modelElementCommentsPropertiesPage'], function(
pageHtmlUrl: "modelElementCommentsPropertiesPage.html",
provider: m_modelElementCommentsPropertiesPage,
visibility: "always",
- pageName: "Comments",
+ pageName: m_i18nUtils.getProperty("modeler.element.properties.commonProperties.comments"),
pageIconUrl: "../../images/icons/comments-properties-page.png"
} ]
};
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/propertiesPage/webServiceApplicationProperties.js b/web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/propertiesPage/webServiceApplicationProperties.js
index db290a8..e25b719 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/propertiesPage/webServiceApplicationProperties.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/propertiesPage/webServiceApplicationProperties.js
@@ -1,5 +1,5 @@
-define([ 'm_modelElementCommentsPropertiesPage'], function(
- m_modelElementCommentsPropertiesPage) {
+define([ 'm_modelElementCommentsPropertiesPage', "m_i18nUtils"], function(
+ m_modelElementCommentsPropertiesPage, m_i18nUtils) {
return {
propertiesPage : [ {
panelId: "webServiceApplicationView",
@@ -7,8 +7,8 @@ define([ 'm_modelElementCommentsPropertiesPage'], function(
pageHtmlUrl: "modelElementCommentsPropertiesPage.html",
provider: m_modelElementCommentsPropertiesPage,
visibility: "always",
- pageName: "Comments",
- pageIconUrl: "../../images/icons/comments-properties-page.png"
+ pageName: m_i18nUtils.getProperty("modeler.element.properties.commonProperties.comments"),
+ pageIconUrl: "../../images/icons/comments-properties-page.png"
} ]
};
}); \ No newline at end of file
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/propertiesPage/xsdStructuredDataTypeProperties.js b/web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/propertiesPage/xsdStructuredDataTypeProperties.js
index 353b503..478c2e5 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/propertiesPage/xsdStructuredDataTypeProperties.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/modelerExtensions/propertiesPage/xsdStructuredDataTypeProperties.js
@@ -1,5 +1,5 @@
-define([ 'm_modelElementCommentsPropertiesPage'], function(
- m_modelElementCommentsPropertiesPage) {
+define([ 'm_modelElementCommentsPropertiesPage', "m_i18nUtils"], function(
+ m_modelElementCommentsPropertiesPage, m_i18nUtils) {
return {
propertiesPage : [ {
panelId: "xsdStructuredDataTypeView",
@@ -7,7 +7,7 @@ define([ 'm_modelElementCommentsPropertiesPage'], function(
pageHtmlUrl: "modelElementCommentsPropertiesPage.html",
provider: m_modelElementCommentsPropertiesPage,
visibility: "always",
- pageName: "Comments",
+ pageName: m_i18nUtils.getProperty("modeler.element.properties.commonProperties.comments"),
pageIconUrl: "../../images/icons/comments-properties-page.png"
} ]
};
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/organizationViewMain.js b/web-modeler/src/main/resources/META-INF/xhtml/js/organizationViewMain.js
index 82c9b2d..0ebd2c7 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/organizationViewMain.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/organizationViewMain.js
@@ -24,8 +24,12 @@ require.config({
'jquery.url': ['libs/jquery/plugins/jquery.url', 'https://raw.github.com/allmarkedup/jQuery-URL-Parser/472315f02afbfd7193184300cc381163e19b4a16/jquery.url'],
'common-plugins': '../../../services/rest/bpm-modeler/config/ui/plugins/common-plugins',
+ 'i18n' : '../../common/InfinityBPMI18N'
},
shim: {
+ 'i18n': {
+ exports: "InfinityBPMI18N"
+ },
'jquery-ui': ['jquery'],
'jquery.download': ['jquery'],
'jquery.form': ['jquery'],
@@ -54,6 +58,7 @@ require(["require",
"common-plugins",
"m_utils",
+ "i18n",
"m_communicationController",
"m_urlUtils",
"m_constants",
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/roleViewMain.js b/web-modeler/src/main/resources/META-INF/xhtml/js/roleViewMain.js
index 8ecb800..68d2b9a 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/roleViewMain.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/roleViewMain.js
@@ -23,9 +23,13 @@ require.config({
'jquery.treeTable': ['libs/jquery/plugins/jquery.treeTable', 'https://raw.github.com/ludo/jquery-treetable/f98c6d07a02cb48052e9d4e033ce7dcdf64218e1/src/javascripts/jquery.treeTable'],
'jquery.url': ['libs/jquery/plugins/jquery.url', 'https://raw.github.com/allmarkedup/jQuery-URL-Parser/472315f02afbfd7193184300cc381163e19b4a16/jquery.url'],
- 'common-plugins': '../../../services/rest/bpm-modeler/config/ui/plugins/common-plugins'
+ 'common-plugins': '../../../services/rest/bpm-modeler/config/ui/plugins/common-plugins',
+ 'i18n' : '../../common/InfinityBPMI18N'
},
shim: {
+ 'i18n' : {
+ exports : "InfinityBPMI18N"
+ },
'jquery-ui': ['jquery'],
'jquery.download': ['jquery'],
'jquery.form': ['jquery'],
@@ -54,6 +58,7 @@ require(["require", "m_extensionManager",
"common-plugins",
"m_utils",
+ "i18n",
"m_communicationController",
"m_urlUtils",
"m_constants",
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/sessionLogPanelMain.js b/web-modeler/src/main/resources/META-INF/xhtml/js/sessionLogPanelMain.js
index 625a50d..4e7631b 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/sessionLogPanelMain.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/sessionLogPanelMain.js
@@ -23,8 +23,12 @@ require.config({
'jquery.url': ['libs/jquery/plugins/jquery.url', 'https://raw.github.com/allmarkedup/jQuery-URL-Parser/472315f02afbfd7193184300cc381163e19b4a16/jquery.url'],
'common-plugins': '../../../services/rest/bpm-modeler/config/ui/plugins/common-plugins',
+ 'i18n' : '../../common/InfinityBPMI18N'
},
shim: {
+ 'i18n': {
+ exports: "InfinityBPMI18N"
+ },
'jquery-ui': ['jquery'],
'jquery.atmosphere': ['jquery'],
'jquery.download': ['jquery'],
@@ -46,6 +50,7 @@ require(["require",
"jquery.url",
"common-plugins",
"m_utils",
+ "i18n",
"m_communicationController",
"m_urlUtils",
"m_constants",
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/uiMashupApplicationViewMain.js b/web-modeler/src/main/resources/META-INF/xhtml/js/uiMashupApplicationViewMain.js
index 009b5b5..a308bf2 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/uiMashupApplicationViewMain.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/uiMashupApplicationViewMain.js
@@ -24,8 +24,12 @@ require.config({
'jquery.url': ['libs/jquery/plugins/jquery.url', 'https://raw.github.com/allmarkedup/jQuery-URL-Parser/472315f02afbfd7193184300cc381163e19b4a16/jquery.url'],
'common-plugins': '../../../services/rest/bpm-modeler/config/ui/plugins/common-plugins',
+ 'i18n' : '../../common/InfinityBPMI18N'
},
shim: {
+ 'i18n': {
+ exports: "InfinityBPMI18N"
+ },
'jquery-ui': ['jquery'],
'jquery.tablescroll': ['jquery'],
'jquery.treeTable': ['jquery'],
@@ -41,6 +45,7 @@ require(["require",
"jquery.url",
"common-plugins",
"m_utils",
+ "i18n",
"m_communicationController",
"m_urlUtils",
"m_constants",
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/webServiceApplicationViewMain.js b/web-modeler/src/main/resources/META-INF/xhtml/js/webServiceApplicationViewMain.js
index 779d680..94ee92e 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/webServiceApplicationViewMain.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/webServiceApplicationViewMain.js
@@ -24,8 +24,13 @@ require.config({
'jquery.url': ['libs/jquery/plugins/jquery.url', 'https://raw.github.com/allmarkedup/jQuery-URL-Parser/472315f02afbfd7193184300cc381163e19b4a16/jquery.url'],
'common-plugins': '../../../services/rest/bpm-modeler/config/ui/plugins/common-plugins',
+ 'outline-plugins': '../../../services/rest/bpm-modeler/config/ui/plugins/outline-plugins',
+ 'i18n' : '../../common/InfinityBPMI18N'
},
shim: {
+ 'i18n': {
+ exports: "InfinityBPMI18N"
+ },
'jquery-ui': ['jquery'],
'jquery.tablescroll': ['jquery'],
'jquery.treeTable': ['jquery'],
@@ -44,6 +49,7 @@ require(["require",
"m_communicationController",
"m_urlUtils",
"m_constants",
+ "i18n",
"m_command",
"m_commandsController",
"m_view",
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/launchpad/modelerLauncher.xhtml b/web-modeler/src/main/resources/META-INF/xhtml/launchpad/modelerLauncher.xhtml
index 185dfac..51c0c3f 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/launchpad/modelerLauncher.xhtml
+++ b/web-modeler/src/main/resources/META-INF/xhtml/launchpad/modelerLauncher.xhtml
@@ -123,16 +123,17 @@
</ui:include>
</ice:panelGroup>
<ice:panelGroup styleClass="panelHeader">
- <ice:outputText styleClass="panelHeaderTitle" value="Profile" />
+ <ice:outputText styleClass="panelHeaderTitle"
+ value="#{bpmModelerMessages['launchpanels.panelHeader.title']}" />
</ice:panelGroup>
<ice:panelGrid columns="2">
- <ice:outputText value="Select Your Profile" escape="false" />
+ <ice:outputText value="#{bpmModelerMessages['launchpanels.profileSelector.list.selectYourProfile']}" escape="false" />
<ice:selectOneMenu id="userProfileSelect"
onchange="changeUserProfile();">
- <f:selectItem itemLabel="Business Analyst"
+ <f:selectItem itemLabel="#{bpmModelerMessages['launchpanels.profileSelector.list1.businessAnalyst']}"
itemValue="BusinessAnalyst" />
- <f:selectItem itemLabel="Integrator" itemValue="Integrator" />
+ <f:selectItem itemLabel="#{bpmModelerMessages['launchpanels.profileSelector.list2.integrator']}" itemValue="Integrator" />
</ice:selectOneMenu>
</ice:panelGrid>
@@ -146,7 +147,7 @@
value="/plugins/common/images/panelHeader-triggerCollapse.png"
style="border: none" />
<ice:outputText styleClass="panelHeaderTitle"
- value="My Process Models" />
+ value="#{bpmModelerMessages['launchpanels.myProcessModels.title']}" />
</ice:panelGrid>
</ice:commandLink>
</ice:panelGroup>
@@ -295,7 +296,7 @@
value="/plugins/common/images/panelHeader-triggerCollapse.png"
style="border: none" />
<ice:outputText styleClass="panelHeaderTitle"
- value="My Modeling Session" />
+ value="#{bpmModelerMessages['launchpanels.panelHeader.title.myModelingSession']}" />
</ice:panelGrid>
</ice:commandLink>
</ice:panelGroup>
@@ -318,7 +319,7 @@
styleClass="dialog">
<f:facet name="header">
<ice:panelGroup styleClass="dialog-header">
- <ice:outputText value="Invite Participants" />
+ <ice:outputText value="#{bpmModelerMessages['launchpanels.panelHeader.title.myModelingSession']}"/>
</ice:panelGroup>
</f:facet>
<f:facet name="body">
@@ -327,12 +328,12 @@
columnClasses="center-aligned-column">
<ice:panelGrid columns="1" cellpadding="0" cellspacing="0">
<ice:panelGrid columns="2" cellpadding="0" cellspacing="0">
- <ice:outputLabel for="filterStringInput" value="Filter" />
+ <ice:outputLabel for="filterStringInput" value="#{bpmModelerMessages['launchpanels.panelHeader.myModelingSession.inviteParticipants.filter']}" />
<ice:inputText id="filterStringInput"
value="#{inviteParticipantsDialog.filterString}" />
</ice:panelGrid>
<ice:panelGrid columns="1" cellpadding="0" cellspacing="0">
- <ice:outputLabel for="participantListbox" value="Participant" />
+ <ice:outputLabel for="participantListbox" value="#{bpmModelerMessages['launchpanels.panelHeader.myModelingSession.inviteParticipants.participant']}" />
<ice:selectManyListbox id="participantListbox"
valueChangeListener="#{inviteParticipantsDialog.userChanged}"
partialSubmit="true" size="5" style="margin-top: 5px;">
@@ -345,20 +346,20 @@
<ice:selectBooleanCheckbox id="notifyViaEmailCheckbox"
value="#{inviteParticipantsDialog.notifyViaEmail}" />
<ice:outputLabel for="notifyViaEmailCheckbox"
- value="Notify via E-Mail" />
+ value="#{bpmModelerMessages['launchpanels.panelHeader.myModelingSession.inviteParticipants.notify']}" />
<ice:selectBooleanCheckbox id="notifyViaAlertCheckbox"
value="#{inviteParticipantsDialog.notifyViaAlert}" />
<ice:outputLabel for="notifyViaAlertCheckbox"
- value="Notify via Portal Alert" />
+ value="#{bpmModelerMessages['launchpanels.panelHeader.myModelingSession.inviteParticipants.alert']}" />
</ice:panelGrid>
</ice:panelGrid>
<ice:panelGrid columns="2" cellpadding="0" cellspacing="0"
styleClass="button-grid" style="margin-top: 10px;">
<ice:commandButton type="submit"
action="#{inviteParticipantsDialog.inviteParticipants}"
- value="Invite" style="margin-right: 10px;" />
+ value="#{bpmModelerMessages['launchpanels.panelHeader.myModelingSession.inviteParticipants.invite']}" style="margin-right: 10px;" />
<ice:commandButton type="submit"
- action="#{inviteParticipantsDialog.closePopup}" value="Cancel" />
+ action="#{inviteParticipantsDialog.closePopup}" value="#{bpmModelerMessages['launchpanels.panelHeader.myModelingSession.inviteParticipants.cancel']}" />
</ice:panelGrid>
</ice:panelGrid>
</ice:panelGroup>
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/launchpad/outline.html b/web-modeler/src/main/resources/META-INF/xhtml/launchpad/outline.html
index 20d919a..2f654f7 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/launchpad/outline.html
+++ b/web-modeler/src/main/resources/META-INF/xhtml/launchpad/outline.html
@@ -90,7 +90,7 @@ td#toolbar div.toolSeparator {
<div id="lastSaveStatusPanel">
<table cellpadding="0" cellspacing="0">
<tr>
- <td><span class="label-form">Last Save:</span></td>
+ <td><span class="label-form" id="lastsave">Last Save:</span></td>
<td style="text-align: left;">
<div id="lastSaveDateDisplay">
</div>
@@ -114,7 +114,7 @@ td#toolbar div.toolSeparator {
<div class="toolDiv">
<img id="importModel"
src="../../views-common/images/icons/page_white_get.png"
- title="Import Model" />
+ title="Import test Model" />
</div>
<div class="toolSeparator">
<img src="../../common/images/icons/toolbar-separator.png" />
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/launchpad/sessionLogPanel.html b/web-modeler/src/main/resources/META-INF/xhtml/launchpad/sessionLogPanel.html
index 9e33d50..7d29e88 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/launchpad/sessionLogPanel.html
+++ b/web-modeler/src/main/resources/META-INF/xhtml/launchpad/sessionLogPanel.html
@@ -71,7 +71,7 @@
</div></td>
</tr>
<tr>
- <td><label>Session Log <span id="startTimeSpan"></span></label>
+ <td><label for="sessionlog">Session Log <span id="startTimeSpan"></span></label>
</td>
</tr>
<tr>
@@ -87,7 +87,7 @@
<tr>
<td><label for="chatTextArea">Chat Message to</label></td>
<td><select id="chatAddresseeList" size="1">
- <option value="all">All Participants</option>
+ <!-- <option value="all">All Participants</option> -->
</select>
</td>
</tr>
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/popups/modelFileUploadDialog.xhtml b/web-modeler/src/main/resources/META-INF/xhtml/popups/modelFileUploadDialog.xhtml
index 35250e6..5367539 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/popups/modelFileUploadDialog.xhtml
+++ b/web-modeler/src/main/resources/META-INF/xhtml/popups/modelFileUploadDialog.xhtml
@@ -13,8 +13,8 @@
<f:facet name="header">
<ice:panelGroup style="min-width: 200px;">
- <ice:outputText value="File Upload" styleClass="headerText" rendered="#{modelFileUploadDialog.uploadMode}" />
- <ice:outputText value="Confirmation" styleClass="headerText" rendered="#{!modelFileUploadDialog.uploadMode}" />
+ <ice:outputText value="#{bpmModelerMessages['uploadmodelfile.headerText']}" styleClass="headerText" rendered="#{modelFileUploadDialog.uploadMode}" />
+ <ice:outputText value="#{bpmModelerMessages['uploadmodelfile.message.confirmation']}" styleClass="headerText" rendered="#{!modelFileUploadDialog.uploadMode}" />
<ice:commandButton title="#{common_msgPropsBean['common.close']}"
action="#{modelFileUploadDialog.closePopup}" immediate="true"
styleClass="windowClose" />
@@ -30,7 +30,7 @@
<ice:panelGroup style="width: 350px">
<ice:panelGroup rendered="#{modelFileUploadDialog.uploadMode}">
<ice:panelGroup styleClass="clearing" />
- <ice:outputText value="Upload into My Process Models" styleClass="form-label" />
+ <ice:outputText value="#{bpmModelerMessages['uploadmodelfile.message.upload']}" styleClass="form-label" />
<ice:panelGroup styleClass="clearing" />
<h:outputText
value="#{views_common_msgPropsBean['common.selectFileForUpload']}"
@@ -68,17 +68,17 @@
</ice:panelGroup>
<ice:panelGroup>
<ice:outputText
- value="Process model #{modelFileUploadDialog.uploadedFileName}" />
+ value="#{bpmModelerMessages['uploadmodelfile.message.uploadFileName']}" />
<ice:panelGroup />
<ice:outputText
- value="already exists." />
+ value="#{bpmModelerMessages['uploadmodelfile.message.exists']}" />
<ice:panelGroup styleClass="clearing" />
<ice:panelGroup styleClass="clearing" />
<ice:outputText
- value="Do you want to continue and create a new version of" />
+ value="#{bpmModelerMessages['uploadmodelfile.message.continue']}" />
<ice:panelGroup />
<ice:outputText
- value="the existing process model?" />
+ value="#{bpmModelerMessages['uploadmodelfile.message.existingProcessModel']}" />
<ice:panelGroup styleClass="clearing" />
<ice:panelGroup styleClass="clearing" />
</ice:panelGroup>
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/preferences/modelingConfigurationPanel.xhtml b/web-modeler/src/main/resources/META-INF/xhtml/preferences/modelingConfigurationPanel.xhtml
index 18b2aa5..4b4a8cc 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/preferences/modelingConfigurationPanel.xhtml
+++ b/web-modeler/src/main/resources/META-INF/xhtml/preferences/modelingConfigurationPanel.xhtml
@@ -11,25 +11,25 @@
<ice:panelGroup>
<ice:panelGroup styleClass="heading">
<ice:outputText
- value="Process Modeling Configuration" />
+ value="#{bpmModelerMessages['configuremodeling.panel.heading']}" />
</ice:panelGroup>
<ice:panelGrid columns="1">
<ice:outputText
- value="Changes will only become effective after next login." />
+ value="#{bpmModelerMessages['configuremodeling.panel.changes']}" />
</ice:panelGrid>
<ice:panelGrid columns="2" style="margin-top: 10px;">
<ice:selectBooleanCheckbox partialSubmit="true"
value="#{modelingConfigurationPanel.showTechnologyPreview}"
valueChangeListener="#{modelingConfigurationPanel.showTechnologyPreviewChanged}" />
- <ice:outputLabel value="Show Technology Preview Features" />
+ <ice:outputLabel value="#{bpmModelerMessages['configuremodeling.panel.preview']}" />
</ice:panelGrid>
<ice:panelGrid columns="2" style="margin-top: 10px;">
- <ice:outputLabel value="Default Profile" />
+ <ice:outputLabel value="#{bpmModelerMessages['configuremodeling.panel.defaultProfile']}" />
<ice:selectOneMenu partialSubmit="true"
value="#{modelingConfigurationPanel.defaultProfile}" valueChangeListener="#{modelingConfigurationPanel.defaultProfileChanged}">
<f:selectItem itemValue="BusinessAnalyst"
- itemLabel="Business Analyst" />
- <f:selectItem itemValue="Integrator" itemLabel="Integrator" />
+ itemLabel="#{bpmModelerMessages['launchpanels.profileSelector.list1.businessAnalyst']}" />
+ <f:selectItem itemValue="Integrator" itemLabel="#{bpmModelerMessages['launchpanels.profileSelector.list2.integrator']}" />
</ice:selectOneMenu>
</ice:panelGrid>
</ice:panelGroup>
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/activityControllingPropertiesPage.html b/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/activityControllingPropertiesPage.html
index 08ff9b9..3dacabf 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/activityControllingPropertiesPage.html
+++ b/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/activityControllingPropertiesPage.html
@@ -10,7 +10,8 @@
<title>Controlling</title>
</head>
<body>
- <div class="heading">Controlling</div>
+ <div class="heading" id="activityControling">Controlling</div>
+ <!-- <div id="commentsHeading" class="heading">Comments</div> -->
<table>
<tr>
<td><label for="targetProcessingTimeInput">Target
@@ -18,7 +19,7 @@
<td><input id="targetProcessingTimeInput" type="text"
style="width: 50px;" />
</td>
- <td>h</td>
+ <td id="activityhours3">h</td>
</tr>
<tr>
<td><label for="targetExecutionTimeInput">Target
@@ -26,14 +27,14 @@
<td><input id="targetExecutionTimeInput" type="text"
style="width: 50px;" />
</td>
- <td>h</td>
+ <td id="activityhours2">h</td>
</tr>
<tr>
<td><label for="targetIdleTimeInput">Target Idle Time</label></td>
<td><input id="targetIdleTimeInput" type="text"
style="width: 50px;" />
</td>
- <td>h</td>
+ <td id="activityhours4">h</td>
</tr>
<tr>
<td><label for="targetWaitingTimeInput">Target Waiting
@@ -41,7 +42,7 @@
<td><input id="targetWaitingTimeInput" type="text"
style="width: 50px;" />
</td>
- <td>h</td>
+ <td id="activityhours">h</td>
</tr>
<tr>
<td><label for="targetQueueDepthInput">Target Queue
@@ -56,14 +57,16 @@
per Execution</label></td>
<td><input id="targetCostPerExecutionInput" type="text" class="rightAligned" />
</td>
- <td>$</td>
+ <td id="activitydollar">$</td>
</tr>
<tr>
<td><label for="resourcePerformanceCalculationSelect">Resource
Performance Calculation</label></td>
- <td><select id="resourcePerformanceCalculationSelect"><option
+ <td><select id="resourcePerformanceCalculationSelect">
+
+ <!-- <option
value="included">Included</option>
- <option value="notIncluded">Not Included</option>
+ <option value="notIncluded">Not Included</option> -->
</select>
</td>
<td></td>
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/annotationBasicPropertiesPage.html b/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/annotationBasicPropertiesPage.html
index dfe534a..b10f568 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/annotationBasicPropertiesPage.html
+++ b/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/annotationBasicPropertiesPage.html
@@ -10,7 +10,7 @@
<title>Basic</title>
</head>
<body>
- <div class="heading">Basic</div>
+ <div class="heading" id="annotationbasic">Basic</div>
<table>
<tr>
<td><label for="contentTextarea">Content</label></td>
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/camelApplicationView.html b/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/camelApplicationView.html
index 4c87263..3380251 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/camelApplicationView.html
+++ b/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/camelApplicationView.html
@@ -41,13 +41,13 @@
<td><div id="idOutput" class="output"></div></td>
</tr>
<tr>
- <td><label for="nameInput">Application Name</label></td>
+ <td><label for="nameInput" id="applicationName">Application Name</label></td>
<td><input id="nameInput" type="text"></input></td>
</tr>
</table></td>
</tr>
<tr>
- <td><label for="descriptionTextarea">Description</label>
+ <td><label for="descriptionTextarea" id="description">Description</label>
</td>
</tr>
<tr>
@@ -58,7 +58,7 @@
<td>
<div id="propertiesTabs" style="margin-top: 10px;">
<ul id="propertiesTabsList">
- <li><a href="#configurationTab"><img
+ <li><a href="#configurationTab" id="camelConfiguration"><img
src="../../images/icons/basic-properties-page.png"></img><span
class="tabLabel">Camel Configuration</span> </a>
</li>
@@ -69,10 +69,10 @@
<td>
<table cellpadding="0" cellspacing="0" class="fieldSetTable" style="margin-bottom: 10px;">
<tr>
- <td><label for="endpointTypeSelectInput">Endpoint
+ <td><label for="endpointTypeSelectInput" id="endPointType">Endpoint
Type</label></td>
<td><select id="endpointTypeSelectInput">
- <option value="genericEndpoint">Generic</option>
+ <!-- <option value="genericEndpoint">Generic</option> -->
</select></td>
</tr>
</table>
@@ -87,7 +87,7 @@
<table cellpadding="0" cellspacing="0"
class="fieldSetTable">
<tr>
- <td><label for="camelContextInput">Camel Context</label>
+ <td><label for="camelContextInput" id="camelContext">Camel Context</label>
</td>
<td><input id="camelContextInput" type="text"></input>
</td>
@@ -108,7 +108,7 @@
</td>
</tr>
<tr>
- <td><label for="additionalBeanSpecificationTextarea">Additional
+ <td><label for="additionalBeanSpecificationTextarea" id="addBeanSpec">Additional
Bean Specification</label></td>
</tr>
<tr>
@@ -120,11 +120,11 @@
<td>
<table>
<tr>
- <td><label for="directionInput">Direction</label>
+ <td><label for="directionInput" id="direction">Direction</label>
</td>
<td><select id="directionInput">
- <option value="requestOnly">Request Only</option>
- <option value="requestResponse">Request/Response</option>
+ <!-- <option value="requestOnly">Request Only</option>
+ <option value="requestResponse">Request/Response</option> -->
</select>
</td>
</tr>
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/conditionalPerformerView.html b/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/conditionalPerformerView.html
index bd2370a..3edb84a 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/conditionalPerformerView.html
+++ b/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/conditionalPerformerView.html
@@ -88,11 +88,11 @@
<td><label for="performerTypeSelect">Performer
Type</label></td>
<td><select id="performerTypeSelect">
- <option value="user">User</option>
+ <!-- <option value="user">User</option>
<option value="userGroup">User Group</option>
<option value="modelParticipant">Organization/Role</option>
<option value="modelParticipantOrUserGroup">Organization/Role/User
- Group</option>
+ Group</option> -->
</select>
</td>
</tr>
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/dataView.html b/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/dataView.html
index 1d459a2..74d8ec3 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/dataView.html
+++ b/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/dataView.html
@@ -42,7 +42,7 @@
<td><div id="idOutput" class="output"></div></td>
</tr>
<tr>
- <td><label for="nameInput">Data Name</label></td>
+ <td><label for="nameInput" id="dataName">Data Name</label></td>
<td><input id="nameInput" type="text"></input></td>
</tr>
</table>
@@ -52,7 +52,7 @@
</td>
</tr>
<tr>
- <td><label for="descriptionTextarea">Description</label>
+ <td><label for="descriptionTextarea" id="description">Description</label>
</td>
</tr>
<tr>
@@ -66,7 +66,7 @@
<tr>
<td><input id="publicVisibilityCheckbox" type="checkbox"></input>
</td>
- <td><label for="publicVisibilityCheckbox">Public
+ <td><label for="publicVisibilityCheckbox" id="publicVisibility">Public
Visibility</label></td>
</tr>
</table>
@@ -76,7 +76,7 @@
<td>
<div id="propertiesTabs">
<ul id="propertiesTabsList">
- <li><a href="#dataTypeTab"><img
+ <li><a href="#dataTypeTab" id="dataType"><img
src="../../images/icons/basic-properties-page.png"></img><span
class="tabLabel">Data Type</span> </a>
</li>
@@ -87,36 +87,33 @@
<td>
<table style="margin-top: 10px;">
<tr>
- <td><label for="dataTypeSelect">Data Type</label>
+ <td><label for="dataTypeSelect" id="dataType1">Data Type</label>
</td>
<td><select id="dataTypeSelect" size="1">
</select></td>
</tr>
<tr id="primitiveDataTypeRow">
- <td><label for="primitiveDataTypeSelect" />Primitive
+ <td><label for="primitiveDataTypeSelect" id="primitiveType"/>Primitive
Type</label>
</td>
<td><select id="primitiveDataTypeSelect" size="1">
- <option value="String">Text</option>
+ <!-- <option value="String">Text</option>
<option value="boolean">Boolean (True, False)</option>
<option value="int">Number (e.g. 18756)</option>
<option value="long">Long Number (e.g. 18756)</option>
<option value="double">Scientific (e.g. 3.1415)</option>
<option value="Decimal">Money Amount (e.g.
$4,500,600.42)</option>
- <option value="Calendar">Date (e.g. 14/05/2011)</option>
+ <option value="Calendar">Date (e.g. 14/05/2011)</option> -->
</select>
</td>
</tr>
<tr id="structuredDataTypeRow">
- <td><label for="structuredDataTypeSelect">Structured
- Type</label>
- </td>
- <td><select id="structuredDataTypeSelect" size="1">
+ <td><select id="structuredDataTypeSelect" size="1">
</select></td>
</tr>
<tr id="documentTypeRow">
- <td><label for="documentTypeSelect">Document
+ <td><label for="documentTypeSelect" id="documentType">Document
Type</label></td>
<td><select id="documentTypeSelect" size="1">
</select></td>
@@ -125,13 +122,13 @@
<td colspan="2"><div id="otherTypeName"></div></td>
</tr>
<tr id="primitiveDefaultTextInputRow">
- <td><label for="primitiveDefaultTextInput">Default
+ <td><label for="primitiveDefaultTextInput" id="defaultValue">Default
Value</label></td>
<td><input id="primitiveDefaultTextInput" type="text" />
</td>
</tr>
<tr id="primitiveDefaultCheckboxInputRow">
- <td><label for="primitiveDefaultCheckboxInput">Default
+ <td><label for="primitiveDefaultCheckboxInput" id="defaultValue1">Default
Value</label></td>
<td><input id="primitiveDefaultCheckboxInput"
type="checkbox" /></td>
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/importTypeDeclarationsWizard.html b/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/importTypeDeclarationsWizard.html
index a97bf53..c73e0c6 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/importTypeDeclarationsWizard.html
+++ b/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/importTypeDeclarationsWizard.html
@@ -55,7 +55,8 @@
<table>
<tr>
<td><img src="../../images/icons/wand.png" /></td>
- <td><label>Import Data Structures from XSD or WSDL.</label></td>
+ <td id="import"><label>Import Data Structures from XSD or WSDL.</label>
+ </td>
</tr>
<tr>
<td></td>
@@ -70,7 +71,7 @@
<div style="margin-bottom: 10px;">
<table cellpadding="0" cellspacing="0" class="layoutTable">
<tr>
- <td><label for="urlTextInput">URL</label>
+ <td><label for="urlTextInput" id="url">URL</label>
</td>
<td><input id="urlTextInput" type="text"
style="width: 400px;" />
@@ -83,7 +84,7 @@
</div></td>
</tr>
<tr>
- <td><div class="heading">Data Structure Elements</div>
+ <td><div class="heading" id= "dataStructElement">Data Structure Elements</div>
</td>
</tr>
<tr>
@@ -106,7 +107,7 @@
<table cellpadding="0" cellspacing="0" class="layoutTable">
<tr>
<td><input id="selectAllCheckbox" type="checkbox" title="Select/Deselect All"/>
- <label for="selectAllCheckbox">Select/Deselect All</label>
+ <label for="selectAllCheckbox" id="select">Select/Deselect All</label>
</td>
</tr>
</table>
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/messageTransformationApplicationView.html b/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/messageTransformationApplicationView.html
index 66a3187..35894b5 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/messageTransformationApplicationView.html
+++ b/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/messageTransformationApplicationView.html
@@ -86,7 +86,7 @@
<td><div id="idOutput" class="output"></div></td>
</tr>
<tr>
- <td><label for="nameInput">Application Name</label></td>
+ <td><label for="nameInput" id="application">Application Name</label></td>
<td><input id="nameInput" type="text" style="width: 200px;"></input>
</td>
</tr>
@@ -94,7 +94,7 @@
</td>
</tr>
<tr>
- <td><label for="descriptionTextarea">Description</label></td>
+ <td><label for="descriptionTextarea" id="description">Description</label></td>
</tr>
<tr>
<td><textarea id="descriptionTextarea" cols="40" rows="5"></textarea>
@@ -105,12 +105,12 @@
<td>
<div id="propertiesTabs" style="margin-top: 10px;">
<ul id="propertiesTabsList">
- <li><a href="#configurationTab"><img
+ <li><a href="#configurationTab" id="configuration"><img
src="../../images/icons/basic-properties-page.png"></img><span
class="tabLabel">Configuration</span> </a></li>
<li><a href="#testTab"><img
src="../../images/icons/basic-properties-page.png"></img><span
- class="tabLabel">Test</span> </a></li>
+ class="tabLabel" id="testdata">Test</span> </a></li>
</ul>
<div id="configurationTab">
<table cellpadding="0" cellspacing="0" class="fieldSetTable">
@@ -119,9 +119,9 @@
<table cellpadding="0" cellspacing="0" class="layoutTable">
<tr valign="top">
<td>
- <div class="heading" style="margin-bottom: 5px;">Source
+ <div class="heading" id="sourcemessage" style="margin-bottom: 5px;">Source
Message</div></td>
- <td><div class="heading"
+ <td><div class="heading" id="targetmessage"
style="margin-bottom: 5px; margin-left: 10px;">Target
Message</div></td>
</tr>
@@ -160,8 +160,8 @@
style="width: 500px;">
<thead>
<tr>
- <th style="width: 400px;">Element</th>
- <th style="width: 100px;">Type</th>
+ <th style="width: 400px;" id="element">Element</th>
+ <th style="width: 100px;" id="type">Type</th>
</tr>
</thead>
<tbody />
@@ -202,8 +202,8 @@
type="image" src="../../images/bulb-off.gif"
title="Display highlighted and non-highlighted fields" />
</td>
- <td><input type="image"
- src="../../images/error.gif"
+ <td><input id="filterFieldsWithMappingInvalid"
+ type="image" src="../../images/error.gif"
title="Display only fields whose mapping expression is invalid" />
</td>
<td><input id="targetFilterInput" type="text"
@@ -220,10 +220,10 @@
style="width: 900px;">
<thead>
<tr>
- <th style="width: 400px;">Element</th>
- <th style="width: 100px;">Type</th>
- <th style="width: 200px;">Mapping</th>
- <th style="width: 200px;">Problem</th>
+ <th style="width: 400px;" id="element1">Element</th>
+ <th style="width: 100px;" id="type1">Type</th>
+ <th style="width: 200px;" id="mapping">Mapping</th>
+ <th style="width: 200px;" id="problem">Problem</th>
</tr>
</thead>
<tbody />
@@ -236,7 +236,7 @@
</tr>
<tr>
<td colspan="2"><div class="heading"
- style="margin-top: 10px;">Advanced Mapping</div></td>
+ id= advancedMapping style="margin-top: 10px;">Advanced Mapping</div></td>
</tr>
<tr>
<td colspan="2"><div id="elementIndicatorText">&nbsp;</div>
@@ -268,7 +268,7 @@
</table></td>
</tr>
<tr>
- <td><label for="inputDataTextArea">Input Data</label>
+ <td><label for="inputDataTextArea" id="inputData">Input Data</label>
</td>
</tr>
<tr>
@@ -276,7 +276,7 @@
style="width: 680px;"></textarea></td>
</tr>
<tr>
- <td><label for="outputDataTable">Output Data</label>
+ <td><label for="outputDataTable" id="outputData">Output Data</label>
</td>
</tr>
<tr>
@@ -296,14 +296,14 @@
style="min-width: 300px; min-height: 200px;">
<table>
<tr>
- <td><label for="typeSelectInput">Type:</label>
+ <td><label for="typeSelectInput" id="type">Type:</label>
</td>
<td><select id="typeSelectInput">
</select>
</td>
</tr>
<tr>
- <td><label for="nameTextInput">Name:</label>
+ <td><label for="nameTextInput" id="name">Name:</label>
</td>
<td><input id="nameTextInput" type="text" />
</td>
@@ -325,14 +325,14 @@
style="min-width: 300px; min-height: 200px;">
<table>
<tr>
- <td><label for="typeSelectInput">Type:</label>
+ <td><label for="typeSelectInput" id="type">Type:</label>
</td>
<td><select id="typeSelectInput">
</select>
</td>
</tr>
<tr>
- <td><label for="nameTextInput">Name:</label>
+ <td><label for="nameTextInput" id="name">Name:</label>
</td>
<td><input id="nameTextInput" type="text" />
</td>
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/modelElementCommentsPropertiesPage.html b/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/modelElementCommentsPropertiesPage.html
index f71e10f..982bf8f 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/modelElementCommentsPropertiesPage.html
+++ b/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/modelElementCommentsPropertiesPage.html
@@ -1,4 +1,4 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
@@ -16,9 +16,10 @@
.commentContentSpan {
}
</style>
+
</head>
<body>
- <div class="heading">Comments</div>
+ <div id="commentsHeading" class="heading">Comments</div>
<table>
<tr>
<td>
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/modelView.html b/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/modelView.html
index abcc051..2fc10eb 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/modelView.html
+++ b/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/modelView.html
@@ -41,7 +41,7 @@
<td><div id="idOutput" class="output"></div></td>
</tr>
<tr>
- <td><label for="nameInput">Name</label></td>
+ <td><label for="nameInput" id ="name">Name</label></td>
<td><input id="nameInput" type="text"
style="width: 200px;"></input></td>
</tr>
@@ -82,10 +82,10 @@
class="tabLabel">Versioning</span> </a></li> -->
<li><a href="#accessControlTab"><img
src="../../images/icons/basic-properties-page.png"></img><span
- class="tabLabel">Access Control</span> </a></li>
+ class="tabLabel" id="accesscontrol">Access Control</span> </a></li>
<li><a href="#problemsTab"><img
src="../../images/icons/error.png"></img><span
- class="tabLabel">Problems</span> </a></li>
+ class="tabLabel" id="problem">Problems</span> </a></li>
</ul>
<!-- <div id="versioningTab">
<div class="panelBorder" style="margin-bottom: 10px;">
@@ -141,15 +141,10 @@
<div id="markReadonlyPanel">
<table cellpadding="0" cellspacing="0" class="layoutTable">
<tr>
- <td>You can mark a model as readonly to protect it
- against changes if you have Administrator rights. This
- operation is a shortcut to revoke all update and delete
- permissions for users not being assigned to the Administrator
- role.</td>
+ <td id="modeltext1"></td>
</tr>
<tr>
- <td style="padding-top: 10px;"><a id="markReadonlyLink">Mark
- readonly &raquo;</a>
+ <td style="padding-top: 10px;"><a id="markReadonlyLink"><span id="markreadonly"></span> &raquo;</a>
</td>
</tr>
</table>
@@ -157,14 +152,11 @@
<div id="markWritablePanel" class="invisible">
<table cellpadding="0" cellspacing="0" class="layoutTable">
<tr>
- <td>This model is marked readonly. You can remove the
- readonly state if you have Administrator rights. This
- operation is a shortcut to grant all update and delete
- permissions to all users.</td>
+ <td id="modeltext2"></td>
</tr>
<tr>
<td style="padding-top: 10px;"><a id="markWriteableLink"
- style="margin-top: 10px;">Mark writeable &raquo;</a>
+ style="margin-top: 10px;"><span id="markwritable"></span> &raquo;</a>
</td>
</tr>
</table>
@@ -188,9 +180,9 @@
style="width: 1050px;">
<thead>
<tr>
- <th style="width: 50px;">Severity</th>
- <th style="width: 500px;">Element</th>
- <th style="width: 500px;">Description</th>
+ <th style="width: 50px;" id="severity">Severity</th>
+ <th style="width: 500px;" id="element">Element</th>
+ <th style="width: 500px;" id="description">Description</th>
</tr>
</thead>
<tbody />
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/modelingWorkAssignmentView.xhtml b/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/modelingWorkAssignmentView.xhtml
index d11edb9..3b65507 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/modelingWorkAssignmentView.xhtml
+++ b/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/modelingWorkAssignmentView.xhtml
@@ -9,23 +9,23 @@
<body>
<ice:panelGroup style="margin: 10px;">
<ice:panelGroup styleClass="heading">
- <ice:outputText value="Modeling Work Assignment" />
+ <ice:outputText value="#{bpmModelerMessages['modeling.workassignment.view.heading']}" />
</ice:panelGroup>
<ice:panelGrid columns="1" cellpadding="0" cellspacing="0"
style="margin-top: 10px; margin-bottom: 20px;">
<ice:outputText
- value="You can use our &lt;b&gt;Consulting Network&lt;/b&gt; to get help with modeling work. Describe your request below and submit the request."
+ value="#{bpmModelerMessages['modeling.workassignment.view.informationMsg']}"
escape="false" />
</ice:panelGrid>
<ice:panelGrid columns="1" cellpadding="0" cellspacing="0">
<ice:inputRichText />
</ice:panelGrid>
<ice:panelGroup styleClass="heading">
- <ice:outputText value="Consulting Fee Models" />
+ <ice:outputText value="#{bpmModelerMessages['modeling.workassignment.view.feeModel']}" />
</ice:panelGroup>
<ice:panelGroup>
<ice:outputText
- value="The following consulting fee models apply to modeling support. Please select your preference" />
+ value="#{bpmModelerMessages['modeling.workassignment.view.feeModel.message']}" />
</ice:panelGroup>
<ice:panelGrid columns="1" cellpadding="0" cellspacing="0"
style="margin-top: 20px;">
@@ -39,13 +39,13 @@
</ice:selectOneRadio>
</ice:panelGrid>
<ice:panelGroup styleClass="heading">
- <ice:outputText value="Terms and Conditions" />
+ <ice:outputText value="#{bpmModelerMessages['modeling.workassignment.view.termsAndConditions']}" />
</ice:panelGroup>
<ice:panelGrid columns="2" cellpadding="0" cellspacing="0"
style="margin-top: 20px;">
<ice:selectBooleanCheckbox id="acknowledgeTermsAndConditionsCheckbox" />
<ice:panelGroup>
- <ice:outputText value="Confirm that you have read and accept the " />
+ <ice:outputText value="#{bpmModelerMessages['modeling.workassignment.view.acceptTerms']}" />
<ice:outputLink value="http://www.sungard.com">Terms and Conditions.</ice:outputLink>
</ice:panelGroup>
</ice:panelGrid>
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/modelingWorklistView.xhtml b/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/modelingWorklistView.xhtml
index 70b20cd..c7a9bd3 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/modelingWorklistView.xhtml
+++ b/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/modelingWorklistView.xhtml
@@ -9,24 +9,24 @@
<body>
<ice:panelGroup style="margin: 10px;">
<ice:panelGroup styleClass="heading">
- <ice:outputText value="Modeling Work Overview" />
+ <ice:outputText value="#{bpmModelerMessages['modeling.worklist.overview.heading']}" />
</ice:panelGroup>
<ice:panelGroup>
- <ice:outputText value="Select a model" />
+ <ice:outputText value="#{bpmModelerMessages['modeling.worklist.overview.select']}" />
</ice:panelGroup>
<ice:panelGrid columns="2" cellpadding="0" cellspacing="0"
style="margin-top: 20px;">
<ice:panelGrid columns="1" cellpadding="0" cellspacing="0">
<ice:panelGroup styleClass="heading">
- <ice:outputText value="Modeling Activities" />
+ <ice:outputText value="#{bpmModelerMessages['modeling.worklist.overview.activities.heading']}" />
</ice:panelGroup>
<ice:panelGroup styleClass="heading">
- <ice:outputText value="Modeling Documentation" />
+ <ice:outputText value="#{bpmModelerMessages['modeling.worklist.overview.documentation.heading']}" />
</ice:panelGroup>
</ice:panelGrid>
<ice:panelGrid columns="1" cellpadding="0" cellspacing="0">
<ice:panelGroup styleClass="heading">
- <ice:outputText value="Notes" />
+ <ice:outputText value="#{bpmModelerMessages['modeling.worklist.overview.notes.heading']}" />
</ice:panelGroup>
</ice:panelGrid>
</ice:panelGrid>
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/organizationView.html b/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/organizationView.html
index 2627a24..55efc6c 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/organizationView.html
+++ b/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/organizationView.html
@@ -42,7 +42,7 @@
</td>
</tr>
<tr>
- <td><label for="nameInput">Organization Name</label>
+ <td><label for="nameInput" id="organizationName">Organization Name</label>
</td>
<td><input id="nameInput" type="text"></input>
</td>
@@ -50,7 +50,7 @@
</table></td>
</tr>
<tr>
- <td><label for="descriptionTextarea">Description</label></td>
+ <td><label for="descriptionTextarea" id="description">Description</label></td>
</tr>
<tr>
<td><textarea id="descriptionTextarea" cols="40" rows="5"></textarea>
@@ -73,12 +73,13 @@
<td>
<div id="propertiesTabs">
<ul id="propertiesTabsList">
- <li><a href="#departmentTab"><img src="../../images/icons/basic-properties-page.png"></img><span class="tabLabel">Department</span></a></li>
- <li><a href="#teamLeadTab"><img src="../../images/icons/team-lead-properties-page.png"></img><span class="tabLabel">Team Lead</span></a></li>
- <li><a href="#assignmentTab"><img src="../../images/icons/activity.png"></img><span class="tabLabel">Activity Assignment</span></a></li>
- <li><a href="#controllingTab"><img src="../../images/icons/controlling-properties-page.png"></img><span class="tabLabel">Controlling</span></a></li>
+ <li><a href="#departmentTab"><img src="../../images/icons/basic-properties-page.png"></img><span class="tabLabel" id="deptartment">Department</span></a></li>
+ <li><a href="#teamLeadTab"><img src="../../images/icons/team-lead-properties-page.png"></img><span class="tabLabel" id="teamlead">Team Lead</span></a></li>
+ <li><a href="#assignmentTab"><img src="../../images/icons/activity.png"></img><span class="tabLabel" id="activityassignment">Activity Assignment</span></a></li>
+ <li><a href="#controllingTab"><img src="../../images/icons/controlling-properties-page.png"></img><span class="tabLabel" id="controlling">Controlling</span></a></li>
</ul>
<div id="departmentTab">
+
<table cellpadding="0" cellspacing="0" class="fieldSetTable">
<tr>
<td><input id="supportsDepartmentsCheckbox"
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/processDefinitionProcessAttachmentsPropertiesPage.html b/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/processDefinitionProcessAttachmentsPropertiesPage.html
index 1489677..e0dd034 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/processDefinitionProcessAttachmentsPropertiesPage.html
+++ b/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/processDefinitionProcessAttachmentsPropertiesPage.html
@@ -10,7 +10,7 @@
<title>Process Attachments</title>
</head>
<body>
- <div class="heading">Process Attachments</div>
+ <div class="heading" id="propertiesText">Process Attachment</div>
<table>
<tr>
<td><input id="supportsAttachmentsInput" type="checkbox"/>
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/processDefinitionView.html b/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/processDefinitionView.html
index 5d94c93..1205282 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/processDefinitionView.html
+++ b/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/processDefinitionView.html
@@ -126,14 +126,13 @@
</td>
</tr>
<tr>
- <td><label for="nameInput">Name</label></td>
- <td><input id="nameInput" type="text" />
- </td>
+ <td id="nameInput"><label for="nameInput">Name</label></td>
+ <td><input id="nameInput" type="text" /></td>
</tr>
</table>
<table>
<tr>
- <td><label for="descriptionInput">Description</label>
+ <td id="description"><label for="descriptionInput">Description</label>
</td>
</tr>
<tr>
@@ -174,7 +173,7 @@
<table width="100%" cellpadding="0" cellspacing="0"
class="layoutTable">
<tr>
- <td><div class="toolBar">
+ <td><div class="toolBar" >
<table>
<tr>
<td><input
@@ -221,7 +220,7 @@
</tr>
<tr>
<td>
- <table>
+ <table id="directionlistTable">
<tr>
<td><input id="addParameterDefinitionButton"
type="image" src="../../images/icons/add.png"
@@ -297,20 +296,23 @@
<table>
<tr>
<td>
- <table>
+ <table id="processdefinationselect">
<tr>
<td><label
for="processInterfaceTypeSelectInput">Type</label>
</td>
<td><select
- id="processInterfaceTypeSelectInput"><option
+ id="processInterfaceTypeSelectInput">
+
+ <!-- <option
value="noProcessInterface">No Process
Interfaces</option>
<option value="providesProcessInterface">Provides
Process Interface</option>
- <!-->option value="implementsProcessInterface">Implements
- Process Interface</option-->
- </select></td>
+ <option value="implementsProcessInterface">Implements
+ Process Interface</option> -->
+ </select>
+ </td>
</tr>
</table></td>
</tr>
@@ -489,7 +491,7 @@
<table id="activityPropertiesPanelTable">
<tr>
<td>
- <div class="propertiesPanelTitle">Activity</div>
+ <div class="propertiesPanelTitle" id="activityheading">Activity</div>
</td>
</tr>
<tr id="errorMessagesRow">
@@ -516,14 +518,13 @@
<td><div id="idOutput" class="output" /></td>
</tr>
<tr>
- <td><label for="nameInput">Name</label>
- </td>
+ <td><label for="nameInput" id="name">Name</label></td>
<td><input id="nameInput" type="text" /></td>
</tr>
</table>
- <table>
+ <table id="activitydescription">
<tr>
- <td><label for="descriptionInput">Description</label>
+ <td><label for="descriptionInput" id="description">Description</label>
</td>
</tr>
<tr>
@@ -556,21 +557,21 @@
<tr>
<td><input id="hibernateInitiallyInput"
type="checkbox" /></td>
- <td><label for="hibernateInitiallyInput">Hibernate
+ <td><label for="hibernateInitiallyInput" id ="hibernate">Hibernate
Initially</label>
</td>
</tr>
<tr>
<td><input id="supportsRelocationInput"
type="checkbox" /></td>
- <td><label for="supportsRelocationInput">Supports
+ <td><label for="supportsRelocationInput" id="supportsRelocation">Supports
Relocation</label>
</td>
</tr>
<tr>
<td><input id="isRelocationTargetInput"
type="checkbox" /></td>
- <td><label for="isRelocationTargetInput">Is
+ <td><label for="isRelocationTargetInput" id ="isRelocationTarget">Is
Relocation Target</label>
</td>
</tr>
@@ -579,7 +580,7 @@
<tr>
<td><input id="userTaskInput" type="radio" />
</td>
- <td><label for="userTaskInput">User Task</label>
+ <td><label for="userTaskInput" id="userTask">User Task</label>
</td>
<td><select id="userApplicationList" size="1">
</select>
@@ -593,7 +594,7 @@
<tr>
<td><input id="applicationInput" type="radio" />
</td>
- <td><label for="applicationInput">Script
+ <td><label for="applicationInput" id="scriptTask">Script
Task</label>
</td>
<td><select id="applicationList" size="1">
@@ -603,7 +604,7 @@
<tr>
<td><input id="subprocessInput" type="radio" />
</td>
- <td><label for="subprocessInput">Subprocess</label>
+ <td><label for="subprocessInput" id="subprocess">Subprocess</label>
</td>
<td><select id="subprocessList" size="1">
</select>
@@ -735,7 +736,7 @@
<table cellpadding="0" cellspacing="0" class="layoutTable">
<tr>
<td>
- <div class="propertiesPanelTitle">Event</div>
+ <div class="propertiesPanelTitle" id="event">Event</div>
</td>
</tr>
<tr>
@@ -750,7 +751,7 @@
<td id="propertiesPagesCell">
<div id="basicPropertiesPage" class="propertiesPage">
<div class="heading">General Properties</div>
- <table>
+ <table id="annotationName">
<tr id="guidOutputRow">
<td><label for="guidOutput">UUID</label></td>
<td><div id="guidOutput" class="output" /></td>
@@ -765,7 +766,7 @@
<td><input type="text" id="nameInput" /></td>
</tr>
</table>
- <table>
+ <table id="annotationdesc">
<tr>
<td><label for="descriptionInput">Description:</label>
</td>
@@ -779,7 +780,7 @@
<div id="startEventPanel" style="margin-top: 10px;">
<table>
<tr>
- <td><label for="eventTypeSelectInput">Event
+ <td><label for="eventTypeSelectInput">Event
Type</label>
</td>
<td><select id="eventTypeSelectInput" style="margin-bottom: 10px;"/>
@@ -803,7 +804,7 @@
<table cellpadding="0" cellspacing="0" class="layoutTable">
<tr>
<td>
- <div class="propertiesPanelTitle">Gateway</div>
+ <div class="propertiesPanelTitle" id="gatewayid" >Gateway</div>
</td>
</tr>
<tr>
@@ -818,7 +819,7 @@
<td id="propertiesPagesCell">
<div id="basicPropertiesPage" class="propertiesPage">
<div class="heading">General Properties</div>
- <table>
+ <table id="gatewayName">
<tr id="guidOutputRow">
<td><label for="guidOutput">UUID</label>
</td>
@@ -834,7 +835,7 @@
<td><input type="text" id="nameInput" /></td>
</tr>
</table>
- <table>
+ <table id="gatewayDesc">
<tr>
<td><label for="descriptionInput">Description</label>
</td>
@@ -858,14 +859,14 @@
</td>
</tr>
</table>
- <table>
+ <table id=gatewaytypeinputselect>
<tr>
<td><label for="gatewayTypeInput">Gateway
Type</label>
</td>
<td><select id="gatewayTypeInput" size="1">
- <option value="and">AND</option>
- <option value="xor">XOR</option>
+ <!-- <option value="and">AND</option>
+ <option value="xor">XOR</option> -->
<!-->option value="or">OR</option-->
</select></td>
</tr>
@@ -879,10 +880,10 @@
<tr>
<td>
<div id="dataPropertiesPanel" class="propertiesPanel">
- <table cellpadding="0" cellspacing="0" class="layoutTable">
+ <table cellpadding="0" id="dataopendataview" cellspacing="0" class="layoutTable">
<tr>
<td>
- <div class="propertiesPanelTitle">Data</div>
+ <div class="propertiesPanelTitle" id="dataid">Data</div>
</td>
</tr>
<tr>
@@ -903,7 +904,7 @@
<td id="propertiesPagesCell">
<div id="basicPropertiesPage" class="propertiesPage">
<div class="heading">General Properties</div>
- <table>
+ <table id="dataname">
<tr>
<tr id="guidOutputRow">
<td><label for="guidOutput">UUID</label></td>
@@ -920,7 +921,7 @@
</td>
</tr>
</table>
- <table>
+ <table id="datadescription">
<tr>
<td><label for="descriptionInput">Description</label>
</td>
@@ -931,7 +932,7 @@
</td>
</tr>
</table>
- <table cellpadding="0" cellspacing="0"
+ <table cellpadding="0" cellspacing="0" id="datapublicvisibility"
class="fieldSetTable" style="margin-bottom: 10px;">
<tr>
<td><input id="publicVisibilityCheckbox"
@@ -953,8 +954,8 @@
</td>
</tr>
</table>
- <table style="margin-top: 10px;">
- <tr>
+ <table id="datatableid" style="margin-top: 10px;">
+ <tr id="datatypeid">
<td><label for="dataTypeSelect">Data Type</label>
</td>
<td><select id="dataTypeSelect" size="1">
@@ -962,10 +963,10 @@
</td>
</tr>
<tr id="primitiveDataTypeRow">
- <td><label for="primitiveDataTypeSelect" />Primitive
+ <td><label for="primitiveDataTypeSelect" />Primitive
Type</label></td>
<td><select id="primitiveDataTypeSelect" size="1">
- <option value="String">Text</option>
+ <!-- <option value="String">Text</option>
<option value="boolean">Boolean (True,
False)</option>
<option value="int">Number (e.g. 18756)</option>
@@ -976,7 +977,7 @@
<option value="Decimal">Money Amount (e.g.
$4,500,600.42)</option>
<option value="Calendar">Date (e.g.
- 14/05/2011)</option>
+ 14/05/2011)</option> -->
</select></td>
</tr>
<tr id="structuredDataTypeRow">
@@ -1029,7 +1030,7 @@
<table cellpadding="0" cellspacing="0" class="layoutTable">
<tr>
<td>
- <div class="propertiesPanelTitle">Annotation</div>
+ <div class="propertiesPanelTitle" id="annotationheading">Annotation</div>
</td>
</tr>
<tr>
@@ -1296,21 +1297,21 @@
</td>
</tr>
<tr>
- <td><label for="nameInput">Name:</label></td>
+ <td><label for="nameInput" id="dataname">Name:</label></td>
<td><input type="text" id="nameInput"
style="width: 218px;" /> <!-- Added width attr to make all textbox of lane properteies alligned -->
</td>
</tr>
<!-- Hidden as currently we don't have description for swimlanes -->
<tr style="display: none">
- <td><label for="descriptionInput">Description:</label>
+ <td><label for="descriptionInput" id="datadesc">Description:</label>
</td>
<td><textarea id="descriptionInput" cols="29"
rows="5" style="width: 218px;"></textarea> <!-- Added width attr to make all textbox of lane alligned -->
</td>
</tr>
<tr>
- <td><label for="manualInput">Participant:</label>
+ <td><label for="manualInput" id="participantdata">Participant:</label>
</td>
<td><select id="participantList" size="1"
style="width: 224px;">
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/roleView.html b/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/roleView.html
index 9a9d47f..bd165d8 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/roleView.html
+++ b/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/roleView.html
@@ -39,14 +39,14 @@
<td><div id="idOutput" class="output"></div></td>
</tr>
<tr>
- <td><label for="nameInput">Role Name</label></td>
+ <td><label for="nameInput" id ="roleName">Role Name</label></td>
<td><input id="nameInput" type="text"></input></td>
</tr>
</table>
</td>
</tr>
<tr>
- <td><label for="descriptionTextarea">Description</label>
+ <td><label for="descriptionTextarea" id="description">Description</label>
</td>
</tr>
<tr>
@@ -80,8 +80,8 @@
<td>
<div id="propertiesTabs">
<ul id="propertiesTabsList">
- <li><a href="#assignmentTab"><img src="../../images/icons/activity.png"></img><span class="tabLabel">Activity Assignment</span></a></li>
- <li><a href="#controllingTab"><img src="../../images/icons/controlling-properties-page.png"></img><span class="tabLabel">Controlling</span></a></li>
+ <li><a href="#assignmentTab"><img src="../../images/icons/activity.png"></img><span class="tabLabel" id="activityAssignment">Activity Assignment</span></a></li>
+ <li><a href="#controllingTab"><img src="../../images/icons/controlling-properties-page.png"></img><span class="tabLabel" id="controlling">Controlling</span></a></li>
</ul>
<div id="assignmentTab">
<table cellpadding="0" cellspacing="0" class="fieldSetTable"
@@ -105,7 +105,7 @@
<td><input id="workingWeeksPerYearInput" type="text"
class="rightAligned" style="width: 50px;" />
</td>
- <td>Weeks</td>
+ <td id="weekstext">Weeks</td>
</tr>
<tr>
<td><label for="targetWorktimePerDayInput">Target
@@ -113,14 +113,14 @@
<td><input id="targetWorktimePerDayInput" type="text"
class="rightAligned" style="width: 50px;" />
</td>
- <td>h</td>
+ <td id="hours2">h</td>
</tr>
<tr>
<td><label for="targetWorktimePerWeekInput">Target Worktime per Week</label></td>
<td><input id="targetWorktimePerWeekInput" type="text"
class="rightAligned" style="width: 50px;" />
</td>
- <td>h</td>
+ <td id="hours">h</td>
</tr>
<tr>
<td><label for="targetQueueDepthInput">Target
@@ -134,7 +134,7 @@
<td><label for="actualCostPerMinuteInput">Actual Cost per Minute</label></td>
<td><input id="actualCostPerMinuteInput" type="text" class="rightAligned" style="width: 50px;"/>
</td>
- <td>$</td>
+ <td id="dollar">$</td>
</tr>
</table>
</div>
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/uiMashupApplicationView.html b/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/uiMashupApplicationView.html
index 815e484..edb7074 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/uiMashupApplicationView.html
+++ b/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/uiMashupApplicationView.html
@@ -43,7 +43,7 @@
</td>
</tr>
<tr>
- <td><label for="nameInput">Application Name</label>
+ <td><label for="nameInput" id="applicationName">Application Name</label>
</td>
<td><input id="nameInput" type="text" style="width: 200px;"></input>
</td>
@@ -51,7 +51,7 @@
</table></td>
</tr>
<tr>
- <td><label for="descriptionTextarea">Description</label>
+ <td><label for="descriptionTextarea" id="description">Description</label>
</td>
</tr>
<tr>
@@ -62,7 +62,7 @@
<td>
<div id="propertiesTabs" style="margin-top: 10px;">
<ul id="propertiesTabsList">
- <li><a href="#configurationTab"><img
+ <li><a href="#configurationTab" id="configuration"><img
src="../../images/icons/basic-properties-page.png"></img><span
class="tabLabel">Configuration</span> </a></li>
</ul>
@@ -73,7 +73,7 @@
<table cellpadding="0" cellspacing="0" class="fieldSetTable"
style="margin-bottom: 10px;">
<tr>
- <td><label for="urlInput">URL</label>
+ <td><label for="urlInput" id="url">URL</label>
</td>
<td><table>
<tr>
@@ -92,7 +92,7 @@
</tr>
<tr>
<td>
- <div class="heading">Parameter Definitions</div></td>
+ <div class="heading" id="paramDef">Parameter Definitions</div></td>
</tr>
<tr>
<td>
@@ -135,42 +135,43 @@
<td></td>
</tr>
<tr>
- <td><label for="parameterDefinitionNameInput">Name</label>
+ <td><label for="parameterDefinitionNameInput" id="name">Name</label>
</td>
<td><input id="parameterDefinitionNameInput"
type="text" /></td>
</tr>
<tr>
- <td><label for="parameterDefinitionDirectionSelect">Direction</label>
+ <td><label for="parameterDefinitionDirectionSelect" id="direction">Direction</label>
</td>
<td><select id="parameterDefinitionDirectionSelect">
- <option value="IN">In</option>
+ <!-- <option value="IN">In</option>
<option value="OUT">Out</option>
+ <option value="INOUT">In/Out</option> -->
</select>
</td>
</tr>
<tr>
- <td><label for="dataTypeSelect">Data Type</label></td>
+ <td><label for="dataTypeSelect" id="dataType">Data Type</label></td>
<td><select id="dataTypeSelect" size="1">
- <option value="primitive">Primitive</option>
+ <!-- <option value="primitive">Primitive</option>
<option value="struct">Data Structure</option>
<option value="dmsDocument">Document</option>
- <option value="other">Other</option>
+ <option value="other">Other</option> -->
</select>
</td>
</tr>
<tr id="primitiveDataTypeRow">
- <td><label for="primitiveDataTypeSelect" />Primitive
+ <td><label for="primitiveDataTypeSelect" id="primitiveType"/>Primitive
Type</label></td>
<td><select id="primitiveDataTypeSelect" size="1">
- <option value="String">Text</option>
+ <!-- <option value="String">Text</option>
<option value="boolean">Boolean (True, False)</option>
<option value="int">Number (e.g. 18756)</option>
<option value="long">Long Number (e.g. 18756)</option>
<option value="double">Scientific (e.g. 3.1415)</option>
<option value="Decimal">Money Amount (e.g.
$4,500,600.42)</option>
- <option value="Calendar">Date (e.g. 14/05/2011)</option>
+ <option value="Calendar">Date (e.g. 14/05/2011)</option> -->
</select></td>
</tr>
<tr id="structuredDataTypeRow">
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/webServiceApplicationView.html b/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/webServiceApplicationView.html
index 118bbef..f1e6c5e 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/webServiceApplicationView.html
+++ b/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/webServiceApplicationView.html
@@ -43,7 +43,7 @@
</td>
</tr>
<tr>
- <td><label for="nameInput">Application Name</label>
+ <td><label for="nameInput" id="application">Application Name</label>
</td>
<td><input id="nameInput" type="text"></input>
</td>
@@ -51,7 +51,7 @@
</table></td>
</tr>
<tr>
- <td><label for="descriptionTextarea">Description</label>
+ <td><label for="descriptionTextarea" id="description">Description</label>
</td>
</tr>
<tr>
@@ -64,7 +64,7 @@
<ul id="propertiesTabsList">
<li><a href="#configurationTab"><img
src="../../images/icons/basic-properties-page.png"></img><span
- class="tabLabel">Configuration</span> </a>
+ class="tabLabel" id="configuration">Configuration</span> </a>
</li>
</ul>
<div id="configurationTab">
@@ -74,7 +74,7 @@
<table cellpadding="0" cellspacing="0" class="fieldSetTable"
style="margin-bottom: 10px;">
<tr>
- <td><label for="wsdlUrlInput">WSDL URL</label>
+ <td><label for="wsdlUrlInput" id="wsdlurl">WSDL URL</label>
</td>
<td><table>
<tr>
@@ -89,37 +89,37 @@
</td>
</tr>
<tr>
- <td><label for="serviceSelect">Service</label>
+ <td><label for="serviceSelect" id="service">Service</label>
</td>
<td><select id="serviceSelect"></select>
</td>
</tr>
<tr>
- <td><label for="portSelect">Port</label>
+ <td><label for="portSelect" id="port">Port</label>
</td>
<td><select id="portSelect"></select>
</td>
</tr>
<tr>
- <td><label for="operationSelect">Operation</label>
+ <td><label for="operationSelect" id="operation">Operation</label>
</td>
<td><select id="operationSelect"></select>
</td>
</tr>
<tr>
- <td><label for="styleOutput">Style</label>
+ <td><label for="styleOutput" id="style">Style</label>
</td>
<td><div id="styleOutput" class="output"></div>
</td>
</tr>
<tr>
- <td><label for="protocolOutput">Protocol</label>
+ <td><label for="protocolOutput" id="protocal">Protocol</label>
</td>
<td><div id="protocolOutput" class="output"></div>
</td>
</tr>
<tr>
- <td><label for="useOutput">Use</label>
+ <td><label for="useOutput" id="use">Use</label>
</td>
<td><div id="useOutput" class="output"></div>
</td>
@@ -128,7 +128,7 @@
<table class="layoutTable">
<tr>
<td>
- <div class="heading">Implementation</div>
+ <div class="heading" id="implementation">Implementation</div>
<table style="margin-bottom: 10px;">
<tr>
<td>
@@ -137,8 +137,8 @@
<tr>
<td><input id="addressingInput" type="checkbox"></input>
</td>
- <td><label for="addressingInput">Include
- WS-Addressing EPR</label>
+ <td><div id="includedAddressing"><label for="addressingInput">Include
+ WS-Addressing EPR</label></div>
</td>
</tr>
</table>
@@ -147,19 +147,26 @@
<tr>
<td><table class="fieldSetTable">
<tr>
- <td><label for="implementationSelect">Implementation</label>
+ <td><label for="implementationSelect" id="implementation1">Implementation</label>
</td>
- <td><select id="implementationSelect"><option
- value="generic">Generic Resource</option>
+ <td>
+
+ <select id="implementationSelect">
+
+ <!-- <option
+ value="generic"><span>Generic Resource</span></option>
<option value="carnot">Infinity Specific</option>
- </select></td>
+ -->
+ </select>
+
+ </td>
</tr>
</table></td>
</tr>
</table>
</td>
<td style="padding-left: 10px;">
- <div class="heading">Security</div>
+ <div class="heading" id="security">Security</div>
<table style="margin-bottom: 10px;">
<tr>
<td>
@@ -168,7 +175,7 @@
<tr>
<td><input id="authenticationInput"
type="checkbox"></input></td>
- <td><label for="authenticationInput">Authentication
+ <td><label for="authenticationInput" id=authenticationReq>Authentication
Required</label></td>
</tr>
</table>
@@ -177,15 +184,18 @@
<tr>
<td><table class="fieldSetTable">
<tr>
- <td><label for="mechanismSelect">Mechanism</label>
+ <td><label for="mechanismSelect" id="mechanism">Mechanism</label>
</td>
- <td><select id="mechanismSelect"><option
+ <td><select id="mechanismSelect">
+
+ <!-- <option
value="basic">HTTP Basic Authorization</option>
<option value="ws-security">WS-Security</option>
+ -->
</select></td>
</tr>
<tr>
- <td><label for="variantSelect">Variant</label></td>
+ <td><label for="variantSelect" id="variant">Variant</label></td>
<td><select id="variantSelect"></select></td>
</tr>
</table></td>
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/xsdStructuredDataTypeView.html b/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/xsdStructuredDataTypeView.html
index 778b93b..fbc7549 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/xsdStructuredDataTypeView.html
+++ b/web-modeler/src/main/resources/META-INF/xhtml/views/modeler/xsdStructuredDataTypeView.html
@@ -49,7 +49,7 @@
<td><div id="idOutput" class="output"></div></td>
</tr>
<tr>
- <td><label for="nameInput">Data Structure Name</label></td>
+ <td><label for="nameInput" id="dataStructName">Data Structure Name</label></td>
<td><input id="nameInput" type="text" style="width: 200px;" />
</td>
</tr>
@@ -57,7 +57,7 @@
</div></td>
</tr>
<tr>
- <td><label for="descriptionTextarea">Description</label></td>
+ <td><label for="descriptionTextarea" id="description">Description</label></td>
</tr>
<tr>
<td><textarea id="descriptionTextarea" cols="40" rows="5"></textarea>
@@ -68,7 +68,7 @@
<td>
<div id="propertiesTabs" style="margin-top: 10px;">
<ul id="propertiesTabsList">
- <li><a href="#configurationTab"><img
+ <li><a href="#configurationTab" id="configuration"><img
src="../../images/icons/basic-properties-page.png"></img><span
class="tabLabel">Configuration</span> </a></li>
</ul>
@@ -80,7 +80,7 @@
<div style="margin-bottom: 10px;">
<table cellpadding="0" cellspacing="0" class="layoutTable">
<tr>
- <td colspan="2">Create and modify a Data Structure
+ <td colspan="2" id="xsdtext">Create and modify a Data Structure
manually by adding elements, specifying their names and
cardinalities.</td>
</tr>
@@ -91,10 +91,10 @@
<tr>
<td><input id="structureRadioButton" type="radio" />
</td>
- <td>Structure</td>
+ <td id="struct">Structure</td>
<td><input id="enumerationRadioButton" type="radio" />
</td>
- <td>Enumeration</td>
+ <td id="enum">Enumeration</td>
</tr>
</table></td>
</tr>
@@ -161,7 +161,7 @@
</tr>
<tr>
<td align="left"><div class="heading"
- style="margin-top: 10px;">Field Properties</div></td>
+ style="margin-top: 10px;" id="fieldProp">Field Properties</div></td>
<td></td>
</tr>
<tr>
@@ -173,8 +173,8 @@
style="width: 600px; text-align: left;">
<thead>
<tr>
- <th style="width: 400px;">Property</th>
- <th class="last" style="width: 200px;">Value</th>
+ <th style="width: 400px;" id="prop">Property</th>
+ <th class="last" style="width: 200px;" id="val">Value</th>
</tr>
</thead>
<tbody />
diff --git a/web-modeler/src/main/resources/bpm-modeler-client-messages.properties b/web-modeler/src/main/resources/bpm-modeler-client-messages.properties
index 63431ac..f58d877 100644
--- a/web-modeler/src/main/resources/bpm-modeler-client-messages.properties
+++ b/web-modeler/src/main/resources/bpm-modeler-client-messages.properties
@@ -10,413 +10,382 @@
##############################################################################
-### ModelView items #####
-
-modeler.propertyView.modelviewtab.accesscontrol = Access Control
-#modeler.propertyView.modelviewtab.problem = Problem
-modeler.propertyView.modelviewtab.modeltext = You can mark a model as readonly to protect it against changes if you have Administrator rights. This operation is a shortcut to revoke all update and delete permissions for users not being assigned to the Administrator role.
-modeler.propertyView.modelviewtab.modeltext2 = This model is marked readonly. You can remove the readonly state if you have Administrator rights. This operation is a shortcut to grant all update and delete permissions to all users.
-modeler.propertyView.modelviewtab.markReadonlyLink = Mark readonly
-modeler.propertyView.modelviewtab.markwritable = Mark writeable
-modeler.propertyView.modelviewtab.severity = Severity
-modeler.propertyView.modelviewtab.validationrefresh = Validation Refresh
-modeler.propertyView.modelviewtab.lastmodificationdate = Last Modification Date
-modeler.propertyView.modelviewtab.creationDateOutput = Creation Date
-
-
-### Common context menu items #####
-modeler.outline.contextMenu.rename = Rename
-modeler.outline.contextMenu.delete = Delete
-
-### Model element context menu items #####
+### ModelView Items #####
+modeler.propertyView.modelView.accessControl = Access Control
+modeler.propertyView.modelView.modelText = You can mark a model as readonly to protect it against changes if you have Administrator rights. This operation is a shortcut to revoke all update and delete permissions for users not being assigned to the Administrator role.
+modeler.propertyView.modelView.modelText2 = This model is marked readonly. You can remove the readonly state if you have Administrator rights. This operation is a shortcut to grant all update and delete permissions to all users.
+modeler.propertyView.modelView.markReadonlyLink = Mark Readonly
+modeler.propertyView.modelView.markWritable = Mark Writeable
+modeler.propertyView.modelView.severity = Severity
+modeler.propertyView.modelView.validationRefresh = Validation Refresh
+modeler.propertyView.modelView.lastModificationDate = Last Modification Date
+modeler.propertyView.modelView.creationDateOutput = Creation Date
+modeler.propertyView.modelView.name = ModelName
+
+############ Model Element Context Menu Items #######################
modeler.outline.model.contextMenu.createProcess = Create Process
modeler.outline.model.contextMenu.deploy = Deploy
modeler.outline.model.contextMenu.downloadModel = Download Model
modeler.outline.model.contextMenu.openModelReport = Open Model Report
-modeler.outline.model.contextMenu.download = Download Model
+modeler.outline.model.contextMenu.download = Download Model
+modeler.outline.contextMenu.rename = Rename
-## Outline toolbar ##
-modeler.outline.toolbar.tooltip.createModel = Create Model
-modeler.outline.toolbar.tooltip.importModel = Import Model
-modeler.outline.toolbar.tooltip.undo = Undo
-modeler.outline.toolbar.tooltip.redo = Redo
-modeler.outline.toolbar.tooltip.saveAllModel = Save All Models
-modeler.outline.toolbar.tooltip.refreshModels = Refresh All Models
modeler.outline.applications.contextMenu.createWebService = Create Web Service
-modeler.outline.applications.contextMenu.createTransformation = Create Transformation
-modeler.outline.applications.contextMenu.createCamelRoute = Create Camel Route
+modeler.outline.applications.contextMenu.createTransformation =Create Transformation
+modeler.outline.applications.contextMenu.createCamelRoute = Create Camel Route
modeler.outline.applications.contextMenu.createUIMashup = Create UI Mashup
-modeler.outline.structuredType.contextMenu.createData = Create Data
modeler.outline.data.contextMenu.createPrimitiveData = Create Primitive Data
modeler.outline.data.contextMenu.createDocument = Create Document
modeler.outline.data.contextMenu.createStructuredData = Create Structured Data
modeler.outline.participants.contextMenu.createRole = Create Role
-modeler.outline.data.contextMenu.createOrganization = Create Organization
-modeler.outline.data.contextMenu.createConditionalPerformer = Create Conditional Performer
+modeler.outline.participants.contextMenu.createOrganization = Create Organization
+modeler.outline.participants.contextMenu.createConditionalPerformer = Create Conditional Performer
+modeler.outline.participants.role.contextMenu.setAsManager = Set As Manager
+
modeler.outline.structureDataType.contextMenu.createDataType = Create Data Type
modeler.outline.structureDataType.contextMenu.importTypeDeclarations = Import Type Declarations
-## Property View element items for Webservice screen ##
-
-modeler.propertyView.webservice.tab = Web Service
-modeler.propertyView.webservice.wsdlURL = WSDL URL
-modeler.propertyView.webservice.load = Load
-modeler.propertyView.webservice.service = Service
-modeler.propertyView.webservice.port = Port
-modeler.propertyView.webservice.operation = Operation
-modeler.propertyView.webservice.style = Style
-modeler.propertyView.webservice.protocal = Protocal
-modeler.propertyView.webservice.use = Use
-modeler.propertyView.webservice.style = Style
-modeler.propertyView.webservice.implementationProperties.includeAddressing = Include WS-Addressing EPR
-
-modeler.propertyView.webservice.securityProperties.authenticationRequired = Authentication Required
-modeler.propertyView.webservice.securityProperties.mechanism = Mechanism
-modeler.propertyView.webservice.securityProperties.variant = Variant
-modeler.propertyView.webservice.implementationProperties.credentials = User Name/Password
-
-modeler.propertyView.webservice.mechanishselect.option1 = HTTP Basic Authorization
-modeler.propertyView.webservice.mechanishselect.option2 = WS-Security
-modeler.propertyView.webservice.implementationselect.option1 = Generic Resource
-modeler.propertyView.webservice.implementationselect.option2 = Infinity Specific
-modeler.propertyView.processs.webservice.varient.option1 = User Name/Password
-modeler.propertyView.processs.webservice.varient.option2 = User Name/Password Digest
-modeler.propertyView.processs.webservice.varient.option3 = XWSS Configuration
+## Outline Toolbar ##
+modeler.outline.toolbar.tooltip.createModel = Create Model test
+modeler.outline.toolbar.tooltip.importModel = Import Model
+modeler.outline.toolbar.tooltip.undo = Undo
+modeler.outline.toolbar.tooltip.redo = Redo
+modeler.outline.toolbar.tooltip.saveAllModel = Save All Models
+modeler.outline.toolbar.tooltip.refreshModels = Refresh All Models
+modeler.outline.unSavedMessage.title = Not saved yet
+modeler.outline.lastSavedMessage.title = Last Save
+
+############## Property View Items For WebService Screen #####################
+modeler.model.propertyView.webService.wsdlURL = WSDL URL
+modeler.model.propertyView.webService.load = Load
+modeler.model.propertyView.webService.service = Service
+modeler.model.propertyView.webService.port = Port
+modeler.model.propertyView.webService.operation = Operation
+modeler.model.propertyView.webService.style = Style
+modeler.model.propertyView.webService.protocal = Protocal
+modeler.model.propertyView.webService.use = Use
+modeler.model.propertyView.webService.style = Style
+modeler.model.propertyView.webService.implementationProperties.includeAddressing = Include WS-Addressing EPR
+modeler.model.propertyView.webService.securityProperties.authenticationRequired = Authentication Required
+modeler.model.propertyView.webService.securityProperties.mechanism = Mechanism
+modeler.model.propertyView.webService.securityProperties.variant = Variant
+modeler.model.propertyView.webService.implementationProperties.credentials = User Name/Password
+
+modeler.model.propertyView.webService.mechanismSelect.option.httpBasicAuthorization = HTTP Basic Authorization
+modeler.model.propertyView.webService.mechanismSelect.option.wsSecurity = WS-Security
+modeler.model.propertyView.webService.implementationselect.option.genericRescource = Generic Resource
+modeler.model.propertyView.webService.implementationSelect.option.infinitySpecific = Infinity Specific
+modeler.model.propertyView.webService.variant.option.userNamePwd = User Name/Password
+modeler.model.propertyView.webService.variant.option.userNamePwdDigest = User Name/Password Digest
+modeler.model.propertyView.webService.variant.option.xwssConfiguration = XWSS Configuration
+modeler.model.propertyView.webService.errorMessage = Could not load WSDL from URL
#### Property View Elements Message Transformation Screen ####
-
-
-modeler.propertyView.messageTransformation.configurationProperties.tab = Configuration
-modeler.propertyView.messageTransformation.configurationProperties.heading1 = Source Message
-modeler.propertyView.messageTransformation.configurationProperties.sourceMessage.addInput = Add Input
-modeler.propertyView.messageTransformation.configurationProperties.sourceMessage.advancedMapping = Advanced Mapping
-
-modeler.propertyView.messageTransformation.configurationProperties.heading2 = Target Message
-modeler.propertyView.messageTransformation.configurationProperties.targetMessage.addOutput = Add Output
-modeler.propertyView.messageTransformation.configurationProperties.targetMessage.element = Element
-modeler.propertyView.messageTransformation.configurationProperties.targetMessage.mapping = Mapping
-
-
-modeler.propertyView.messageTransformation.configurationProperties.addInput.popUp = AddInput
-modeler.propertyView.messageTransformation.configurationProperties.addOutput.popUp = AddOutput
-modeler.propertyView.messageTransformation.configurationProperties.apply = Apply
-modeler.propertyView.messageTransformation.configurationProperties.close = Close
-
-modeler.propertyView.messageTransformation.configurationProperties.toolTip.highnonhighlighted = Display highlighted and non-highlighted fields
-modeller.propertyView.messageTransformation.configurationProperties.runButton = Run Message Transformation
-modeller.propertyView.messageTransformation.configurationProperties.resetButton = Clear input data fields
-modeler.propertyView.messageTransformation.configuration.heading = Source Message
+modeler.model.propertyView.messageTransformation.configurationProperties.tab = Configuration
+modeler.model.propertyView.messageTransformation.configurationProperties.heading.sourceMessage = Source Message
+modeler.model.propertyView.messageTransformation.configurationProperties.sourceMessage.addInput = Add Input
+modeler.model.propertyView.messageTransformation.configurationProperties.sourceMessage.advancedMapping = Advanced Mapping
+modeler.model.propertyView.messageTransformation.configurationProperties.heading.targetMessage = Target Message
+modeler.model.propertyView.messageTransformation.configurationProperties.targetMessage.addOutput = Add Output
+modeler.model.propertyView.messageTransformation.configurationProperties.targetMessage.element = Element
+modeler.model.propertyView.messageTransformation.configurationProperties.targetMessage.mapping = Mapping
+modeler.model.propertyView.messageTransformation.configurationProperties.addInput.popUp = AddInput
+modeler.model.propertyView.messageTransformation.configurationProperties.addOutput.popUp = AddOutput
+modeler.model.propertyView.messageTransformation.configurationProperties.apply = Apply
+modeler.model.propertyView.messageTransformation.configurationProperties.close = Close
+
+modeler.model.propertyView.messageTransformation.configurationProperties.toolTip.highlighted = Display highlighted and non-highlighted fields1
+modeler.model.propertyView.messageTransformation.configurationProperties.runButton = Run Message Transformation1
+modeler.model.propertyView.messageTransformation.configurationProperties.resetButton = Clear input data fields 1
##### Message Transformation Tool Tip ####
-modeler.propertyView.messageTransformation.configurationProperties.toolTip.infoMsg = Display Only Highlighted Fields
-modeler.propertyView.messageTransformation.configurationProperties.toolTip.mapping = Display only fields with mapping expressions
-modeler.propertyView.messageTransformation.configurationProperties.toolTip.noMapping = Display only fields with no mapping expression
-modeler.propertyView.messageTransformation.configurationProperties.toolTip.invalidMapping = Display only fields whose mapping expression is invalid
+modeler.model.propertyView.messageTransformation.configurationProperties.toolTip.infoMsg = Display Only Highlighted Fields1
+modeler.model.propertyView.messageTransformation.configurationProperties.toolTip.mapping = Display only fields with mapping expressions1
+modeler.model.propertyView.messageTransformation.configurationProperties.toolTip.noMapping = Display only fields with no mapping expression1
+modeler.model.propertyView.messageTransformation.configurationProperties.toolTip.invalidMapping = Display only fields whose mapping expression is invalid1
-##### Property View Camel Route ########
+#### Message Transformation Test tab #####
+modeler.model.propertyView.messageTransformation.testProperties.tab = Test
+modeler.model.propertyView.messageTransformation.testProperties.inputData = Input Data
+modeler.model.propertyView.messageTransformation.testProperties.outputData = Output Data
-modeler.propertyView.camelRoute.camelConfigurationProperties.tab = Camel Configuration
-modeler.propertyView.camelRoute.camelConfigurationProperties.endpointType = Endpoint Type
-modeler.propertyView.camelRoute.camelConfigurationProperties.camelContext = Camel Context
-modeler.propertyView.camelRoute.camelConfigurationProperties.additionalBeanSpecification = Additional Bean Specification
-modeler.element.properties.commonProperties.direction = Direction
-modeler.properties.camelapp.endpoint.generic = Generic
-
-###### Property View UI MashUp #####
+##### Property View Camel Route ########
-modeler.propertyView.uiMashup.configurationProperties.url = URL
-modeler.propertyView.uiMashup.configurationProperties.parameterDefinitions = Parameter Definitions
-modeler.propertyView.uiMashup.configurationProperties.datatType = DataType
+modeler.model.propertyView.camelRoute.camelConfigurationProperties.tab = Camel Configuration
+modeler.model.propertyView.camelRoute.camelConfigurationProperties.endpointType = Endpoint Type
+modeler.model.propertyView.camelRoute.camelConfigurationProperties.camelContext = Camel Context
+modeler.model.propertyView.camelRoute.camelConfigurationProperties.additionalBeanSpecification = Additional Bean Specification
+modeler.model.propertyView.camelRoute.camelConfigurationProperties.endPoint.generic = Generic
+modeler.model.propertyView.camelRoute.camelConfigurationProperties.direction.requestOnly = Request Only
+modeler.model.propertyView.camelRoute.camelConfigurationProperties.direction.requestResponse = Request/Response
-###### Property View Structured Data Type ######
-
-modeler.propertyView.structuredTypes.dataStructureName = Data Structure name
-
-
-modeler.propertyView.structuredTypes.configurationProperties.structure = Structure
-modeler.propertyView.structuredTypes.configurationProperties.enumeration = Enumeration
-
-modeler.propertyView.structuredTypes.configurationProperties.text = Create and modify a Data Structure manually by adding elements, specifying their names and cardinalities.
-modeler.propertyView.structuredTypes.configurationProperties.heading = Field Properties
-modeler.propertyView.structuredTypes.configurationProperties.property = Type
-
-
-modeler.propertyView.structuredTypes.configurationProperties.general = General
-modeler.propertyView.structuredTypes.configurationProperties.key = Key
-modeler.propertyView.structuredTypes.configurationProperties.persistent = Persistent
-modeler.propertyView.structuredTypes.configurationProperties.ui = UI
-modeler.propertyView.structuredTypes.configurationProperties.label = Label
-modeler.propertyView.structuredTypes.configurationProperties.showDescription = Show Description
-modeler.propertyView.structuredTypes.configurationProperties.readOnly = Readonly
-modeler.propertyView.structuredTypes.configurationProperties.mandatory = Mandatory
-modeler.propertyView.structuredTypes.configurationProperties.format = Format
-modeler.propertyView.structuredTypes.configurationProperties.cssStyle = CSS Style
-modeler.propertyView.structuredTypes.configurationProperties.cssStyleClass = CSS Style Class
-modeler.propertyView.structuredTypes.configurationProperties.prefixI18NKey = Prefix I18N Key
-modeler.propertyView.structuredTypes.configurationProperties.suffixI18NKey = Suffix I18N Key
-modeler.propertyView.structuredTypes.configurationProperties.stringInputType = String Input Type
-modeler.propertyView.structuredTypes.configurationProperties.textAreaRows = Text Area Rows
-modeler.propertyView.structuredTypes.configurationProperties.textAreaColumns = Text Area Columns
-modeler.propertyView.structuredTypes.configurationProperties.booleanReadonlyInputType = Boolean Readonly Input Type
-modeler.propertyView.structuredTypes.configurationProperties.textInput = Text Input
-modeler.propertyView.structuredTypes.configurationProperties.textArea = Text Area
-modeler.propertyView.structuredTypes.configurationProperties.checkBox = Check Box
-modeler.propertyView.structuredTypes.configurationProperties.textOutput = Text Output
-
-modeler.propertyView.structuredTypes.cardinality.option1 = Required
-modeler.propertyView.structuredTypes.cardinality.option2 = Many
-
-modeler.propertyView.structuredTypes.selecttype.string = String
-modeler.propertyView.structuredTypes.selecttype.Integer = Integer
-modeler.propertyView.structuredTypes.selecttype.Float = Float
-modeler.propertyView.structuredTypes.selecttype.Decimal = Decimal
-modeler.propertyView.structuredTypes.selecttype.Date = Date
-modeler.propertyView.structuredTypes.inputtext.new = New
+###### Property View UI MashUp #####
+modeler.model.propertyView.uiMashup.configuration.configurationProperties.url = URL
+modeler.model.propertyView.uiMashup.configuration.configurationProperties.parameterDefinitions = Parameter Definitions
+modeler.model.propertyView.uiMashup.configuration.configurationProperties.datatType = DataType
+modeler.model.propertyView.uiMashup.configuration.configurationProperties.direction.inOut= INOUT
###### Property View Structured Data Type ######
+modeler.model.propertyView.structuredTypes.dataStructureName = Data Structure name
+modeler.model.propertyView.structuredTypes.configurationProperties.structure = Structure
+modeler.model.propertyView.structuredTypes.configurationProperties.enumeration = Enumeration
+modeler.model.propertyView.structuredTypes.configurationProperties.textInfo = Create and modify a Data Structure manually by adding elements, specifying their names and cardinalities.
+modeler.model.propertyView.structuredTypes.configurationProperties.heading.filedProperties = Field Properties
+modeler.model.propertyView.structuredTypes.configurationProperties.fieldProperty.type =Type
+modeler.model.propertyView.structuredTypes.configurationProperties.fieldProperties.general = General
+modeler.model.propertyView.structuredTypes.configurationProperties.fieldProperties.general.key = Key
+modeler.model.propertyView.structuredTypes.configurationProperties.fieldProperties.general.persistent = Persistent
+modeler.model.propertyView.structuredTypes.configurationProperties.fieldProperties.ui = UI
+modeler.model.propertyView.structuredTypes.configurationProperties.fieldProperties.ui.label = Label
+modeler.model.propertyView.structuredTypes.configurationProperties.fieldProperties.ui.showDescription = Show Description
+modeler.model.propertyView.structuredTypes.configurationProperties.fieldProperties.ui.readOnly = Readonly
+modeler.model.propertyView.structuredTypes.configurationProperties.fieldProperties.ui.mandatory = Mandatory
+modeler.model.propertyView.structuredTypes.configurationProperties.fieldProperties.ui.format = Format
+modeler.model.propertyView.structuredTypes.configurationProperties.fieldProperties.ui.cssStyle = CSS Style
+modeler.model.propertyView.structuredTypes.configurationProperties.fieldProperties.ui.cssStyleClass = CSS Style Class
+modeler.model.propertyView.structuredTypes.configurationProperties.fieldProperties.ui.prefixI18NKey = Prefix I18N Key
+modeler.model.propertyView.structuredTypes.configurationProperties.fieldProperties.ui.suffixI18NKey = Suffix I18N Key
+modeler.model.propertyView.structuredTypes.configurationProperties.fieldProperties.ui.stringInputType = String Input Type
+modeler.model.propertyView.structuredTypes.configurationProperties.fieldProperties.ui.textAreaRows = Text Area Rows
+modeler.model.propertyView.structuredTypes.configurationProperties.fieldProperties.ui.textAreaColumns = Text Area Columns
+modeler.model.propertyView.structuredTypes.configurationProperties.fieldProperties.ui.booleanReadonlyInputType = Boolean Readonly Input Type
+modeler.model.propertyView.structuredTypes.configurationProperties.fieldProperties.ui.textInput = Text Input
+modeler.model.propertyView.structuredTypes.configurationProperties.fieldProperties.ui.textArea = Text Area
+modeler.model.propertyView.structuredTypes.configurationProperties.fieldProperties.ui.checkBox = Check Box
+modeler.model.propertyView.structuredTypes.configurationProperties.fieldProperties.ui.textOutput = Text Output
+modeler.model.propertyView.structuredTypes.configurationProperties.cardinality.option.required = Required
+modeler.model.propertyView.structuredTypes.configurationProperties.cardinality.option.many = Many
+modeler.model.propertyView.structuredTypes.configurationProperties.element.selectType.string = String
+modeler.model.propertyView.structuredTypes.configurationProperties.element.selectType.integer = Integer
+modeler.model.propertyView.structuredTypes.configurationProperties.element.selectType.float =Float
+modeler.model.propertyView.structuredTypes.configurationProperties.element.selectType.decimal = Decimal
+modeler.model.propertyView.structuredTypes.configurationProperties.element.selectType.date = Date
+
+
+###### Property View Import Data Type ######
+modeler.model.propertyView.structuredTypes.importTypeDeclarations.panel = XSD Data Structure Import
+modeler.model.propertyView.structuredTypes.importTypeDeclarations.text = Import Data Structures from XSD or WSDL
+modeler.model.propertyView.structuredTypes.importTypeDeclarations.url = URL
+modeler.model.propertyView.structuredTypes.importTypeDeclarations.load = Load
+modeler.model.propertyView.structuredTypes.importTypeDeclarations.heading.dataStructureElemnets = Data Structure Elements
+modeler.model.propertyView.structuredTypes.importTypeDeclarations.definitionPanel = Select a type declaration from the imported schema.
+modeler.model.propertyView.structuredTypes.importTypeDeclarations.checkbox = Select/Deselect All
+modeler.model.propertyView.structuredTypes.importTypeDeclarations.import = Import
+modeler.model.propertyView.structuredTypes.importTypeDeclarations.cancel = Cancel
+
+########## Property View --Data Type ######
+modeler.model.propertyView.createPrimitiveData.dataName = Data Name
+modeler.model.propertyView.createPrimitiveData.dataTypeProperties.documentType = Document Type
+modeler.model.propertyView.createPrimitiveData.dataTypeProperties.defaultValue = Default Value.
+
+
+ ############ Participants --- Role Screen ########
+modeler.model.propertyView.role.nameInput = Role Name
+modeler.model.propertyView.role.activityAssignment = Activity Assignment
+modeler.odel.propertyView.role.controlling = Controlling
+modeler.model.propertyView.role.controlling.activityAssignment.assignment = Choose Assignment
+modeler.model.propertyView.role.controlling.workingWeeksPerYear = Working Weeks per Year
+modeler.model.propertyView.role.controlling.targetWorkTime = Target Worktime per Day
+modeler.model.propertyView.role.controlling.targetWorkTimePerWeek = Target Worktime per Week
+modeler.model.propertyView.role.controlling.actualCostPerMin = Actual Cost per Minute
+modeler.model.propertyView.role.controlling.week.name = Week
+modeler.model.propertyView.role.controlling.targetQueueDepth = Target Queue Depth
-modeler.propertyView.importTypeDeclarations.panel = XSD Data Structure Import
-modeler.propertyView.importTypeDeclarations.text = Import Data Structures from XSD or WSDL
-modeler.propertyView.importTypeDeclarations.url = URL
-modeler.propertyView.importTypeDeclarations.load = Load
-modeler.propertyView.importTypeDeclarations.heading = Data Structure Elements
-modeler.propertyView.importTypeDeclarations.definitionPanel = Select a type declaration from the imported schema.
-
-modeler.propertyView.importTypeDeclarations.checkbox = Select/Deselect All
-modeler.propertyView.importTypeDeclarations.import = Import
-modeler.propertyView.importTypeDeclarations.cancel = Cancel
-
-########## Property View -- Data ######
-modeler.propertyView.createPrimitiveData.dataName = Data Name
-#modeler.propertyView.createPrimitiveData.dataTypeProperties.dataStrucutre = Data Structure
-modeler.propertyView.createPrimitiveData.dataTypeProperties.documentType = Document Type
-modeler.propertyView.createPrimitiveData.dataTypeProperties.defaultValue = Default Value.
-modeler.propertyView.createPrimitiveData.dataTypeProperties.defaultValue = Default value
-
-############# Data Type ############
-
-#modeler.propertyView.dataTypeProperties.dataTypeSelect.primitive = Primitive
-#modeler.propertyView.dataTypeProperties.dataTypeSelect.dataStructure = Data Structure
-#modeler.propertyView.dataTypeProperties.dataTypeSelect.document = Document
-#modeler.propertyView.dataTypeProperties.dataTypeSelect.other = Other
-
-modeler.propertyView.dataTypeProperties.dataTypeSelect.string = Text
-modeler.propertyView.dataTypeProperties.dataTypeSelect.boolean = Boolean (True, False)
-modeler.propertyView.dataTypeProperties.dataTypeSelect.int = Number (e.g. 18756)
-modeler.propertyView.dataTypeProperties.dataTypeSelect.long = Long Number (e.g. 18756)
-modeler.propertyView.dataTypeProperties.dataTypeSelect.double = Scientific (e.g. 3.1415)
-modeler.propertyView.dataTypeProperties.dataTypeSelect.decimal = Money Amount (e.g.$4,500,600.42)
-modeler.propertyView.dataTypeProperties.dataTypeSelect.calender = Date (e.g. 14/05/2011)
-
-
-
-#### Test tab #####
-modeller.element.properties.testProperties.tabName = Test
-modeller.element.properties.testProperties.inputData = Input Data
-modeller.element.properties.testProperties.outputData = Output Data
-
-# Browse Button
-modeler.element.properties.buttonProperties.browse = Browse
-
-### Role ###
-modeler.propertyView.role.roleName = Role Name
-
-
-
-modeler.propertyView.organization.organizationName = Organization Name
-modeler.propertyView.organization.description = Desc
-
-############ Process Definition Screen ########
-
-modeler.propertyView.processs.processDefinition.heading = General Properties
-
-modeler.propertyView.processs.processDefinition.defaultProperty = Default Property
-
-modeler.propertyView.process.panels.dataPath = Data Path
-modeler.propertyView.process.panels.display = Display
-
-modeler.propertyView.process.panels.processAttachments = Process Attachments
-modeller.element.properties.processAttachmentText.checkboxSupport = Process supports Attachments
-modeller.element.properties.processAttachmentText.checkboxInstaceSupport = Attachments are unique per Root Process Instance
-modeler.propertyView.processs.processDefinition.titleHeader = Process Definition
-
-
-modeler.propertyView.processs.dataPath.header = Data Pathes
-modeler.propertyView.processs.dataPath.addButton.title = Add
-
-modeler.propertyView.processs.descriptor = Descriptor
-modeler.propertyView.processs.keydescriptor = Key Descriptor
-modeler.propertyView.processs.pathInput = Path
-modeler.propertyView.processs.auxiliaryValue = Is Auxiliary Process
-modeler.propertyView.processs.activity.heading = Controlling
-
+############ Participants --- Organization Screen ########
+modeler.model.propertyView.organization.organizationName = Organization Name
+modeler.model.propertyView.organization.department = Department
+modeler.model.propertyView.organization.teamLead = Team Lead
+modeler.model.propertyView.organization.supportDepartment = Supports Departments
+modeler.model.propertyView.organization.leader = Leader
+modeler.model.propertyView.organization.assignment = Choose Assignment
+modeler.model.propertyView.organization.costCenter = Cost Center
-modeler.propertyView.process.activity.participantAction = Allow Abort By Participant
-modeler.propertyView.process.activity.hibernate = Hibernate Initially
-modeler.propertyView.process.activity.target = Is Relocation Target
-modeler.propertyView.process.activity.relocation = Supports relocation
-modeler.propertyView.process.activity.relocationTarget = Is Relocation Target
-modeler.propertyView.process.activity.userTask = User Task
-modeler.propertyView.process.activity.applicationInput = Script Task
-modeler.propertyView.process.activity.subProcessInput = SubProcess
############ Participants --- Conditional Performer Screen ########
+modeler.model.propertyView.participants.conditionalPerformer.name.bindingDataPath= Binding Data Path
+modeler.model.propertyView.participants.conditionalPerformer.name.bindingDataSelect= Binding Data
+modeler.model.propertyView.participants.conditionalPerformer.performerTypeSelect.user = User
+modeler.model.propertyView.participants.conditionalPerformer.performerTypeSelect.userGroup = User Group
+modeler.model.propertyView.participants.conditionalPerformer.performerTypeSelect.orgRole = Organization/Role
+modeler.model.propertyView.participants.conditionalPerformer.performerTypeSelect.orgRoleUser = Organization/Role/User
+modeler.model.propertyView.participants.conditionalPerformer.name.performerTypeSelect = Performer Type
+modeler.model.propertyView.participants.conditionalPerformer.performerName = Conditional Performer Name
-modeler.propertyView.participants.conditionalperformer.bindingdatapath = Binding Data Path
-modeler.propertyView.participants.conditionalperformer.bindingdataselect = Binding Data
-modeler.propertyView.participants.conditionalperformer.performerTypeSelect.user = User
-modeler.propertyView.participants.conditionalperformer.performerTypeSelect.userGroup = User Group
-modeler.propertyView.participants.conditionalperformer.performerTypeSelect.orgRole = Organization/Role
-modeler.propertyView.participants.conditionalperformer.performerTypeSelect.orgRoleUser = Organization/Role/User
-modeler.propertyView.participants.conditionalperformer.performerTypeSelect = Performer Type
-
-modeler.propertyView.processs.processDefinition.performerName = Conditional Performer Name
-
-############ Participants --- Role Screen ########
-
-modeler.propertyView.role.nameInput = Role Name
-
-modeler.propertyView.role.activityAssign = Activity Assignment
-modeler.propertyView.role.controlling = Controlling
-modeler.propertyView.role.assignment = Choose Assignment
-modeler.propertyView.role.assignRado = Assign Automatically
-modeler.propertyView.role.workingweekperyear = Working Weeks per Year
-modeler.propertyView.role.targetworktime = Target Worktime per Day
-modeler.propertyView.role.targetworktimeweektime = Target Worktime per Week
-modeler.propertyView.role.actualCostperMin = Actual Cost per Minute
-modeler.propertyView.role.weekstext = Week
-modeler.propertyView.role.hours = h
-modeler.propertyView.role.dollar = $
-modeler.propertyView.role.targetqueuedept = Target Queue Depth
-
-############ Participants --- Organization Screen ########
-
-modeler.propertyView.organization.department = Department
-modeler.propertyView.organization.teamlead = Team Lead
-modeler.propertyView.organization.supportdepartment = Supports Departments
-modeler.propertyView.organization.leader = Leader
-modeler.propertyView.organization.assignment = Choose Assignment
-modeler.propertyView.organization.costcenter = Cost Center
-
-############ Process Definition Panels--########
-
-modeler.propertyView.process.panels.processAttachments.drawing = Drawing
-modeler.propertyView.process.panels.processAttachments.decoration = Decoration
-modeler.propertyView.process.panels.processAttachments.annotations = Annotations
-modeler.propertyView.process.panels.processAttachments.datasequence = Data and Sequence Flow
-modeler.propertyView.process.panels.processAttachments.poolsLanes = Pools and Lanes
-
-modeler.propertyView.process.panels.processAttachments.events = Events
-modeler.propertyView.process.panels.processAttachments.activitiesgateway = Activities and Gateways
-modeler.propertyView.process.panels.processAttachments.drawing = Drawing
-modeler.propertyView.process.panels.processAttachments.createannotation = Create Annotation
-modeler.propertyView.process.panels.processAttachments.createconnector = Create Connector
-modeler.propertyView.process.panels.processAttachments.createswimlane = Create Swimlane
-modeler.propertyView.process.panels.processAttachments.createendevent = Create End Event
-modeler.propertyView.process.panels.processAttachments.createstartevent = Create Start Event
-modeler.propertyView.process.panels.processAttachments.creategateway = Create Gateway
-modeler.propertyView.process.panels.processAttachments.createactivity = Create Activity
-modeler.propertyView.process.panels.processAttachments.print = Print
-modeler.propertyView.process.panels.processAttachments.fliporientation = Flip Orientation
-modeler.propertyView.process.panels.processAttachments.zoomout = Zoom Out
-modeler.propertyView.process.panels.processAttachments.zoomin = Zoom In
-modeler.propertyView.process.panels.processAttachments.selectmode = Select Mode
-modeler.propertyView.process.panels.processAttachments.creatprimitivedata = Create Primitive Data
-modeler.propertyView.process.panels.processAttachments.separatemode = Separator Mode
-modeler.propertyView.process.panels.processAttachments.errormessage = Select first anchor point for connection.
-modeler.propertyView.process.panels.processAttachments.confirm1 = Are you sure you want to delete
-modeler.propertyView.process.panels.processAttachments.confirm2 = and all <BR> symbols in the lane?<BR><BR>
-modeler.propertyView.processs.activity.resourcePerformanceCalculationSelect = Resource Performance Calculation
-modeler.propertyView.processs.activity.targetCostPerExecutionInput = Target Cost per Execution
-modeler.propertyView.processs.activity.targetQueueDepthInput = Target Queue Depth
-modeler.propertyView.processs.activity.targetWaitingTimeInput = Target Waiting Time
-modeler.propertyView.processs.activity.targetIdleTimeInput = Target Idle Time
-modeler.propertyView.processs.activity.targetexecutiontimeinput = Target Execution Time
-modeler.propertyView.processs.activity.targetprocessingtime = Target Processing Time
-
-modeler.propertyView.processs.activity.included = included
-modeler.propertyView.processs.activity.notIncluded = notIncluded
-modeler.propertyView.processs.activity.activityControlling = Controlling
-modeler.propertyView.processs.processDefinition.participant = Participant
-modeler.propertyView.createPrimitiveData.dataTypeProperties.opendataview = Open Data View
-
-modeler.propertyView.annotation.eventtype = Event Type
-modeler.propertyView.annotation.event = Event
-modeler.propertyView.annotaion.eventype.option = Manual Process Start
-modeler.propertyView.annotaion.eventype.option2 = Process Start via Scan
-modeler.propertyView.annotaion.eventype.option3 = Process Start via Camel Endpoint
-modeler.propertyView.annotaion.notepoint = Starting participant to be defined.</b>
-
-modeler.propertyView.annotation.annotation = Annotation
-modeler.propertyView.annotation.basic = Basic
-modeler.propertyView.annotation.content = Content
-
-modeler.propertyView.gateway.gatewaytype = Gateway Type
-modeler.propertyView.gateway.and = AND
-modeler.propertyView.gateway.xor = XOR
-
-modeler.element.properties.webservice.errormessage = Could not load WSDL from URL.
-modeler.properties.camelapp.requestonly = Request Only
-modeler.properties.camelapp.requestresponse = Request/Response
-
-
-
-modeler.properties.uimashup.inout = INOUT
-modeler.propertyView.process.activity.activityheading = Activity
-
-
-modeler.propertyView.dataTypeProperties.processdefination.implementsProcessInterface = No Process Interfaces
-modeler.propertyView.dataTypeProperties.processdefination.providesProcessInterface = Provides Process Interface
-modeler.propertyView.dataTypeProperties.processdefination.noProcessInterface = Implements Process Interface
-
-########## Title
-modeler.propertyView.screentitles.webservice = Web Service
-modeler.propertyView.screentitles.msgTransformation = Message Transformation
-modeler.propertyView.screentitles.role = Role
-modeler.propertyView.screentitles.uimashup = UI Mashup
-modeler.propertyView.screentitles.xsddatastructure = XSD Data Structure
-modeler.propertyView.screentitles.organization = Organization
-modeler.propertyView.screentitles.camelroute = Camel Route
-modeler.propertyView.screentitles.conditionalperformer = ConditionalPerformer
-modeler.propertyView.screentitles.documentdata = Document Data
-modeler.propertyView.screentitles.isAuxiliaryActivity = Is Auxiliary Activity
-
-#############################Repeat final properties ###########################
+############ Process Definition Screen ########
+modeler.processDefinition.propertyPages.general.heading = General Properties
+modeler.processDefinition.propertyPages.general.defaultProperty = Default Property
+modeler.processDefinition.propertyPages.processAttachments.heading = Process Attachments
+modeler.processDefinition.propertyPages.processAttachmentText.checkboxSupport = Process supports Attachments
+modeler.processDefinition.propertyPages.processAttachmentText.checkboxInstanceSupport = Attachments are unique per Root Process Instance
+modeler.processDefinition.propertyPages.processAttachments.titleHeader = Process Definition
+modeler.processDefinition.propertyPages.dataPath.header = Data Pathes
+modeler.processDefinition.propertyPages.dataPath.addButton.title=Add
+modeler.processDefinition.propertyPages.dataPath.descriptor = Descriptor
+modeler.processDefinition.propertyPages.dataPath.keyDescriptor = Key Descriptor
+modeler.processDefinition.propertyPages.dataPath.pathInput = Path
+modeler.processDefinition.propertyPages.display.auxiliaryValue= Is Auxiliary Process
+modeler.processDefinition.propertyPages.participant = Participant
+
+############ Activity General Screen ########
+modeler.activity.propertyPages.controlling.heading = Controlling
+modeler.activity.propertyPages.general.participantAction = Allow Abort By Participant
+modeler.activity.propertyPages.general.hibernate = Hibernate Initially
+modeler.activity.propertyPages.general.relocation = Supports relocation
+modeler.activity.propertyPages.general.relocationTarget = Is Relocation Target
+modeler.activity.propertyPages.general.userTask = User Task
+modeler.activity.propertyPages.general.applicationInput = Script Task
+modeler.activity.propertyPages.general.subProcessInput = SubProcess
+
+############ Activity Display Screen ########
+modeler.activity.propertyPages.display.isAuxiliaryActivity = Is Auxiliary Activity
+
+############ Process Diagram Toolbar Items--########
+modeler.diagram.toolbar.panels.drawing.title = Drawing
+modeler.diagram.toolbar.panels.decoration.title = Decoration
+modeler.diagram.toolbar.panels.annotations.title = Annotations
+modeler.diagram.toolbar.panels.dataSequence.title = Data and Sequence Flow
+modeler.diagram.toolbar.panels.poolsAndLanes.title = Pools and Lanes
+modeler.diagram.toolbar.panels.events.title = Events
+modeler.diagram.toolbar.panels.activitiesGateway.title = Activities and Gateways
+modeler.diagram.toolbar.tool.createAnnotation.title = Create Annotation
+modeler.diagram.toolbar.tool.createConnector.title = Create Connector
+modeler.diagram.toolbar.tool.createSwimlane.title = Create Swimlane
+modeler.diagram.toolbar.tool.createEndEvent.title = Create End Event
+modeler.diagram.toolbar.tool.createStartEvent.title = Create Start Event
+modeler.diagram.toolbar.tool.createGateway.title = Create Gateway
+modeler.diagram.toolbar.tool.createActivity.title = Create Activity
+modeler.diagram.toolbar.tool.print.title = Print
+modeler.diagram.toolbar.tool.flipOrientation.title = Flip Orientation
+modeler.diagram.toolbar.tool.zoomIn.title = Zoom In
+modeler.diagram.toolbar.tool.zoomOut.title = Zoom Out
+modeler.diagram.toolbar.tool.selectMode.title = Select Mode
+modeler.diagram.toolbar.tool.createPrimitiveData.title = Create Primitive Data
+modeler.diagram.toolbar.tool.separateMode.title = Separator Mode
+modeler.diagram.toolbar.tool.errorMessage = Select first anchor point for connection.
+modeler.diagram.toolbar.tool.confirmMsg.delete = Are you sure you want to delete
+modeler.diagram.toolbar.tool.confirmMsg.info = and all <BR> symbols in the lane?<BR><BR>
+
+############### Process Activity Controlling Screen####################
+modeler.activity.propertyPages.title = Activity
+modeler.activity.propertyPages.controlling.resourcePerformanceCalculationSelect = Resource Performance Calculation
+modeler.activity.propertyPages.controlling.targetCostPerExecutionInput = Target Cost per Execution
+modeler.activity.propertyPages.controlling.targetQueueDepthInput = Target Queue Depth
+modeler.activity.propertyPages.controlling.targetWaitingTimeInput = Target Waiting Time
+modeler.activity.propertyPages.controlling.targetIdleTimeInput = Target Idle Time
+modeler.activity.propertyPages.controlling.targetexecutiontimeinput = Target Execution Time
+modeler.activity.propertyPages.controlling.targetprocessingtime = Target Processing Time
+modeler.activity.propertyPages.controlling.resourcePerformanceCalculationSelect.included =included
+modeler.activity.propertyPages.controlling.resourcePerformanceCalculationSelect.notIncluded =notIncluded
+modeler.activity.propertyPages.controlling.header = Controlling
+
+######### Event #################
+modeler.diagram.toolbar.tool.startEvent.eventType = Event Type
+modeler.diagram.toolbar.tool.event.title = Event
+modeler.diagram.toolbar.tool.startEvent.eventType.option.manualProcessStart = Manual Process Start
+modeler.diagram.toolbar.tool.startEvent.eventType.option.processStartViaScan = Process Start via Scan
+modeler.diagram.toolbar.tool.startEvent.eventType.option.processStartViaCamel = Process Start via Camel Endpoint
+modeler.diagram.toolbar.tool.startEvent.notePoint = Starting participant to be defined.</b>
+
+######### Data #################
+modeler.diagram.toolbar.tool.data.openDataView = Open Data View
+
+########## Annotation ##############
+modeler.diagram.toolbar.tool.annotation.title = Annotation
+modeler.diagram.toolbar.tool.annotation.basic=Basic
+modeler.diagram.toolbar.tool.annotation.content=Content
+
+########## GateWay ##############
+modeler.diagram.toolbar.tool.gateway.type= Gateway Type
+modeler.diagram.toolbar.tool.gateway.typeSelect.and = AND
+modeler.diagram.toolbar.tool.gateway.typeSelect.xor = XOR
+
+#############Process Interface Panel#############################
+modeler.processdefination.propertyPages.processInterface.type.implementsProcessInterface = Implements Process Interface
+modeler.processdefination.propertyPages.processInterface.type.providesProcessInterface=Provides Process Interface
+modeler.processdefination.propertyPages.processInterface.type.noProcessInterface =No Process Interfaces
+
+########## Tab Title Prefix#################
+modeler.outline.newWebservice.namePrefix = Webservice
+modeler.outline.newMsgTransformation.namePrefix = Message Transformation
+modeler.outline.newRole.namePrefix = Role
+modeler.outline.newUimashup.namePrefix= UI Mashup
+modeler.outline.newXsddatastructure.namePrefix = XSD Data Structure
+modeler.outline.newOrganization.namePrefix = Organization
+modeler.outline.newCamelroute.namePrefix = Camel Route
+modeler.outline.newConditionalperformer.namePrefix = ConditionalPerformer
+modeler.outline.newPrimitivedata.namePrefix = Data
+modeler.outline.newDocumentdata.namePrefix = Document Data
+modeler.outline.newStructureddata.namePrefix = Structured Data
+
+
+#############################Common Properties ###########################
modeler.element.properties.commonProperties.description = Description
modeler.element.properties.commonProperties.delete = Delete
-modeler.element.properties.commonProperties.movedown = Move Down
-modeler.element.properties.commonProperties.moveup = Move Up
-modeler.element.properties.commonProperties.implimentation = Implementation
+modeler.element.properties.commonProperties.moveDown = Move Down
+modeler.element.properties.commonProperties.moveUp = Move Up
+modeler.element.properties.commonProperties.implementation = Implementation
modeler.element.properties.commonProperties.security = Security
modeler.element.properties.commonProperties.comments = Comments
-modeler.element.properties.commonProperties.submit = Submit
+modeler.element.properties.commonProperties.submit =Submit
modeler.element.properties.commonProperties.applicationName = Application Name
-modeler.element.properties.commonProperties.configuration = Configuration
+modeler.element.properties.commonProperties.configuration = Configuration33
modeler.element.properties.commonProperties.type = Type
modeler.element.properties.commonProperties.name = Name
modeler.element.properties.commonProperties.direction = Direction
-modeler.element.properties.commonProperties.primitiveType = Primitive Type
+modeler.element.properties.commonProperties.primitiveType =Primitive Type
modeler.element.properties.commonProperties.cardinality = Cardinality
modeler.element.properties.commonProperties.data = Data
-modeler.element.properties.commonProperties.processinterface = Process Interface
+modeler.element.properties.commonProperties.processInterface = Process Interface
modeler.element.properties.commonProperties.dataType = Data Type
-modeler.element.properties.commonProperties.publicvisibility = Public Visibility
-modeler.element.properties.commonProperties.primitivedata = Primitive Data
+modeler.element.properties.commonProperties.publicVisibility = Public Visibility
+modeler.element.properties.commonProperties.primitiveData = Primitive Data
modeler.element.properties.commonProperties.problem = Problem
modeler.element.properties.commonProperties.element = Element
modeler.element.properties.commonProperties.thisModel = This Model
modeler.element.properties.commonProperties.otherModel = Other Models
modeler.element.properties.commonProperties.dataStructure = Data Structure
modeler.element.properties.commonProperties.primitive = Primitive
-modeler.element.properties.commonProperties.structuredata = Structured Data
+modeler.element.properties.commonProperties.structureData = Structured Data
modeler.element.properties.commonProperties.document = Document
modeler.element.properties.commonProperties.other = Other
modeler.element.properties.commonProperties.none = None
modeler.element.properties.commonProperties.in = IN
modeler.element.properties.commonProperties.out = OUT
modeler.element.properties.commonProperties.gateway = Gateway
+modeler.element.properties.commonProperties.uuid = UUID
+modeler.element.properties.commonProperties.id = ID
+modeler.element.properties.commonProperties.model = Model
+modeler.element.properties.commonProperties.browse = Browse
+modeler.element.properties.commonProperties.dataPath = Data Path
+modeler.element.properties.commonProperties.direction = Direction
+modeler.element.properties.commonProperties.inputText.new = New
+modeler.element.properties.commonProperties.assignAutomatically = Assign Automatically
+modeler.element.properties.commonProperties.hours = h
+modeler.element.properties.commonProperties.dollar = $
+modeler.propertyPages.commonProperties.display = Display
+
+###################My Modeling Session ########################
+modeler.modelingSession.sessionParticipants.heading = Session Participants
+modeler.modelingSession.sessionLog.heading = Session Log
+modeler.modelingSession.chatMsg.heading = Chat Message to
+modeler.modelingSession.chatMsg.allParticipants = All Participants
+modeler.modelingSession.sessionProperties.teminateSession = Terminate Session
+modeler.modelingSession.sessionProperties.dismissParticaipant = Dismiss Participant
+modeler.modelingSession.sessionProperties.leaveSession = Leave Session
+modeler.element.properties.sessionProperties.justNow = Just Now
+
+#############DataType Properties#############################
+modeler.propertyView.dataTypeProperties.dataTypeSelect.string = Text
+modeler.propertyView.dataTypeProperties.dataTypeSelect.boolean = Boolean (True, False)
+modeler.propertyView.dataTypeProperties.dataTypeSelect.int = Number (e.g. 18756)
+modeler.propertyView.dataTypeProperties.dataTypeSelect.long = Long Number (e.g. 18756)
+modeler.propertyView.dataTypeProperties.dataTypeSelect.double = Scientific (e.g. 3.1415)
+modeler.propertyView.dataTypeProperties.dataTypeSelect.decimal = Money Amount (e.g.$4,500,600.42)
+modeler.propertyView.dataTypeProperties.dataTypeSelect.calender = Date (e.g. 14/05/2011)
+
+
diff --git a/web-modeler/src/main/resources/bpm-modeler-messages.properties b/web-modeler/src/main/resources/bpm-modeler-messages.properties
index 1473e66..85c761b 100644
--- a/web-modeler/src/main/resources/bpm-modeler-messages.properties
+++ b/web-modeler/src/main/resources/bpm-modeler-messages.properties
@@ -9,45 +9,44 @@
# SunGard CSA LLC - initial API and implementation and/or initial documentation
##############################################################################
-perspectives.ippBpmModeler.label = Business Process Modeling
-views.modelView.label = Model ${viewParams.modelName}[20]
-views.modelView.labelTitle = Model
-views.processDefinitionView.label = Process ${viewParams.processName}[20]
-views.processDefinitionView.labelTitle = Process
-views.roleView.label = ${viewParams.roleName}[20]
-views.roleView.labelTitle = Role
-views.organizationView.label = ${viewParams.organizationName}[20]
-views.organizationView.labelTitle = Organization
-views.conditionalPerformerView.label = ${viewParams.conditionalPerformerName}[20]
-views.conditionalPerformerView.labelTitle = Conditional Performer
-views.dataView.label = ${viewParams.dataName}[20]
-views.dataView.labelTitle = Data
-views.uiMashupApplicationView.label = ${viewParams.applicationName}[20]
-views.uiMashupApplicationView.labelTitle = UI Mashup Application
-views.webServiceApplicationView.label = ${viewParams.applicationName}[20]
-views.webServiceApplicationView.labelTitle = Web Service Application
-views.messageTransformationApplicationView.label = ${viewParams.applicationName}[20]
-views.messageTransformationApplicationView.labelTitle = Message Transformation Application
-views.camelApplicationView.label = ${viewParams.applicationName}[20]
-views.camelApplicationView.labelTitle = Camel Application
-views.xsdStructuredDataTypeView.label = ${viewParams.structuredDataTypeName}[20]
-views.xsdStructuredDataTypeView.labelTitle = Data Structure
-views.modelingWorklistView.label = Modeling Work Dashboard
-views.modelingWorkAssignmentView.label = Modeling Work Assignment
-views.genericApplicationView.label = Unsupported Application ${viewParams.applicationName}[20]
-views.genericApplicationView.labelTitle = Unsupported Application
-perspectives.test.label = Test
-
+perspectives.ippBpmModeler.label=Business Process Modeling
+views.modelView.label=Model ${viewParams.modelName}[20]
+views.modelView.labelTitle=Model
+views.processDefinitionView.label=Process ${viewParams.processName}[20]
+views.processDefinitionView.labelTitle=Process
+views.roleView.label=Role ${viewParams.roleName}[20]
+views.roleView.labelTitle=Role
+views.organizationView.label=Organization ${viewParams.organizationName}[20]
+views.organizationView.labelTitle=Organization
+views.conditionalPerformerView.label=Conditional Performer ${viewParams.conditionalPerformerName}[20]
+views.conditionalPerformerView.labelTitle=Conditional Performer
+views.dataView.label=Data ${viewParams.dataName}[20]
+views.dataView.labelTitle=Data
+views.uiMashupApplicationView.label=UI Mashup Application ${viewParams.applicationName}[20]
+views.uiMashupApplicationView.labelTitle=UI Mashup Application
+views.webServiceApplicationView.label=Web Service Application ${viewParams.applicationName}[20]
+views.webServiceApplicationView.labelTitle=Web Service Application
+views.messageTransformationApplicationView.label=Message Transformation Application ${viewParams.applicationName}[20]
+views.messageTransformationApplicationView.labelTitle=Message Transformation Application
+views.camelApplicationView.label=Camel Application ${viewParams.applicationName}[20]
+views.camelApplicationView.labelTitle=Camel Application
+views.xsdStructuredDataTypeView.label=Data Structure ${viewParams.structuredDataTypeName}[20]
+views.xsdStructuredDataTypeView.labelTitle=Data Structure
+views.modelingWorklistView.label=Modeling Work Dashboard
+views.modelingWorkAssignmentView.label=Modeling Work Assignment
+views.genericApplicationView.label=Unsupported Application ${viewParams.applicationName}[20]
+views.genericApplicationView.labelTitle=Unsupported Application
+perspectives.test.label=Test
launchPanels.ippBpmAdministrativeActions.labelTitle = Administrative Actions
################# changes related to xhtml files ###################
launchpanels.myProcessModels.title = My Process Models
launchpanels.panelHeader.title = Profile
-launchpanels.profileSelector.list = Select Your Profile
-launchpanels.profileSelector.list1 = Business Analyst
-launchpanels.profileSelector.list2 = Integrator
-launchpanels.panelHeader.title2 = My Modeling Session
+launchpanels.profileSelector.list.selectYourProfile = Select Your Profile
+launchpanels.profileSelector.list1.businessAnalyst = Business Analyst
+launchpanels.profileSelector.list2.integrator = Integrator
+launchpanels.panelHeader.title.myModelingSession = My Modeling Session
launchpanels.panelHeader.myModelingSession.inviteParticipants.heading = Invite Participants
launchpanels.panelHeader.myModelingSession.inviteParticipants.filter = Filter
launchpanels.panelHeader.myModelingSession.inviteParticipants.participant = Participant
@@ -73,11 +72,11 @@ configuremodeling.panel.preview = Show Technology Preview Features
modeling.workassignment.view.heading = Modeling Work Assignment
-modeling.workassignment.view.informationmsg = You can use our &lt;b&gt;Consulting Network&lt;/b&gt; to get help with modeling work. Describe your request below and submit the request.
-modeling.workassignment.view.feemodel = Consulting Fee Models
-modeling.workassignment.view.feemodel.message = The following consulting fee models apply to modeling support. Please select your preference
-modeling.workassignment.view.termsandconditions = Terms and Conditions
-modeling.workassignment.view.acceptterms = Confirm that you have read and accept the
+modeling.workassignment.view.informationMsg = You can use our &lt;b&gt;Consulting Network&lt;/b&gt; to get help with modeling work. Describe your request below and submit the request.
+modeling.workassignment.view.feeModel = Consulting Fee Models
+modeling.workassignment.view.feeModel.message = The following consulting fee models apply to modeling support. Please select your preference
+modeling.workassignment.view.termsAndConditions = Terms and Conditions
+modeling.workassignment.view.acceptTerms = Confirm that you have read and accept the
modeling.worklist.overview.heading = Modeling Work Overview
modeling.worklist.overview.select = Select a model
modeling.worklist.overview.activities.heading = Modeling Activities