Author: DartPeng
Date: 2008-08-13 02:37:20 -0400 (Wed, 13 Aug 2008)
New Revision: 9677
Modified:
workspace/dart/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/ui/editors/SmooksGraphicalFormPage.java
Log:
fix a bug -- add new input to tree viewer , the graphics model can't be created at the
same time
Modified:
workspace/dart/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/ui/editors/SmooksGraphicalFormPage.java
===================================================================
---
workspace/dart/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/ui/editors/SmooksGraphicalFormPage.java 2008-08-13
06:35:31 UTC (rev 9676)
+++
workspace/dart/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/ui/editors/SmooksGraphicalFormPage.java 2008-08-13
06:37:20 UTC (rev 9677)
@@ -281,7 +281,7 @@
* @param items
* @param modelClass
*/
- protected void createGraphModels(TreeItem[] items, Class modelClass) {
+ protected void createGraphModels(TreeItem[] items, Class<? extends Object>
modelClass) {
for (int i = 0; i < items.length; i++) {
TreeItem item = (TreeItem) items[i];
AbstractStructuredDataModel model = null;
@@ -444,7 +444,7 @@
if (UIUtils.setTheProvidersForTreeViewer(viewer, cw
.getInputDataTypeID())) {
viewer.setInput(cw.getTreeViewerInputContents());
- // the viewer must be expanded , then the graphics model can cauculate the location
correctly
+ // the viewer must be expanded , then the graphics model can calculate the location
correctly
viewer.expandAll();
if(viewer == this.sourceViewer){
Show replies by date