Class BitbucketIssueController
- java.lang.Object
-
- org.vx68k.netbeans.module.bitbucket.ui.BitbucketIssueController
-
- All Implemented Interfaces:
IssueController
public final class BitbucketIssueController extends Object implements IssueController
Implementation ofIssueController
for Bitbucket Cloud.- Author:
- Kaz Nishimura
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
BitbucketIssueController.Editor
Issue editor.protected class
BitbucketIssueController.Viewer
Issue viewer.
-
Field Summary
-
Fields inherited from interface org.netbeans.modules.bugtracking.spi.IssueController
PROP_CHANGED
-
-
Constructor Summary
Constructors Constructor Description BitbucketIssueController(BitbucketIssueProvider.Adapter issueAdapter)
Initializes the object.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPropertyChangeListener(PropertyChangeListener l)
void
closed()
protected static JLabel
createLabel(String text, char mnemonic, Component forComponent)
Creates a new label for a component.boolean
discardUnsavedChanges()
JComponent
getComponent()
org.openide.util.HelpCtx
getHelpCtx()
boolean
isChanged()
void
opened()
void
removePropertyChangeListener(PropertyChangeListener l)
boolean
saveChanges()
protected void
setChanged(boolean newValue)
Sets the value which indicate some change.
-
-
-
Constructor Detail
-
BitbucketIssueController
public BitbucketIssueController(BitbucketIssueProvider.Adapter issueAdapter)
Initializes the object.- Parameters:
issueAdapter
- an issue adapter
-
-
Method Detail
-
createLabel
protected static JLabel createLabel(String text, char mnemonic, Component forComponent)
Creates a new label for a component.- Parameters:
text
- a label textmnemonic
- a mnemonic characterforComponent
- a component for which a new label is- Returns:
- a new label.
-
setChanged
protected void setChanged(boolean newValue)
Sets the value which indicate some change.- Parameters:
newValue
- new value
-
getComponent
public JComponent getComponent()
- Specified by:
getComponent
in interfaceIssueController
-
getHelpCtx
public org.openide.util.HelpCtx getHelpCtx()
- Specified by:
getHelpCtx
in interfaceIssueController
-
opened
public void opened()
- Specified by:
opened
in interfaceIssueController
-
closed
public void closed()
- Specified by:
closed
in interfaceIssueController
-
saveChanges
public boolean saveChanges()
- Specified by:
saveChanges
in interfaceIssueController
-
discardUnsavedChanges
public boolean discardUnsavedChanges()
- Specified by:
discardUnsavedChanges
in interfaceIssueController
-
isChanged
public boolean isChanged()
- Specified by:
isChanged
in interfaceIssueController
-
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener l)
- Specified by:
addPropertyChangeListener
in interfaceIssueController
-
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener l)
- Specified by:
removePropertyChangeListener
in interfaceIssueController
-
-