crashanalysis/crashanalyser/com.nokia.s60tools.crashanalyser/src/com/nokia/s60tools/crashanalyser/ui/editors/MultiPageEditor.java
changeset 16 72f198be1c1d
parent 4 615035072f7e
equal deleted inserted replaced
15:0367d2db2c06 16:72f198be1c1d
   116 			}
   116 			}
   117 		// Summary xml is opened via CrashAnalyser View
   117 		// Summary xml is opened via CrashAnalyser View
   118 		} else if (summaryFile != null) {
   118 		} else if (summaryFile != null) {
   119 			if (summaryFile.getContentType() == ContentType.CRASH) {
   119 			if (summaryFile.getContentType() == ContentType.CRASH) {
   120 				int index = 
   120 				int index = 
   121 					addPage(summaryPage.createPage(new Composite(getContainer(), SWT.NONE), summaryFile));
   121 					addPage(callStackPage.createPage(new Composite(getContainer(), SWT.NONE), summaryFile));
   122 				setPageText(index, "Call Stack");
   122 				setPageText(index, "Call Stack");
   123 			}
   123 			}
   124 		// output.crashxml file opened from File > Open
   124 		// output.crashxml file opened from File > Open
   125 		} else {
   125 		} else {
   126 			int index = 
   126 			int index = 
   127 				addPage(summaryPage.createPage(new Composite(getContainer(), SWT.NONE)));
   127 				addPage(callStackPage.createPage(new Composite(getContainer(), SWT.NONE)));
   128 			setPageText(index, "Call Stack");
   128 			setPageText(index, "Call Stack");
   129 		}
   129 		}
   130 	}
   130 	}
   131 
   131 
   132 	/**
   132 	/**