Package net.sf.redmine_mylyn.api.query

Examples of net.sf.redmine_mylyn.api.query.Query.toUrl()


    if(selectedQuery.getProjectId()>=1) {
      query.addFilter(QueryField.PROJECT, CompareOperator.IS, ""+selectedQuery.getProjectId()); //$NON-NLS-1$
    }
   
    try {
      repositoryQuery.setUrl(query.toUrl(getTaskRepository().getCharacterEncoding()));
    } catch (RedmineApiErrorException e) {
      IStatus status = RedmineUiPlugin.toStatus(e, Messages.ERRMSG_QUERY_CREATION_FAILED);
      StatusHandler.log(status);
      setErrorMessage(status.getMessage());
    }
View Full Code Here


  public void applyTo(IRepositoryQuery repositoryQuery) {
    repositoryQuery.setSummary(getQueryTitle());
   
    Query query = QueryBuilder.buildQuery(searchOperators, queryText, queryStructuredViewer);
    try {
      repositoryQuery.setUrl(query.toUrl(getTaskRepository().getCharacterEncoding()));
    } catch (RedmineApiErrorException e) {
      IStatus status = RedmineUiPlugin.toStatus(e, Messages.ERRMSG_QUERY_CREATION_FAILED);
      StatusHandler.log(status);
      setErrorMessage(status.getMessage());
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.