Hello,
I have a need to add decorator to the
Repositories view
of subversive.
It seems that by default this view don't
accept
decorator.
I modify the code of RepositoriesView.java
to add this
capabilities.
I replace, line 210 :
//this.repositoryTree.setLabelProvider(new
WorkbenchLabelProvider());
this.repositoryTree.setLabelProvider(new
DecoratingLabelProvider(
new
WorkbenchLabelProvider(),
PlatformUI.getWorkbench().getDecoratorManager().getLabelDecorator())
);
Ok, it's works, and i can add decorator to
the
RepositoriesView.
But there is a little unwanted effect on
the hierarchy
representation.
Without the decorator the view display :
- trunk
- branches
- tags
- ROOT
- trunk
- branches
- tags
With the decorator, the trunk branches
disappear, and it
was replaced by the ROOT node :
- ROOT
- trunk
- branches
-tags
- branches
- tags
Is there a way to add decorator to the
RepositoryView and
keep the initial hierarchy display ?
Thanks for answers,
P.
_______________________________________________
subversive-dev mailing list
subversive-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/subversive-dev