Hello, In a sort of related post, I had been working on a plugin to render/preview bxml in Netbeans. My first step was to develop an app that displayed some of the samples to prove to myself that the swing/pivot integration could work properly in the NB environment. http://kenai.com/projects/nb-pivot
svn repo url (be warned...this was "verrrrry prototype-ish": https://svn.kenai.com/svn/nb-pivot~trunk With the exception of the bxml classpath issue described in this jira: https://issues.apache.org/jira/browse/PIVOT-687 <https://issues.apache.org/jira/browse/PIVOT-687>I was able to get a netbeans app up and running that displays some of the samples and demos but haven't had much time lately to work on it. That said, from my experience with this, I think it would be trivial to add a source/preview (if you've worked with netbeans this would be similar to the source/design view that you see with a swing form) type view to support bxml. Probably harder to implement the design (drag n drop wysiwyg editor) view that you get for swing components but it would at least support preview pretty trivially. biv On Fri, Feb 25, 2011 at 7:14 AM, Greg Brown <[email protected]> wrote: > It sounds like you want to open a BXML file in a "preview" mode in Eclipse, > rather than "source" mode. By "preview" mode, I mean a view that looks like > what you would see if you ran your application, vs. the XML source code for > the app. Is that correct? > > If so, you might want to try creating a custom PluginApplicationContext > that uses the AWT/SWT bridge to wrap ApplicationContext.DisplayHost. That's > currently the only way I can imagine you might be able to get a Pivot UI to > appear within Eclipse itself, rather than in a separate window. > > G > > On Feb 25, 2011, at 5:31 AM, dranzer_duch wrote: > > > > > Actually it is certainly more inclined towards Eclipse. > > And as of now, we can skip the file browser part. > > > > The problems I am facing, is because, as of now, I don't know how to > render > > just the BXML UI part. I as such don't have an issue with events being > > mapped with the BXML controls, till the BXML UI gets rendered in an > eclipse > > tab. So separating the events, is not my actual concern. > > > > I just want the BXML file to be opened in an eclipse tab.. > > > > Thanks, > > > > ----- > > Aakanksha > > -- > > View this message in context: > http://apache-pivot-users.399431.n3.nabble.com/BXML-view-and-eclipse-file-dialog-within-an-eclipse-plug-in-tp2573965p2574274.html > > Sent from the Apache Pivot - Users mailing list archive at Nabble.com. > >
