Lines 34-40
Link Here
|
34 |
import org.eclipse.mylyn.commons.core.StatusHandler; |
34 |
import org.eclipse.mylyn.commons.core.StatusHandler; |
35 |
import org.eclipse.mylyn.internal.tasks.core.AbstractTask; |
35 |
import org.eclipse.mylyn.internal.tasks.core.AbstractTask; |
36 |
import org.eclipse.mylyn.internal.tasks.core.AbstractTaskCategory; |
36 |
import org.eclipse.mylyn.internal.tasks.core.AbstractTaskCategory; |
|
|
37 |
import org.eclipse.mylyn.internal.tasks.core.LocalRepositoryConnector; |
37 |
import org.eclipse.mylyn.internal.tasks.core.TaskCategory; |
38 |
import org.eclipse.mylyn.internal.tasks.core.TaskCategory; |
|
|
39 |
import org.eclipse.mylyn.internal.tasks.core.UncategorizedTaskContainer; |
38 |
import org.eclipse.mylyn.internal.tasks.ui.IDynamicSubMenuContributor; |
40 |
import org.eclipse.mylyn.internal.tasks.ui.IDynamicSubMenuContributor; |
39 |
import org.eclipse.mylyn.internal.tasks.ui.TasksUiPlugin; |
41 |
import org.eclipse.mylyn.internal.tasks.ui.TasksUiPlugin; |
40 |
import org.eclipse.mylyn.internal.tasks.ui.actions.CopyTaskDetailsAction.Mode; |
42 |
import org.eclipse.mylyn.internal.tasks.ui.actions.CopyTaskDetailsAction.Mode; |
Lines 301-306
Link Here
|
301 |
if (container instanceof TaskCategory) { |
303 |
if (container instanceof TaskCategory) { |
302 |
hasCategory = true; |
304 |
hasCategory = true; |
303 |
} |
305 |
} |
|
|
306 |
if (container instanceof UncategorizedTaskContainer |
307 |
&& !LocalRepositoryConnector.CONNECTOR_KIND.equals(((AbstractTask) element).getConnectorKind())) { |
308 |
hasCategory = true; |
309 |
} |
304 |
} |
310 |
} |
305 |
if (!hasCategory) { |
311 |
if (!hasCategory) { |
306 |
return false; |
312 |
return false; |