Filter projects to be shared
Hello,
There are some projects I wouldn't want the users to share with SCM. I
don't want them to show up in the Share Project wizard. These projects
however need to be accessible (exist and open).
I looked into the SharingWizard class (specificially
getProjectsToShare() method), I don't see a way to programatically hide
these projects in the wizard. Maybe I am missing something? Is there
a preference (like Ignore Resources) to ignore these projects?
Thanks.
There are some projects I wouldn't want the users to share with SCM. I
don't want them to show up in the Share Project wizard. These projects
however need to be accessible (exist and open).
I looked into the SharingWizard class (specificially
getProjectsToShare() method), I don't see a way to programatically hide
these projects in the wizard. Maybe I am missing something? Is there
a preference (like Ignore Resources) to ignore these projects?
Thanks.
One answer
I haven't tried this but just a thought. Could I create a dummy
repository provider and automatically add these projects to this dummy
repository, so that the Share Wizard would think that these projects are
already shared so no need to show them in the wizard.
hvlam wrote:
repository provider and automatically add these projects to this dummy
repository, so that the Share Wizard would think that these projects are
already shared so no need to show them in the wizard.
hvlam wrote:
Hello,
There are some projects I wouldn't want the users to share with SCM. I
don't want them to show up in the Share Project wizard. These projects
however need to be accessible (exist and open).
I looked into the SharingWizard class (specificially
getProjectsToShare() method), I don't see a way to programatically hide
these projects in the wizard. Maybe I am missing something? Is there
a preference (like Ignore Resources) to ignore these projects?
Thanks.