return tag.getName();
}
public void open() {
try {
TodoView todoView = (TodoView) TaskActivator.getInstance().getWorkbench()
.getActiveWorkbenchWindow().getActivePage()
.showView(TodoView.ID);
String query = TagImplCustom.PREFIX + tag.getName();
if(!isEmpty(tag.getValue())){
query += " = " + tag.getValue();
}
todoView.setQuery(query);
} catch (PartInitException e) {
LOG.error(e.getMessage(), e);
}
}