/** The identification of the build version. Usually build number. * If no specific build version is provided then this method delegates to {@link #getImplementationVersion}. * * @return textual identification of build version or the value for implementation version * @since 4.18 */ public String getBuildVersion() { String bld = (String) getAttribute("OpenIDE-Module-Build-Version"); // NOI18N return (bld == null) ? getImplementationVersion() : bld; }
/** The indentification of the build version. Usually build number. * If no specific build version is provided then this method delegates to {@link #getImplementationVersion}. * * @return textual identification of build version or the value for implementation version * @since 4.18 */ public String getBuildVersion() { String bld = (String)getAttribute("OpenIDE-Module-Build-Version"); // NOI18N return bld == null ? getImplementationVersion () : bld; }
/** The indentification of the build version. Usually build number. * If no specific build version is provided then this method delegates to {@link #getImplementationVersion}. * * @return textual identification of build version or the value for implementation version * @since 4.18 */ public String getBuildVersion() { String bld = (String)getAttribute("OpenIDE-Module-Build-Version"); // NOI18N return bld == null ? getImplementationVersion () : bld; }
private JPanel createVersionPanel() { final JPanel panel = new JPanel(); panel.setLayout(new BoxLayout(panel, BoxLayout.LINE_AXIS)); final ModuleInfo moduleInfo = Modules.getDefault().ownerOf(S2tbxAboutBox.class); panel.add(new JLabel("<html><b>Sentinel-2 Toolbox (S2TBX) version " + moduleInfo.getImplementationVersion() + "</b>", SwingConstants.RIGHT)); final URI releaseNotesURI = getReleaseNotesURI(); if (releaseNotesURI != null) { final JLabel releaseNoteLabel = new JLabel("<html><a href=\"" + releaseNotesURI.toString() + "\">Release Notes</a>", SwingConstants.RIGHT); releaseNoteLabel.setCursor(new Cursor(Cursor.HAND_CURSOR)); releaseNoteLabel.addMouseListener(new BrowserUtils.URLClickAdaptor(releaseNotesHTTP)); panel.add(releaseNoteLabel); } return panel; }
+ "(at your option) any later version.<br>" + "<br>" + "<b>SNAP Desktop implementation version: </b>" + desktopModuleInfo.getImplementationVersion() + "<br>" + "<b>SNAP Engine implementation version: </b>" + engineModuleInfo.getImplementationVersion() + "<br>"