<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Disabling menu entries in deployed docked figures	</title>
	<atom:link href="https://undocumentedmatlab.com/articles/disabling-menu-entries-in-deployed-docked-figures/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com/articles/disabling-menu-entries-in-deployed-docked-figures?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=disabling-menu-entries-in-deployed-docked-figures</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Sat, 24 Mar 2018 19:47:21 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>
	<item>
		<title>
		By: alsec		</title>
		<link>https://undocumentedmatlab.com/articles/disabling-menu-entries-in-deployed-docked-figures#comment-421203</link>

		<dc:creator><![CDATA[alsec]]></dc:creator>
		<pubDate>Sat, 24 Mar 2018 19:47:21 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3344#comment-421203</guid>

					<description><![CDATA[Thanks for that.]]></description>
			<content:encoded><![CDATA[<p>Thanks for that.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: haya		</title>
		<link>https://undocumentedmatlab.com/articles/disabling-menu-entries-in-deployed-docked-figures#comment-345132</link>

		<dc:creator><![CDATA[haya]]></dc:creator>
		<pubDate>Mon, 02 Feb 2015 06:28:41 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3344#comment-345132</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/disabling-menu-entries-in-deployed-docked-figures#comment-344985&quot;&gt;haya&lt;/a&gt;.

@Yair thank you again for your answer.
I have no idea how to and from where to start this kind of code and unfortunately I must have the plot-edit functionality on my deployed app. If you have any idea how I can get started I&#039;ll be happy to hear.
Thank you again
haya]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/disabling-menu-entries-in-deployed-docked-figures#comment-344985">haya</a>.</p>
<p>@Yair thank you again for your answer.<br />
I have no idea how to and from where to start this kind of code and unfortunately I must have the plot-edit functionality on my deployed app. If you have any idea how I can get started I&#8217;ll be happy to hear.<br />
Thank you again<br />
haya</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/disabling-menu-entries-in-deployed-docked-figures#comment-345109</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Sun, 01 Feb 2015 17:44:04 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3344#comment-345109</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/disabling-menu-entries-in-deployed-docked-figures#comment-345098&quot;&gt;haya&lt;/a&gt;.

@Haya - you did not understand. The plot-editing functionality does not exist in deployed apps. You cannot simply restore the menu item because the functionality itself does not exist. You will need to program the entire functionality yourself if you wish (yes of course it is very difficult, quite possibly not worth all the effort).]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/disabling-menu-entries-in-deployed-docked-figures#comment-345098">haya</a>.</p>
<p>@Haya &#8211; you did not understand. The plot-editing functionality does not exist in deployed apps. You cannot simply restore the menu item because the functionality itself does not exist. You will need to program the entire functionality yourself if you wish (yes of course it is very difficult, quite possibly not worth all the effort).</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: haya		</title>
		<link>https://undocumentedmatlab.com/articles/disabling-menu-entries-in-deployed-docked-figures#comment-345098</link>

		<dc:creator><![CDATA[haya]]></dc:creator>
		<pubDate>Sun, 01 Feb 2015 09:19:04 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3344#comment-345098</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/disabling-menu-entries-in-deployed-docked-figures#comment-344986&quot;&gt;Yair Altman&lt;/a&gt;.

@Yair -first, thank you for your answer
This is precisely what i&#039;m asking, I can I do this programmatically?
I compiled my code with MATLAB and I it as an .exe process from my .Net application.
The user can generate figures from the MATLAB .exe which is hosted in my .Net app, but once the figure opens it is missing the &#039;Exploration.Pan&#039; option in the tools bar and also all option in the menu bar but the &#039;File&#039;
Any idea how to do this programmatically?]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/disabling-menu-entries-in-deployed-docked-figures#comment-344986">Yair Altman</a>.</p>
<p>@Yair -first, thank you for your answer<br />
This is precisely what i&#8217;m asking, I can I do this programmatically?<br />
I compiled my code with MATLAB and I it as an .exe process from my .Net application.<br />
The user can generate figures from the MATLAB .exe which is hosted in my .Net app, but once the figure opens it is missing the &#8216;Exploration.Pan&#8217; option in the tools bar and also all option in the menu bar but the &#8216;File&#8217;<br />
Any idea how to do this programmatically?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/disabling-menu-entries-in-deployed-docked-figures#comment-344986</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Thu, 29 Jan 2015 15:09:21 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3344#comment-344986</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/disabling-menu-entries-in-deployed-docked-figures#comment-344985&quot;&gt;haya&lt;/a&gt;.

@Haya - the interactive plot editing functionality is not enabled in deployed application. You will need to do this programmatically in your code if you need it in the deployed app.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/disabling-menu-entries-in-deployed-docked-figures#comment-344985">haya</a>.</p>
<p>@Haya &#8211; the interactive plot editing functionality is not enabled in deployed application. You will need to do this programmatically in your code if you need it in the deployed app.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: haya		</title>
		<link>https://undocumentedmatlab.com/articles/disabling-menu-entries-in-deployed-docked-figures#comment-344985</link>

		<dc:creator><![CDATA[haya]]></dc:creator>
		<pubDate>Thu, 29 Jan 2015 14:47:27 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3344#comment-344985</guid>

					<description><![CDATA[hi
I&#039;m having a similar yet different issue.
on my deployed application the user can generate plots(figures).
The figures which are generated on the compiled application has only &#039;File&#039; in the MenueBar and does not have all the options on the ToolBar. The one which is mostly required is the &#039;arrow&#039;, with which the user can choose part of the figure such as the legend window, title, axes and edit them and their properties.
Obviously, when running on matlab the figure has all its tools.
I&#039;m looking for a way to display and enable menu/tool entries in deployed figure
]]></description>
			<content:encoded><![CDATA[<p>hi<br />
I&#8217;m having a similar yet different issue.<br />
on my deployed application the user can generate plots(figures).<br />
The figures which are generated on the compiled application has only &#8216;File&#8217; in the MenueBar and does not have all the options on the ToolBar. The one which is mostly required is the &#8216;arrow&#8217;, with which the user can choose part of the figure such as the legend window, title, axes and edit them and their properties.<br />
Obviously, when running on matlab the figure has all its tools.<br />
I&#8217;m looking for a way to display and enable menu/tool entries in deployed figure</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Thierry Dalon		</title>
		<link>https://undocumentedmatlab.com/articles/disabling-menu-entries-in-deployed-docked-figures#comment-320558</link>

		<dc:creator><![CDATA[Thierry Dalon]]></dc:creator>
		<pubDate>Thu, 27 Mar 2014 08:10:05 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3344#comment-320558</guid>

					<description><![CDATA[Instead of 
&lt;pre lang=&#039;matlab&#039;&gt;DTDocumentBar = javaObjectEDT(figures_frame.getRootPane.getLayeredPane.getComponent(1).getComponent(1).getComponent(0).getComponent(0).getComponent(1).getComponent(0));&lt;/pre&gt;

one could use the great &lt;a target=&quot;_blank&quot; href=&quot;http://undocumentedmatlab.com/blog/findjobj-find-underlying-java-object/&quot; rel=&quot;nofollow&quot;&gt;findjobj&lt;/a&gt;:
&lt;pre lang=&#039;matlab&#039;&gt;hDocumentButtons=findjobj(container,&#039;class&#039;,&#039;DTDocumentBar$DocumentButton&#039;);&lt;/pre&gt;

or for Matlab &#062;=R2012a:
&lt;pre lang=&#039;matlab&#039;&gt;hTabs=findjobj(container,&#039;class&#039;,&#039;DTDocumentTabs$Tab&#039;);&lt;/pre&gt;

You can also view the elements structure by using findjobj without outputs.]]></description>
			<content:encoded><![CDATA[<p>Instead of </p>
<pre lang='matlab'>DTDocumentBar = javaObjectEDT(figures_frame.getRootPane.getLayeredPane.getComponent(1).getComponent(1).getComponent(0).getComponent(0).getComponent(1).getComponent(0));</pre>
<p>one could use the great <a target="_blank" href="http://undocumentedmatlab.com/blog/findjobj-find-underlying-java-object/" rel="nofollow">findjobj</a>:</p>
<pre lang='matlab'>hDocumentButtons=findjobj(container,'class','DTDocumentBar$DocumentButton');</pre>
<p>or for Matlab &gt;=R2012a:</p>
<pre lang='matlab'>hTabs=findjobj(container,'class','DTDocumentTabs$Tab');</pre>
<p>You can also view the elements structure by using findjobj without outputs.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/disabling-menu-entries-in-deployed-docked-figures#comment-319725</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Thu, 20 Mar 2014 07:49:29 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3344#comment-319725</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/disabling-menu-entries-in-deployed-docked-figures#comment-319672&quot;&gt;Raja&lt;/a&gt;.

@Raja - try using &lt;b&gt;ComponentAddedCallback&lt;/b&gt; or &lt;b&gt;ComponentRemovedCallback&lt;/b&gt;. See &lt;a href=&quot;http://undocumentedmatlab.com/blog/uicontrol-callbacks/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/disabling-menu-entries-in-deployed-docked-figures#comment-319672">Raja</a>.</p>
<p>@Raja &#8211; try using <b>ComponentAddedCallback</b> or <b>ComponentRemovedCallback</b>. See <a href="http://undocumentedmatlab.com/blog/uicontrol-callbacks/" target="_blank" rel="nofollow">here</a>.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Raja		</title>
		<link>https://undocumentedmatlab.com/articles/disabling-menu-entries-in-deployed-docked-figures#comment-319672</link>

		<dc:creator><![CDATA[Raja]]></dc:creator>
		<pubDate>Wed, 19 Mar 2014 23:26:14 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3344#comment-319672</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/disabling-menu-entries-in-deployed-docked-figures#comment-314268&quot;&gt;Raja Amirthalingam&lt;/a&gt;.

Hi Yair,

There is one little issue.  When docking and undocking, the menu comes back.  Is it possible to add a listener to the ComponentCount Property of the Menu Bar?

Thanks.
Raja]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/disabling-menu-entries-in-deployed-docked-figures#comment-314268">Raja Amirthalingam</a>.</p>
<p>Hi Yair,</p>
<p>There is one little issue.  When docking and undocking, the menu comes back.  Is it possible to add a listener to the ComponentCount Property of the Menu Bar?</p>
<p>Thanks.<br />
Raja</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Raja		</title>
		<link>https://undocumentedmatlab.com/articles/disabling-menu-entries-in-deployed-docked-figures#comment-319671</link>

		<dc:creator><![CDATA[Raja]]></dc:creator>
		<pubDate>Wed, 19 Mar 2014 23:22:55 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3344#comment-319671</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/disabling-menu-entries-in-deployed-docked-figures#comment-314268&quot;&gt;Raja Amirthalingam&lt;/a&gt;.

Hi Yair,

I figured it out using your suggestions.

I am still fixing some issues, but I get the general Idea.

Thanks!
Raja]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/disabling-menu-entries-in-deployed-docked-figures#comment-314268">Raja Amirthalingam</a>.</p>
<p>Hi Yair,</p>
<p>I figured it out using your suggestions.</p>
<p>I am still fixing some issues, but I get the general Idea.</p>
<p>Thanks!<br />
Raja</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
