public class FileTemplateConfigurable extends java.lang.Object implements Configurable, Configurable.NoScroll
Configurable.Composite, Configurable.NoMargin, Configurable.NoScroll, Configurable.TopComponentController, Configurable.TopComponentProvider, Configurable.VariableProjectAppLevel, Configurable.WithEpDependenciesAPPLICATION_CONFIGURABLE, PROJECT_CONFIGURABLE| Constructor and Description | 
|---|
FileTemplateConfigurable(Project project)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
apply()
Stores the settings from the Swing form to the configurable component. 
 | 
javax.swing.JComponent | 
createComponent()
Creates new Swing form that enables user to configure the settings. 
 | 
static Lexer | 
createDefaultLexer()  | 
void | 
disposeUIResources()
Notifies the configurable component that the Swing form will be closed. 
 | 
void | 
focusToExtensionField()  | 
void | 
focusToNameField()  | 
java.lang.String | 
getDisplayName()
Returns the visible name of the configurable component. 
 | 
java.lang.String | 
getHelpTopic()
Returns the topic in the help file which is shown when help for the configurable is requested. 
 | 
FileTemplate | 
getTemplate()  | 
boolean | 
isModified()
Indicates whether the Swing form was modified or not. 
 | 
void | 
removeChangeListener(javax.swing.event.ChangeListener listener)  | 
void | 
reset()
Loads the settings from the configurable component to the Swing form. 
 | 
void | 
setProportion(float proportion)  | 
void | 
setTemplate(FileTemplate template,
           java.net.URL defaultDescription)  | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPreferredFocusedComponent, isModified, isModified, isModified, isModifiedcancelpublic FileTemplateConfigurable(Project project)
public FileTemplate getTemplate()
public void setTemplate(FileTemplate template, java.net.URL defaultDescription)
public java.lang.String getDisplayName()
ConfigurablegetDisplayName in interface Configurablepublic java.lang.String getHelpTopic()
ConfigurablegetHelpTopic in interface Configurablenull if no help is availablepublic javax.swing.JComponent createComponent()
UnnamedConfigurableAlso this place is designed to allocate resources (subscriptions/listeners etc.)
createComponent in interface UnnamedConfigurablenull if it cannot be createdUnnamedConfigurable.disposeUIResources()public void setProportion(float proportion)
public void removeChangeListener(javax.swing.event.ChangeListener listener)
public boolean isModified()
UnnamedConfigurableisModified in interface UnnamedConfigurabletrue if the settings were modified, false otherwisepublic void apply()
           throws ConfigurationException
UnnamedConfigurableapply in interface UnnamedConfigurableConfigurationException - if values cannot be appliedpublic void reset()
UnnamedConfigurablereset in interface UnnamedConfigurablepublic void disposeUIResources()
UnnamedConfigurabledisposeUIResources in interface UnnamedConfigurablepublic static Lexer createDefaultLexer()
public void focusToNameField()
public void focusToExtensionField()