org.netbeans.modules.java.platform/1 1.21.1

org.netbeans.spi.java.platform
Class CustomPlatformInstall

java.lang.Object
  extended by org.netbeans.spi.java.platform.GeneralPlatformInstall
      extended by org.netbeans.spi.java.platform.CustomPlatformInstall

public abstract class CustomPlatformInstall
extends GeneralPlatformInstall

Defines an API for registering custom Java platform installer. The installer is responsible for instantiation of JavaPlatform through the provided TemplateWizard.Iterator. If your installer selects the platform on the local disk you probably don't want to use this class, the PlatformInstall class creates an platform chooser for you. You want to use this class if the platform is not on the local disk, eg. you want to download it from the web. Consult the GeneralPlatformInstall javadoc about the CustomPlatformInstall registration.

Since:
1.5

Constructor Summary
CustomPlatformInstall()
           
 
Method Summary
abstract  WizardDescriptor.InstantiatingIterator<WizardDescriptor> createIterator()
          Returns the WizardDescriptor#InstantiatingIterator used to install the platform.
 
Methods inherited from class org.netbeans.spi.java.platform.GeneralPlatformInstall
getDisplayName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomPlatformInstall

public CustomPlatformInstall()
Method Detail

createIterator

public abstract WizardDescriptor.InstantiatingIterator<WizardDescriptor> createIterator()
Returns the WizardDescriptor#InstantiatingIterator used to install the platform. The platform definition file returned by the instantiate method should be created in the Services/Platforms/org-netbeans-api-java-Platform folder on the system filesystem.

Returns:
TemplateWizard.Iterator instance responsible for instantiating the platform. The instantiate method of the returned iterator should return the Set containing the platform.

org.netbeans.modules.java.platform/1 1.21.1

Built on December 5 2011.  |  Portions Copyright 1997-2011 Sun Microsystems, Inc. All rights reserved.