Page 1 of 1

Remove Double Arrow Icon from Nested Node

Posted: Fri Aug 06, 2010 1:16 pm
by syee02
We frequently export cmaps with nested nodes as images or webpages to share with clients, and inevitably people are confused by the non-functioning, double arrow on the right side of nested boxes.

Other than manually removing with Adobe Photoshop, is there some way to remove the nested box double arrow within CMAPTools Software? I am thinking, for example, to replace the double arrow icon with an "invisible" icon.

For that matter, is there any flexibility to edit the icons available for resource links [to other cmaps or data] to user-defined icons?

Re: Remove Double Arrow Icon from Nested Node

Posted: Fri Aug 06, 2010 1:31 pm
by acanas
No, there is nothing that can be done about displaying the nested nodes.

Re: Remove Double Arrow Icon from Nested Node

Posted: Sun Nov 19, 2023 5:33 am
by vesjolovam
There is a hacky (and of questionable legality*) workaround though: those icons are created based on the shrinkBigNode.gif and expandBigNode.gif icons located in the
[your CmapTools installation folder]\classes\nlk.jar
(e.g. the default path on Windows is C:\Program Files\IHMC CmapTools\classes\nlk.jar)
file at the
nlk\util\images\minibar\
internal path. If you just delete them by editing that JAR file with some archiver that supports Java Archives (e.g. 7-Zip), they are not going to be drawn anymore and the program will still function normally (though you wouldn't be able to expand/collapse the nested nodes by clicking that icon anymore, you would have to use the other ways like the right click menu or the Tools menu). You could also replace the other icons located there in that JAR file and everything would likely function fine.

—————
* Strictly speaking, this would violate article 3 of the license agreement, so one should probably not be using this any way other than personal (i.e. no sharing of the modified program nor the artifacts produced using it).

EDIT: Actually, having tried this solution, just deleting those icons seems to cause a lot of unnecessary output operations (mostly the error reports about being unable to find the icon) leading to a lot of lagging, so if you want to visually remove the icon without affecting the performance of the program, replace it with a fully transparent one.

Re: Remove Double Arrow Icon from Nested Node

Posted: Mon Dec 11, 2023 11:24 pm
by suretype
there is no solution for displaying nested buttons. :roll: :roll:basketball stars

Re: Remove Double Arrow Icon from Nested Node

Posted: Mon Dec 18, 2023 2:30 am
by climatestray
vesjolovam wrote: Sun Nov 19, 2023 5:33 am There is a hacky (and of questionable legality*) workaround though: those icons are created based on the shrinkBigNode.gif and expandBigNode.gif icons located in the
[your CmapTools installation folder]\classes\nlk.jareggy car
(e.g. the default path on Windows is C:\Program Files\IHMC CmapTools\classes\nlk.jar)
file at the
nlk\util\images\minibar\
internal path. If you just delete them by editing that JAR file with some archiver that supports Java Archives (e.g. 7-Zip), they are not going to be drawn anymore and the program will still function normally (though you wouldn't be able to expand/collapse the nested nodes by clicking that icon anymore, you would have to use the other ways like the right click menu or the Tools menu). You could also replace the other icons located there in that JAR file and everything would likely function fine.

—————
* Strictly speaking, this would violate article 3 of the license agreement, so one should probably not be using this any way other than personal (i.e. no sharing of the modified program nor the artifacts produced using it).

EDIT: Actually, having tried this solution, just deleting those icons seems to cause a lot of unnecessary output operations (mostly the error reports about being unable to find the icon) leading to a lot of lagging, so if you want to visually remove the icon without affecting the performance of the program, replace it with a fully transparent one.
Thanks for the solution, just replace the other symbols located in the JAR file, it worked fine for me. :)

Re: Remove Double Arrow Icon from Nested Node

Posted: Mon Jan 15, 2024 11:23 pm
by polinkuer12
i tried this solution. it doesn't seem to completely fix the problem
Quick Draw

Thank you everybody!

Posted: Thu Feb 08, 2024 10:51 pm
by Thomasscasp
Extremely excited to join this gathering! The enthusiasm and informative viewpoints are good. The info presented is phenomenal!

Thanks all!

Thank you everyone!

Posted: Thu Feb 08, 2024 10:57 pm
by Thomasscasp
Entirely enjoyed exist! The enthusiasm and thoughtful engagement are really inspiring. The information shared is fantastic!

Thank you all!

Have a fantastic day!

Posted: Thu Feb 08, 2024 11:03 pm
by Thomasscasp
Radiantly happy to be present! The enthusiasm and cautious factor to consider are truly appreciated. The detail shared is fantastic!

Have a great day!

Thank you everybody!

Posted: Thu Feb 08, 2024 11:40 pm
by Thomasscasp
Absolutely breaking with happiness to be here! The interest and cautious factor to consider are commendable. The quality of info presented is great!

Thank you everyone!