public class BaseRepositoryEditor<T extends BaseRepository> extends TaskRepositoryEditor implements PanelWithAnchor
Disposable.Parent
Modifier and Type | Field and Description |
---|---|
protected javax.swing.JPanel |
myCustomPanel |
protected JBCheckBox |
myLoginAnonymouslyJBCheckBox |
protected JBLabel |
myPasswordLabel |
protected javax.swing.JPasswordField |
myPasswordText |
protected Project |
myProject |
protected T |
myRepository |
protected javax.swing.JCheckBox |
myShareUrlCheckBox |
protected JBTabbedPane |
myTabbedPane |
protected javax.swing.JButton |
myTestButton |
protected JBLabel |
myUrlLabel |
protected javax.swing.JTextField |
myURLText |
protected javax.swing.JCheckBox |
myUseHttpAuthenticationCheckBox |
protected JBLabel |
myUsernameLabel |
protected javax.swing.JTextField |
myUserNameText |
Constructor and Description |
---|
BaseRepositoryEditor(Project project,
T repository,
Consumer<? super T> changeListener) |
Modifier and Type | Method and Description |
---|---|
protected void |
afterTestConnection(boolean connectionSuccessful) |
void |
apply() |
javax.swing.JComponent |
createComponent() |
protected javax.swing.JComponent |
createCustomPanel() |
void |
dispose()
Usually not invoked directly, see class javadoc.
|
protected void |
doApply() |
protected void |
enableButtons() |
javax.swing.JComponent |
getAnchor() |
javax.swing.JComponent |
getPreferredFocusedComponent() |
protected void |
installListener(Document document) |
protected void |
installListener(EditorTextField editor) |
protected void |
installListener(javax.swing.JCheckBox checkBox) |
protected void |
installListener(javax.swing.JComboBox comboBox) |
protected void |
installListener(javax.swing.JTextField textField) |
void |
setAnchor(javax.swing.JComponent anchor) |
protected void |
updateCustomPanel() |
protected JBLabel myUrlLabel
protected javax.swing.JTextField myURLText
protected javax.swing.JTextField myUserNameText
protected JBLabel myUsernameLabel
protected javax.swing.JCheckBox myShareUrlCheckBox
protected javax.swing.JPasswordField myPasswordText
protected JBLabel myPasswordLabel
protected javax.swing.JButton myTestButton
protected javax.swing.JCheckBox myUseHttpAuthenticationCheckBox
protected javax.swing.JPanel myCustomPanel
protected JBCheckBox myLoginAnonymouslyJBCheckBox
protected JBTabbedPane myTabbedPane
protected Project myProject
protected final T extends BaseRepository myRepository
protected final void updateCustomPanel()
protected javax.swing.JComponent createCustomPanel()
protected void afterTestConnection(boolean connectionSuccessful)
protected void enableButtons()
protected void installListener(javax.swing.JCheckBox checkBox)
protected void installListener(javax.swing.JTextField textField)
protected void installListener(javax.swing.JComboBox comboBox)
protected void installListener(Document document)
protected void installListener(EditorTextField editor)
protected void doApply()
public javax.swing.JComponent createComponent()
createComponent
in class TaskRepositoryEditor
public javax.swing.JComponent getPreferredFocusedComponent()
getPreferredFocusedComponent
in class TaskRepositoryEditor
public void dispose()
Disposable
dispose
in interface Disposable
dispose
in class TaskRepositoryEditor
public void apply()
public javax.swing.JComponent getAnchor()
getAnchor
in interface PanelWithAnchor
public void setAnchor(javax.swing.JComponent anchor)
setAnchor
in interface PanelWithAnchor