modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/bundle/deploy/DeployStep.java
| 10 ++++++----
modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/bundle/deploy/GetDestinationStep.java
| 5 +++--
modules/enterprise/gui/coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages.properties
| 9 ++++++---
3 files changed, 15 insertions(+), 9 deletions(-)
New commits:
commit 5f8c0d6c2b969ffcf88ed311afc9d561e81022f4
Author: John Mazzitelli <mazz(a)redhat.com>
Date: Fri Dec 17 00:01:05 2010 -0500
the detail messages are too long for the message center -make them details and provide
shorter concise messages
diff --git
a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/bundle/deploy/DeployStep.java
b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/bundle/deploy/DeployStep.java
index bef5d91..bdd818c 100644
---
a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/bundle/deploy/DeployStep.java
+++
b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/bundle/deploy/DeployStep.java
@@ -79,8 +79,9 @@ public class DeployStep extends AbstractWizardStep {
deployingImage.setSrc("/images/status_complete.gif");
deployingMessage.setText(MSG.view_bundle_deployWizard_deploymentCreated());
CoreGUI.getMessageCenter().notify(
- new
Message(MSG.view_bundle_deployWizard_deploymentCreatedDetail(result.getName(), result
- .getDescription()), Severity.Info));
+ new
Message(MSG.view_bundle_deployWizard_deploymentCreatedDetail_concise(result.getName()),
+
MSG.view_bundle_deployWizard_deploymentCreatedDetail(result.getName(), result
+ .getDescription()), Severity.Info));
wizard.setNewDeployment(result);
bundleServer.scheduleBundleDeployment(wizard.getNewDeployment().getId(), wizard
@@ -90,8 +91,9 @@ public class DeployStep extends AbstractWizardStep {
deployingImage.setSrc("/images/status_complete.gif");
deployingMessage.setText(MSG.view_bundle_deployWizard_deploymentScheduled());
CoreGUI.getMessageCenter().notify(
- new
Message(MSG.view_bundle_deployWizard_deploymentScheduledDetail(result
- .getName(),
result.getDestination().getGroup().getName()), Severity.Info));
+ new
Message(MSG.view_bundle_deployWizard_deploymentScheduledDetail_concise(),
+
MSG.view_bundle_deployWizard_deploymentScheduledDetail(result.getName(),
+
result.getDestination().getGroup().getName()), Severity.Info));
CoreGUI.refresh();
wizard.setNewDeployment(result);
}
diff --git
a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/bundle/deploy/GetDestinationStep.java
b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/bundle/deploy/GetDestinationStep.java
index ee0122e..78a9bf9 100644
---
a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/bundle/deploy/GetDestinationStep.java
+++
b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/bundle/deploy/GetDestinationStep.java
@@ -169,8 +169,9 @@ public class GetDestinationStep extends AbstractWizardStep {
wizard.setDestination(result);
wizard.setNewDestination(true);
CoreGUI.getMessageCenter().notify(
- new
Message(MSG.view_bundle_deployWizard_destinationCreatedDetail(result.getName(), result
- .getDescription()), Severity.Info));
+ new
Message(MSG.view_bundle_deployWizard_destinationCreatedDetail_concise(result.getName()),
+
MSG.view_bundle_deployWizard_destinationCreatedDetail(result.getName(), result
+ .getDescription()), Severity.Info));
createInProgress = false;
wizard.getView().incrementStep();
}
diff --git
a/modules/enterprise/gui/coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages.properties
b/modules/enterprise/gui/coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages.properties
index 69803a3..de1ef89 100644
---
a/modules/enterprise/gui/coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages.properties
+++
b/modules/enterprise/gui/coregui/src/main/resources/org/rhq/enterprise/gui/coregui/client/Messages.properties
@@ -995,10 +995,13 @@ view_bundle_createWizard_createSuccessful = You have successfully
created a bund
view_bundle_deployWizard_deploying = Deploying...
view_bundle_deployWizard_deployStep = Deploy Bundle to Destination Platforms
view_bundle_deployWizard_deploymentCreated = Created Deployment...
-view_bundle_deployWizard_deploymentCreatedDetail = Created deployment [{0}] description
[{1}]
-view_bundle_deployWizard_destinationCreatedDetail = Created destination [{0}] description
[{1}]
+view_bundle_deployWizard_deploymentCreatedDetail = You have created the deployment [{0}]
with the description [{1}]
+view_bundle_deployWizard_deploymentCreatedDetail_concise = You have created the
deployment [{0}]
+view_bundle_deployWizard_destinationCreatedDetail = You have created the destination
[{0}] with the description [{1}]
+view_bundle_deployWizard_destinationCreatedDetail_concise = You have created the
destination [{0}]
view_bundle_deployWizard_deploymentScheduled = Bundle Deployment Scheduled!
-view_bundle_deployWizard_deploymentScheduledDetail = Scheduled bundle deployment [{0}]
destination group [{1}]
+view_bundle_deployWizard_deploymentScheduledDetail = You have scheduled the bundle
deployment [{0}] to the destination group [{1}]
+view_bundle_deployWizard_deploymentScheduledDetail_concise = You have scheduled the
bundle deployment
view_bundle_deployWizard_error_1 = Failed to delete new deployment on Cancel: {0}
view_bundle_deployWizard_error_2 = Failed to delete new destination on Cancel: {0}
view_bundle_deployWizard_error_3 = Failed to Schedule Deployment!
Show replies by date