Ejemplo n.º 1
0
  public void indicateActiveTask() {
    if (activeTaskLabel != null && activeTaskLabel.isDisposed()) {
      return;
    }

    // activeTaskLabel.setText(shortenText(activeTask.getSummary()));
    activeTaskLabel.setText(activeTask.getSummary());
    activeTaskLabel.setUnderlined(true);
    activeTaskLabel.setToolTipText(activeTask.getSummary());
    activeTaskSelectionProvider.setSelection(new StructuredSelection(activeTask));
  }
Ejemplo n.º 2
0
 private void addIndexedAttributes(Document document, ITask task) {
   addIndexedAttribute(document, FIELD_TASK_KEY, task.getTaskKey());
   addIndexedAttribute(document, FIELD_REPOSITORY_URL, task.getRepositoryUrl());
   addIndexedAttribute(document, FIELD_SUMMARY, task.getSummary());
   addIndexedAttribute(document, FIELD_CONTENT, task.getSummary());
   addIndexedAttribute(document, FIELD_CONTENT, ((AbstractTask) task).getNotes());
   addIndexedDateAttributes(document, task);
 }