That&#39;s what the ShellMessages utility is for.<br><br>ShellMessages.error(shell, &quot;my error message&quot;);<br><br>We could think about how best to unify this, but we are trying to keep Shell a bit cleaner.<br><br>~Lincoln<br>
<br><div class="gmail_quote">On Wed, Nov 16, 2011 at 10:24 PM, Max Rydahl Andersen <span dir="ltr">&lt;<a href="mailto:max.andersen@redhat.com">max.andersen@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
It&#39;s cool - but I was really hoping such things as direct/raw text control/buffer output would not be exposed or at least not be the norm that plugins uses/depends on it.<br>
<br>
It still annoys me to see forge plugins that does shell.print(Color.RED, &quot;blah blah&quot;) instead of shell.error(&quot;blah blah&quot;)<br>
<br>
/max<br>
<div><div></div><div class="h5"><br>
On Nov 16, 2011, at 17:04, Mike Brock wrote:<br>
<br>
&gt; Internally, there is a new concept known as a BufferManager. Essentially the idea is that a plugin can create it&#39;s own sub-buffer to the main shell buffer.<br>
&gt;<br>
&gt; When WindowBlu loads, it registers its own buffer with the Shell, taking control of the display buffer so it can intercept and translate all the ANSI -- as well as pre-buffer repainting of the titlebar to minimize flickering, etc.<br>

&gt;<br>
&gt; Mike.<br>
&gt;<br>
&gt; On Nov 16, 2011, at 9:03 AM, Koen Aers wrote:<br>
&gt;<br>
&gt;&gt; Yeah, the windowblu command shuts down Forge Tools. I&#39;ll take a closer look at what can be done to support it.<br>
&gt;&gt;<br>
&gt;&gt; Cheers,<br>
&gt;&gt; Koen<br>
&gt;&gt;<br>
&gt;&gt; On Wed, Nov 16, 2011 at 1:49 AM, Lincoln Baxter, III &lt;<a href="mailto:lincolnbaxter@gmail.com">lincolnbaxter@gmail.com</a>&gt; wrote:<br>
&gt;&gt; I think you forgot the video :) this is awesome!<br>
&gt;&gt;<br>
&gt;&gt; <a href="http://www.youtube.com/watch?v=gQp_N-gGDzk" target="_blank">http://www.youtube.com/watch?v=gQp_N-gGDzk</a><br>
&gt;&gt;<br>
&gt;&gt; On Wed, Nov 16, 2011 at 1:09 AM, Mike Brock &lt;<a href="mailto:cbrock@redhat.com">cbrock@redhat.com</a>&gt; wrote:<br>
&gt;&gt; So, I&#39;ve been back working on Forge Core -- scripting and internal API improvements. One thing that upset me was that Forge lacked a sub-buffering facility for console output, so you could intercept console output and do fun stuff like add a status bar. Well, Forge has this limitation no longer -- at least not in my branch (<a href="https://github.com/mikebrock/core" target="_blank">https://github.com/mikebrock/core</a>)<br>

&gt;&gt;<br>
&gt;&gt; Haven&#39;t pushed the changes upstream, mainly because I don&#39;t know if they break JBoss Tools or not -- pretty sure they don&#39;t break anything else.<br>
&gt;&gt;<br>
&gt;&gt; Anyways, here&#39;s my first demo plugin that takes advantage of these new features in the shell API: <a href="https://github.com/mikebrock/core" target="_blank">https://github.com/mikebrock/core</a><br>
&gt;&gt;<br>
&gt;&gt; Mike.<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; forge-dev mailing list<br>
&gt;&gt; <a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Lincoln Baxter, III<br>
&gt;&gt; <a href="http://ocpsoft.com" target="_blank">http://ocpsoft.com</a><br>
&gt;&gt; <a href="http://scrumshark.com" target="_blank">http://scrumshark.com</a><br>
&gt;&gt; &quot;Keep it Simple&quot;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; forge-dev mailing list<br>
&gt;&gt; <a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; forge-dev mailing list<br>
&gt;&gt; <a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; forge-dev mailing list<br>
&gt; <a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
<br>
</div></div>/max<br>
<a href="http://about.me/maxandersen" target="_blank">http://about.me/maxandersen</a><br>
<div><div></div><div class="h5"><br>
<br>
<br>
<br>
_______________________________________________<br>
forge-dev mailing list<br>
<a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.com">http://ocpsoft.com</a><br><a href="http://scrumshark.com">http://scrumshark.com</a><br>&quot;Keep it Simple&quot;<br>