[forge-dev] WindowBlu for Forge

Dan Allen dan.j.allen at gmail.com
Sat Dec 3 11:52:08 EST 2011


Shoot, I need to use that message utility in my plugin. Good tip.

-Dan

--
Sent from my Android-powered device,
an open platform for carriers, consumers and developers.
On Nov 16, 2011 5:38 PM, "Lincoln Baxter, III" <lincolnbaxter at gmail.com>
wrote:

> That's what the ShellMessages utility is for.
>
> ShellMessages.error(shell, "my error message");
>
> We could think about how best to unify this, but we are trying to keep
> Shell a bit cleaner.
>
> ~Lincoln
>
> On Wed, Nov 16, 2011 at 10:24 PM, Max Rydahl Andersen <
> max.andersen at redhat.com> wrote:
>
>> It'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.
>>
>> It still annoys me to see forge plugins that does shell.print(Color.RED,
>> "blah blah") instead of shell.error("blah blah")
>>
>> /max
>>
>> On Nov 16, 2011, at 17:04, Mike Brock wrote:
>>
>> > Internally, there is a new concept known as a BufferManager.
>> Essentially the idea is that a plugin can create it's own sub-buffer to the
>> main shell buffer.
>> >
>> > 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.
>> >
>> > Mike.
>> >
>> > On Nov 16, 2011, at 9:03 AM, Koen Aers wrote:
>> >
>> >> Yeah, the windowblu command shuts down Forge Tools. I'll take a closer
>> look at what can be done to support it.
>> >>
>> >> Cheers,
>> >> Koen
>> >>
>> >> On Wed, Nov 16, 2011 at 1:49 AM, Lincoln Baxter, III <
>> lincolnbaxter at gmail.com> wrote:
>> >> I think you forgot the video :) this is awesome!
>> >>
>> >> http://www.youtube.com/watch?v=gQp_N-gGDzk
>> >>
>> >> On Wed, Nov 16, 2011 at 1:09 AM, Mike Brock <cbrock at redhat.com> wrote:
>> >> So, I'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 (https://github.com/mikebrock/core)
>> >>
>> >> Haven't pushed the changes upstream, mainly because I don't know if
>> they break JBoss Tools or not -- pretty sure they don't break anything else.
>> >>
>> >> Anyways, here's my first demo plugin that takes advantage of these new
>> features in the shell API: https://github.com/mikebrock/core
>> >>
>> >> Mike.
>> >>
>> >> _______________________________________________
>> >> forge-dev mailing list
>> >> forge-dev at lists.jboss.org
>> >> https://lists.jboss.org/mailman/listinfo/forge-dev
>> >>
>> >>
>> >>
>> >>
>> >> --
>> >> Lincoln Baxter, III
>> >> http://ocpsoft.com
>> >> http://scrumshark.com
>> >> "Keep it Simple"
>> >>
>> >> _______________________________________________
>> >> forge-dev mailing list
>> >> forge-dev at lists.jboss.org
>> >> https://lists.jboss.org/mailman/listinfo/forge-dev
>> >>
>> >>
>> >> _______________________________________________
>> >> forge-dev mailing list
>> >> forge-dev at lists.jboss.org
>> >> https://lists.jboss.org/mailman/listinfo/forge-dev
>> >
>> > _______________________________________________
>> > forge-dev mailing list
>> > forge-dev at lists.jboss.org
>> > https://lists.jboss.org/mailman/listinfo/forge-dev
>>
>> /max
>> http://about.me/maxandersen
>>
>>
>>
>>
>> _______________________________________________
>> forge-dev mailing list
>> forge-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/forge-dev
>>
>
>
>
> --
> Lincoln Baxter, III
> http://ocpsoft.com
> http://scrumshark.com
> "Keep it Simple"
>
> _______________________________________________
> forge-dev mailing list
> forge-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/forge-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/forge-dev/attachments/20111203/e188e1ed/attachment.html 


More information about the forge-dev mailing list