[jbpm-commits] JBoss JBPM SVN: r5146 - projects/gwt-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/engine.
do-not-reply at jboss.org
do-not-reply at jboss.org
Mon Jun 29 06:20:30 EDT 2009
Author: heiko.braun at jboss.com
Date: 2009-06-29 06:20:29 -0400 (Mon, 29 Jun 2009)
New Revision: 5146
Modified:
projects/gwt-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/engine/DeploymentListView.java
projects/gwt-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/engine/EngineEditor.java
Log:
Move deployment deetail panel to deployment list
Modified: projects/gwt-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/engine/DeploymentListView.java
===================================================================
--- projects/gwt-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/engine/DeploymentListView.java 2009-06-29 10:19:44 UTC (rev 5145)
+++ projects/gwt-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/engine/DeploymentListView.java 2009-06-29 10:20:29 UTC (rev 5146)
@@ -68,6 +68,8 @@
private List<DeploymentRef> deployments = null;
+ private DeploymentDetailView detailView;
+
public DeploymentListView()
{
super();
@@ -245,12 +247,11 @@
layout.add(deploymentList, new BorderLayoutData(BorderLayout.Region.CENTER));
// details
- /*ProcessDetailView detailsView = new ProcessDetailView();
- controller.addView(ProcessDetailView.ID, detailsView);
- controller.addAction(UpdateProcessDetailAction.ID, new UpdateProcessDetailAction());
- layout.add(detailsView, new BorderLayoutData(BorderLayout.Region.SOUTH, 10,200));
- */
-
+ // detail panel
+ detailView = new DeploymentDetailView();
+ controller.addView(DeploymentDetailView.ID, detailView);
+ layout.add(detailView, new BorderLayoutData(BorderLayout.Region.SOUTH,10,200));
+
this.add(layout);
initialized = true;
Modified: projects/gwt-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/engine/EngineEditor.java
===================================================================
--- projects/gwt-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/engine/EngineEditor.java 2009-06-29 10:19:44 UTC (rev 5145)
+++ projects/gwt-console/trunk/gui/war/src/main/java/org/jboss/bpm/console/client/engine/EngineEditor.java 2009-06-29 10:20:29 UTC (rev 5146)
@@ -51,8 +51,6 @@
private TabLayoutPanel tabPanel;
- private DeploymentDetailView detailView;
-
private Map<String,Integer> view2index = new HashMap<String,Integer>();
public EngineEditor(ApplicationContext appContext)
@@ -86,17 +84,20 @@
lazyPanel.initialize();
appContext.refreshView(); // TODO: hack around rendering problems
}
+
+ // load jobs
+ if(1==i)
+ {
+ controller.handleEvent(
+ new Event(UpdateJobsAction.ID, null)
+ );
+ }
}
}
);
this.add(tabPanel, new BorderLayoutData(BorderLayout.Region.CENTER));
- // detail panel
- detailView = new DeploymentDetailView();
- controller.addView(DeploymentDetailView.ID, detailView);
- this.add(detailView, new BorderLayoutData(BorderLayout.Region.SOUTH,10,200));
-
// create and register views
registerView(DeploymentListView.ID, new DeploymentListView());
registerView(JobListView.ID, new JobListView(appContext));
More information about the jbpm-commits
mailing list