<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Main toolbar]]></title><description><![CDATA[<p dir="auto">Hi, how can I add or remove icons or reorder them at main tool bar ?</p>
<p dir="auto">Best regards.</p>
]]></description><link>https://forum.mango-os.com/topic/1505/main-toolbar</link><generator>RSS for Node</generator><lastBuildDate>Tue, 16 Jun 2026 11:57:16 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/1505.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 03 Mar 2014 21:20:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Main toolbar on Tue, 04 Mar 2014 02:20:45 GMT]]></title><description><![CDATA[<p dir="auto">ok. thankyou</p>
]]></description><link>https://forum.mango-os.com/post/8414</link><guid isPermaLink="true">https://forum.mango-os.com/post/8414</guid><dc:creator><![CDATA[bitelxux]]></dc:creator><pubDate>Tue, 04 Mar 2014 02:20:45 GMT</pubDate></item><item><title><![CDATA[Reply to Main toolbar on Tue, 04 Mar 2014 02:16:53 GMT]]></title><description><![CDATA[<p dir="auto">Also, in response to the ordering... that will require recompiling the entire module or replacing the class overriding the MenuItemDefinition subclass in the .jar.</p>
<p dir="auto">MenuItemDefinition has a method "getOrder" which is documented to explain the ordering process.</p>
]]></description><link>https://forum.mango-os.com/post/8413</link><guid isPermaLink="true">https://forum.mango-os.com/post/8413</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Tue, 04 Mar 2014 02:16:53 GMT</pubDate></item><item><title><![CDATA[Reply to Main toolbar on Tue, 04 Mar 2014 02:15:50 GMT]]></title><description><![CDATA[<p dir="auto">You will need to do some compilation to add classes that extend MenuItemVetoDefinition, but you can just "javac myvetoclass.java" in the same directory as ModuleElementDefinition.java and MenuItemVetoDefinition.java (both in com.serotonin.m2m2.module) to get a .class file, then bundle that into the module's .jar file. Add the class path to the module.properties file for the module and all should work.</p>
]]></description><link>https://forum.mango-os.com/post/8412</link><guid isPermaLink="true">https://forum.mango-os.com/post/8412</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Tue, 04 Mar 2014 02:15:50 GMT</pubDate></item><item><title><![CDATA[Reply to Main toolbar on Tue, 04 Mar 2014 02:03:07 GMT]]></title><description><![CDATA[<p dir="auto">So I must recompile, isn't it ?</p>
<p dir="auto">And what about change order ? My client wants the Views eye icon be the first in the tool bar ...</p>
<p dir="auto">Thankyou</p>
]]></description><link>https://forum.mango-os.com/post/8411</link><guid isPermaLink="true">https://forum.mango-os.com/post/8411</guid><dc:creator><![CDATA[bitelxux]]></dc:creator><pubDate>Tue, 04 Mar 2014 02:03:07 GMT</pubDate></item><item><title><![CDATA[Reply to Main toolbar on Mon, 03 Mar 2014 23:10:14 GMT]]></title><description><![CDATA[<p dir="auto">The answer depends on the icon you're trying to hide and from who. In the code, I encourage you to look at the "getVisibility" method in com.serotonin.m2m2.module.MenuItemDefinition, as well as the class com.serotonin.m2m2.module.MenuItemVetoDefinition (which is probably what you're looking for, as I think you could just make a veto module)</p>
]]></description><link>https://forum.mango-os.com/post/8409</link><guid isPermaLink="true">https://forum.mango-os.com/post/8409</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Mon, 03 Mar 2014 23:10:14 GMT</pubDate></item></channel></rss>