public abstract class FrameworkSupportModelBase extends UserDataHolderBase implements FrameworkSupportModel
Constructor and Description |
---|
FrameworkSupportModelBase(Project project,
ModuleBuilder builder,
LibrariesContainer librariesContainer) |
changeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMap
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getUserData, putUserData
public FrameworkSupportModelBase(Project project, ModuleBuilder builder, LibrariesContainer librariesContainer)
public abstract java.lang.String getBaseDirectoryForLibrariesPath()
public void registerComponent(FrameworkSupportInModuleProvider provider, FrameworkSupportNode node)
public void registerOptionsComponent(FrameworkSupportInModuleProvider provider, FrameworkSupportOptionsComponent component)
public Project getProject()
FrameworkSupportModel
null
if it's invoked from
'New Project' wizardgetProject
in interface FrameworkSupportModel
public ModuleBuilder getModuleBuilder()
FrameworkSupportModel
ModuleBuilder
instance if support for a framework is being configured inside 'New Module' wizard or null
if
it's invoked for an existing modulegetModuleBuilder
in interface FrameworkSupportModel
public boolean isFrameworkSelected(java.lang.String providerId)
isFrameworkSelected
in interface FrameworkSupportModel
public void addFrameworkListener(FrameworkSupportModelListener listener)
addFrameworkListener
in interface FrameworkSupportModel
public void addFrameworkListener(FrameworkSupportModelListener listener, Disposable parentDisposable)
addFrameworkListener
in interface FrameworkSupportModel
public void addFrameworkVersionListener(FrameworkVersionListener listener, Disposable parentDisposable)
public void removeFrameworkListener(FrameworkSupportModelListener listener)
removeFrameworkListener
in interface FrameworkSupportModel
public void setFrameworkComponentEnabled(java.lang.String providerId, boolean enable)
setFrameworkComponentEnabled
in interface FrameworkSupportModel
public void updateFrameworkLibraryComponent(java.lang.String providerId)
updateFrameworkLibraryComponent
in interface FrameworkSupportModel
public FrameworkSupportConfigurable getFrameworkConfigurable(java.lang.String providerId)
getFrameworkConfigurable
in interface FrameworkSupportModel
public FrameworkSupportConfigurable findFrameworkConfigurable(java.lang.String providerId)
findFrameworkConfigurable
in interface FrameworkSupportModel
public void setSelectedVersion(java.lang.String frameworkOrGroupId, FrameworkVersion version)
public FrameworkLibraryProvider getLibraryProvider()
public void setLibraryProvider(FrameworkLibraryProvider libraryProvider)
public <V extends FrameworkVersion> V getSelectedVersion(java.lang.String frameworkOrGroupId)
public void onFrameworkSelectionChanged(FrameworkSupportNode node)
public void selectFramework(FrameworkSupportProvider provider, boolean checked)
public void fireWizardStepUpdated()
public LibrariesContainer getLibrariesContainer()
public void setSelectedLibraryVersion(java.lang.String id, java.lang.String version)
public java.lang.String getFrameworkVersion(java.lang.String id)