|
Lines 119-127
Link Here
|
| 119 |
* @param title |
119 |
* @param title |
| 120 |
* @param titleImage |
120 |
* @param titleImage |
| 121 |
*/ |
121 |
*/ |
| 122 |
protected FilterSummaryPage(TaskRepository repository, String pageName, String title, ImageDescriptor titleImage, |
122 |
protected FilterSummaryPage(TaskRepository repository, FilterDefinition workingCopy, boolean isNew) { |
| 123 |
FilterDefinition workingCopy, boolean isNew) { |
123 |
super("summaryPage", "Filter Summary", null); |
| 124 |
super(pageName, title, titleImage); |
|
|
| 125 |
this.repository = repository; |
124 |
this.repository = repository; |
| 126 |
|
125 |
|
| 127 |
this.server = JiraServerFacade.getDefault().getJiraServer(repository); |
126 |
this.server = JiraServerFacade.getDefault().getJiraServer(repository); |
|
Lines 241-255
Link Here
|
| 241 |
}); |
240 |
}); |
| 242 |
new Label(c, SWT.NONE); |
241 |
new Label(c, SWT.NONE); |
| 243 |
|
242 |
|
| 244 |
// Need to turn off validation here |
|
|
| 245 |
if (isNew) { |
| 246 |
loadFromDefaults(); |
| 247 |
} else { |
| 248 |
loadFromWorkingCopy(); |
| 249 |
} |
| 250 |
|
| 251 |
setControl(c); |
| 252 |
|
| 253 |
searchComments = new Button(c, SWT.CHECK); |
243 |
searchComments = new Button(c, SWT.CHECK); |
| 254 |
searchComments.setLayoutData(new GridData()); |
244 |
searchComments.setLayoutData(new GridData()); |
| 255 |
searchComments.setText("Comments"); |
245 |
searchComments.setText("Comments"); |
|
Lines 271-282
Link Here
|
| 271 |
} |
261 |
} |
| 272 |
|
262 |
|
| 273 |
}); |
263 |
}); |
|
|
264 |
|
| 265 |
// Need to turn off validation here |
| 266 |
if (isNew) { |
| 267 |
loadFromDefaults(); |
| 268 |
} else { |
| 269 |
loadFromWorkingCopy(); |
| 270 |
} |
| 271 |
|
| 272 |
setControl(c); |
| 274 |
} |
273 |
} |
| 275 |
|
274 |
|
| 276 |
public IWizardPage getNextPage() { |
275 |
public IWizardPage getNextPage() { |
| 277 |
if (issueAttributesPage == null) { |
276 |
if (issueAttributesPage == null) { |
| 278 |
issueAttributesPage = new IssueAttributesPage(repository, "issueAttributes", "Issue Attributes", null, |
277 |
issueAttributesPage = new IssueAttributesPage(repository, workingCopy, isNew); |
| 279 |
workingCopy, isNew); |
|
|
| 280 |
issueAttributesPage.setWizard(getWizard()); |
278 |
issueAttributesPage.setWizard(getWizard()); |
| 281 |
} |
279 |
} |
| 282 |
|
280 |
|