Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Memory Analyzer » QuerySpec collapsed (is it possible to construct a QuerySpec in collapsed mode)
QuerySpec collapsed [message #1850830] Thu, 17 March 2022 20:56 Go to next message
G Xu is currently offline G XuFriend
Messages: 3
Registered: June 2020
Junior Member
Hello

As more and more querySpecs are added, I felt that need to make the section shown as collapsed.

Is that possible?

for example

new QuerySpec(subtitle, new BITableResult(ret, snapshot, services));

trying to find a flag, but there is none.

Thanks
George
Re: QuerySpec collapsed [message #1850926 is a reply to message #1850830] Tue, 22 March 2022 14:30 Go to previous message
Andrew Johnson is currently offline Andrew JohnsonFriend
Messages: 205
Registered: July 2009
Senior Member
Please see
org.eclipse.mat.report.Params.HTML.COLLAPSED


An example:
                QuerySpec spec = new QuerySpec(Messages.TopConsumers2Query_BiggestObjects,
                                new ObjectListResult.Outbound(snapshot, suspects.toArray()));
                addCommand(spec, "show_dominator_tree", suspects); //$NON-NLS-1$
                spec.set(Params.Html.COLLAPSED, Boolean.TRUE.toString());
                composite.add(spec);
Previous Topic:fields of objects not shown in inspector / attributes
Next Topic:Locate Sockets
Goto Forum:
  


Current Time: Mon Jan 13 08:20:14 GMT 2025

Powered by FUDForum. Page generated in 0.04935 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top