use of org.eclipse.linuxtools.internal.mylyn.osio.rest.core.OSIORestConfiguration in project linuxtools by eclipse.
the class OSIORestUIUtil method createOSIORestSearchQueryPage.
protected static OSIORestSearchQueryPage createOSIORestSearchQueryPage(TaskData taskData, OSIORestConnector connectorREST, TaskRepository repository) {
try {
OSIORestSearchQueryPageSchema.getInstance().initialize(taskData);
OSIORestConfiguration config = connectorREST.getRepositoryConfiguration(repository);
if (config != null) {
config.updateSpaceOptions(taskData);
}
} catch (CoreException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return new OSIORestSearchQueryPage(Messages.OSIORestUiUtil_CreateQueryFromForm, repository, null, OSIORestSearchQueryPageSchema.getInstance(), taskData, new // $NON-NLS-1$
QueryPageDetails(// $NON-NLS-1$
true, // $NON-NLS-1$
"buglist.cgi?", // $NON-NLS-1$
Messages.OSIORestUiUtil_FillForm, Messages.OSIORestUiUtil_enterTitleAndFillForm, "([a-zA-Z][a-zA-Z+.-]{0,10}://[a-zA-Z0-9%._~!$&?#'()*+,;:@/=-]+)", // $NON-NLS-1$
null));
}
Aggregations