Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tracecompass-dev] Hiding analysis modules from project explorer?

Ok, can you do this:

Add Resource Filter for project "your project"

Filter type: exclude

Applies to:

Files and folders, All Children

File and Folder Attributes

Name matches .*base\sanalysis.*

check Regex


Does that work?


Matthew


On 17-10-26 11:36 AM, Rocky Dunlap - NOAA Affiliate wrote:
> Matthew,
>
> I set a filter to exclude all where name matches regex
> ".*Analysis.*".  However, in my Project Explorer I still see the
> analyses listed under the trace "Views" as usual.  These filters seem
> to apply to files and folders, so would these apply to the analyses
> elements?  Also, since option this is project specific, it would need
> to be set for all projects separately.
>
> In my use case, there are certain kinds of analyses, let's call them
> "base analyses" that need to run in the background, but have no
> associated views.  So, it's not project-specific, it's related to the
> analysis itself.  See what I mean?
>
> Rocky
>
> On Thu, Oct 26, 2017 at 8:16 AM, Matthew Khouzam
> <matthew.khouzam@xxxxxxxxxxxx <mailto:matthew.khouzam@xxxxxxxxxxxx>>
> wrote:
>
>     Hi Rocky, sorry for the late reply.
>
>
>     Here's a way to do it: right click on your project, properties,
>     resources, filter.
>
>
>     It can also be done programatically. Check out
>
>     https://stackoverflow.com/questions/6100198/how-to-create-an-eclipse-folder-resource-filter-in-java
>     <https://stackoverflow.com/questions/6100198/how-to-create-an-eclipse-folder-resource-filter-in-java>
>
>     <https://stackoverflow.com/questions/6100198/how-to-create-an-eclipse-folder-resource-filter-in-java>
>     	
>     How to create an Eclipse folder resource filter in Java ...
>     <https://stackoverflow.com/questions/6100198/how-to-create-an-eclipse-folder-resource-filter-in-java>
>     stackoverflow.com <http://stackoverflow.com>
>     The Eclipse folder properties dialog allows you to edit the
>     resource filters ( see eclipse 3.5 filter .git folder) . I would
>     like to do the same programmatically. My ...
>
>     I hope this helps!
>
>
>     Matthew
>
>     ------------------------------------------------------------------------
>     *From:* tracecompass-dev-bounces@xxxxxxxxxxx
>     <mailto:tracecompass-dev-bounces@xxxxxxxxxxx>
>     <tracecompass-dev-bounces@xxxxxxxxxxx
>     <mailto:tracecompass-dev-bounces@xxxxxxxxxxx>> on behalf of Rocky
>     Dunlap - NOAA Affiliate <rocky.dunlap@xxxxxxxx
>     <mailto:rocky.dunlap@xxxxxxxx>>
>     *Sent:* Friday, October 13, 2017 2:35:37 PM
>     *To:* tracecompass developer discussions
>     *Subject:* Re: [tracecompass-dev] Hiding analysis modules from
>     project explorer?
>      
>     Yes, the idea would be to hide just some of the analyses.  The use
>     case here is that you might have a kind of "base analysis" that
>     multiple other analyses depend on.  However, the end user really
>     only cares/knows about the user facing analyses and their related
>     views.  So, you still want the base analysis to execute in the
>     background, but there is really no need for the UI element -
>     mainly because there are no associated views with it.
>
>     Rocky
>
>     On Fri, Oct 13, 2017 at 12:21 PM, Matthew Khouzam
>     <matthew.khouzam@xxxxxxxxxxxx
>     <mailto:matthew.khouzam@xxxxxxxxxxxx>> wrote:
>
>         Hi Rocky,
>
>         This is an interesting feature we did not implement/design
>         yet. Patches
>         on this would be very welcome. ;)
>
>         Just to clarify, you want to hide SOME of the analyses, not
>         all of them,
>         right?
>
>         Br
>
>         Matthew
>
>
>         On 17-10-13 12:20 PM, Rocky Dunlap - NOAA Affiliate wrote:
>         > How do I hide an analysis module from the list of analyses
>         in the
>         > Project Explorer?  In other words, they are dependent
>         analysis that I
>         > still want to run, just want to hide them from the UI.  Is
>         that possible?
>         >
>         > Rocky
>         >
>         >
>         > _______________________________________________
>         > tracecompass-dev mailing list
>         > tracecompass-dev@xxxxxxxxxxx
>         <mailto:tracecompass-dev@xxxxxxxxxxx>
>         > To change your delivery options, retrieve your password, or
>         unsubscribe from this list, visit
>         > https://dev.eclipse.org/mailman/listinfo/tracecompass-dev
>         <https://dev.eclipse.org/mailman/listinfo/tracecompass-dev>
>
>         _______________________________________________
>         tracecompass-dev mailing list
>         tracecompass-dev@xxxxxxxxxxx <mailto:tracecompass-dev@xxxxxxxxxxx>
>         To change your delivery options, retrieve your password, or
>         unsubscribe from this list, visit
>         https://dev.eclipse.org/mailman/listinfo/tracecompass-dev
>         <https://dev.eclipse.org/mailman/listinfo/tracecompass-dev>
>
>
>
>     _______________________________________________
>     tracecompass-dev mailing list
>     tracecompass-dev@xxxxxxxxxxx <mailto:tracecompass-dev@xxxxxxxxxxx>
>     To change your delivery options, retrieve your password, or
>     unsubscribe from this list, visit
>     https://dev.eclipse.org/mailman/listinfo/tracecompass-dev
>     <https://dev.eclipse.org/mailman/listinfo/tracecompass-dev>
>
>
>
>
> _______________________________________________
> tracecompass-dev mailing list
> tracecompass-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/tracecompass-dev



Back to the top