This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Include HTML+Java libraries in NetBeans Platform | ||
---|---|---|---|
Product: | platform | Reporter: | Jaroslav Tulach <jtulach> |
Component: | -- Other -- | Assignee: | Jaroslav Tulach <jtulach> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | apireviews, jhavlin, phejl, thurka, tzezula |
Priority: | P1 | Keywords: | API_REVIEW |
Version: | 8.1 | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | TASK | Exception Reporter: | |
Attachments: |
GLProvider written for iOS against html4j rev. e5723aecdaff
Sample module using @HTMLDialog annotation |
Description
Jaroslav Tulach
2014-07-30 13:23:20 UTC
Here is the patch that I'd like to review: http://hg.netbeans.org/ergonomics/rev/c81e25efd997 It adds bunch of new OSGi JARs into the platform and one specific NetBeans module that binds it all together. Right now the JARs are downloaded from Maven repository - that may or may not stay (we can stick to our classical binaries system). Right now the only (NetBeans specific) API allows creation of a HTML based TopComponent. I am considering to add a way to show HTML dialog too. I'd like to have an inception review on Tuesday Aug 26, 2014, 11am. Prague meets in Giza. Tomáš Hůrka, Tomáš Zezula, Jaroslav Havlín and (hopefully) Petr Hejl will be the voting reviewers. Feel free to add your questions here or to associated wiki page: http://wiki.netbeans.org/Html4Java After some discussions I'd like to explain the main goal of the project: Provide standard way to write NetBeans modules with nice, slick UI, but while avoiding dependency on Swing or JavaFX! Approved for development with following comments: http://wiki.netbeans.org/wiki/index.php?title=Html4Java&diff=66991&oldid=66986 One of the technical change requests was to create SPI for Geolocation API. Here it is: http://hg.netbeans.org/html4j/diff/5ed774012807/geo/src/main/java/org/netbeans/html/geo/spi/GLProvider.java Please check if it suites your needs. I verified it works in bck2brwsr. Created attachment 148980 [details]
GLProvider written for iOS against html4j rev. e5723aecdaff
Created attachment 149040 [details]
Sample module using @HTMLDialog annotation
I think I am ready for final review on Tuesday Sep 9, 10.30. Prague meets in Babylon.
The @HTMLDialog annotation looks solid. I still need to create @HTMLComponent annotation for embedding into Swing/FX UI and create API support wizards. But I should have that by Tuesday.
The repackaging of the SPI has turned into major disruption of downstream projects and they currently suffer from not having stable version with the new packages available. As such #1 thing I need is to get approval to release version 1.0 of the html4j API.
The Javadoc is available at http://deadlock.netbeans.org/job/prototypes-HtmlJava246133/javadoc/org-netbeans-api-html4j/ No comments so far? Let's start preparing a release, then! Merging into default branch: http://hg.netbeans.org/ergonomics/rev/f4f985ddf487 Integrated into 'main-silver', will be available in build *201409110001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/1b8d6ed37745 User: Jaroslav Tulach <jtulach@netbeans.org> Log: Per technical change request of reviewers in #246133, renaming the special HTML/Java bindings for NetBeans module to org.netbeans.api.html4j Reviewers I know we discussed the name of the module. Right now it is org.netbeans.api.html4j today I was updating Javadoc and realized that relatively good name could be: org.netbeans.api.htmlui - e.g. "HTML UI NetBeans". Please think about it, have a vote and in case you decide to change the name, let me know I will update the Hg repository. Thanks. (In reply to Jaroslav Tulach from comment #11) > org.netbeans.api.htmlui > - e.g. "HTML UI NetBeans". Please think about it, have a vote and in case > you decide to change the name, let me know I will update the Hg repository. This name seems more descriptive to me, so I would vote for this change. The htmlui sounds good to me. Switching the module name to org.netbeans.api.htmlui as of ergonomics#6fa842ff4067 Integrated into 'main-silver', will be available in build *201412050001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/6fa842ff4067 User: Jaroslav Tulach <jtulach@netbeans.org> Log: #246133: As a final request renaming the module to api.htmlui |