Class BitbucketRepositoryController
- java.lang.Object
-
- org.vx68k.netbeans.module.bitbucket.ui.BitbucketRepositoryController
-
- All Implemented Interfaces:
RepositoryController
public final class BitbucketRepositoryController extends Object implements RepositoryController
Implementation ofRepositoryController
for Bitbucket Cloud.- Author:
- Kaz Nishimura
-
-
Constructor Summary
Constructors Constructor Description BitbucketRepositoryController(BitbucketRepositoryProvider.Adapter repositoryAdapter)
Initializes the object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addChangeListener(ChangeListener listener)
void
applyChanges()
void
cancelChanges()
protected void
fireStateChanged()
Fires a change event.JComponent
getComponent()
String
getErrorMessage()
org.openide.util.HelpCtx
getHelpCtx()
boolean
isValid()
void
populate()
void
removeChangeListener(ChangeListener listener)
-
-
-
Constructor Detail
-
BitbucketRepositoryController
public BitbucketRepositoryController(BitbucketRepositoryProvider.Adapter repositoryAdapter)
Initializes the object.- Parameters:
repositoryAdapter
- a repository adapter
-
-
Method Detail
-
fireStateChanged
protected void fireStateChanged()
Fires a change event.
-
getComponent
public JComponent getComponent()
- Specified by:
getComponent
in interfaceRepositoryController
-
getHelpCtx
public org.openide.util.HelpCtx getHelpCtx()
- Specified by:
getHelpCtx
in interfaceRepositoryController
-
populate
public void populate()
- Specified by:
populate
in interfaceRepositoryController
-
isValid
public boolean isValid()
- Specified by:
isValid
in interfaceRepositoryController
-
getErrorMessage
public String getErrorMessage()
- Specified by:
getErrorMessage
in interfaceRepositoryController
-
applyChanges
public void applyChanges()
- Specified by:
applyChanges
in interfaceRepositoryController
-
cancelChanges
public void cancelChanges()
- Specified by:
cancelChanges
in interfaceRepositoryController
-
addChangeListener
public void addChangeListener(ChangeListener listener)
- Specified by:
addChangeListener
in interfaceRepositoryController
-
removeChangeListener
public void removeChangeListener(ChangeListener listener)
- Specified by:
removeChangeListener
in interfaceRepositoryController
-
-