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.
<compile-dependency/>
<run-dependency>
<release-version>0</release-version>
<specification-version>1.14</specification-version>
<specification-version>1.18</specification-version>
</run-dependency>
</dependency>
<dependency>
import org.netbeans.api.project.libraries.LibrariesCustomizer;
import org.netbeans.api.project.libraries.Library;
import org.netbeans.api.project.libraries.LibraryManager;
import org.netbeans.api.server.CommonServerUIs;
import org.netbeans.api.server.ServerInstance;
import org.netbeans.modules.coherence.library.LibraryUtils;
import org.netbeans.modules.coherence.project.CoherenceProjectUtils;
import org.netbeans.spi.project.ui.templates.support.Templates;
initLibrariesPanel();
}
} else {
// waiting for new API for new server creation
ServerInstance serverInstance = CommonServerUIs.showAddServerInstanceWizard();
if (serverInstance != null) {
cleanInitialized();
*/
public ServerOrLibraryPanel() {
initComponents();
platformRadioButton.setEnabled(false);
public boolean getLibraryChecked() {
<!-- ACTUAL CHANGES BEGIN HERE: -->
<changes>
<change id="CommonServerUIs-showAddServerInstanceWizard">
<api name="common_server_api"/>
<summary>Added UI helper method CommonServerUIs.showAddServerInstanceWizard</summary>
<version major="1" minor="18"/>
<date day="22" month="12" year="2011"/>
<author login="marfous"/>
<compatibility addition="yes"/>
<description>
Added helper method invoking wizard for adding new server instance.
</description>
<issue number="206479"/>
</change>
<change id="cloud">
<summary>Establish layer to register cloud providers</summary>
OpenIDE-Module: org.netbeans.modules.server/0
OpenIDE-Module-Layer: org/netbeans/modules/server/resources/layer.xml
OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/server/resources/Bundle.properties
OpenIDE-Module-Specification-Version: 1.17
OpenIDE-Module-Specification-Version: 1.18
AutoUpdate-Show-In-Client: false
OpenIDE-Module-Provides: org.netbeans.modules.server
<code-name-base>org.netbeans.modules.server</code-name-base>
<module-dependencies>
<code-name-base>org.netbeans.api.annotations.common</code-name-base>
<build-prerequisite/>
<release-version>1</release-version>
<specification-version>1.13</specification-version>
<code-name-base>org.netbeans.core.ide</code-name-base>
<specification-version>1.15</specification-version>
<code-name-base>org.openide.awt</code-name-base>
<code-name-base>org.openide.util</code-name-base>
import org.openide.util.NbBundle;
import javax.swing.JButton;
import javax.swing.SwingUtilities;
import org.netbeans.api.annotations.common.CheckForNull;
import org.netbeans.modules.server.ServerRegistry;
import org.netbeans.modules.server.ui.manager.ServerManagerPanel;
import org.netbeans.modules.server.ui.wizard.AddServerInstanceWizard;
/**
* Class providing access to UI dialogs managing instances.
dlg.dispose();
* Displays the modal wizard for creating new server instance. This method must be
* called from the AWT event dispatch thread.
*
* @return created instance or {@code null} if user canceled the operation
* @since 1.18
@CheckForNull
public static ServerInstance showAddServerInstanceWizard() {
assert SwingUtilities.isEventDispatchThread() : "Invocation of the UI dialog outside of the EDT"; //NOI18N
final ServerInstance instance = AddServerInstanceWizard.showAddServerInstanceWizard();
return instance;