-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
102 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,15 +9,18 @@ | |
* @author Opher Vishnia ([email protected]) | ||
*/ | ||
public class GitflowOptionsForm implements ItemListener { | ||
private JCheckBox pushOnFinishRelease; | ||
private JPanel contentPane; | ||
private JCheckBox pushOnFinishHotfix; | ||
private JCheckBox featureKeepRemote; | ||
|
||
private JCheckBox pushOnFinishRelease; | ||
private JCheckBox dontTagRelease; | ||
private JCheckBox useCustomTagCommitMessage; | ||
private JTextField customTagCommitMessage; | ||
private JTextField customHotfixCommitMessage; | ||
private JCheckBox useCustomHotfixCommitMessage; | ||
|
||
private JCheckBox pushOnFinishHotfix; | ||
private JCheckBox dontTagHotfix; | ||
private JCheckBox useCustomHotfixCommitMessage; | ||
private JTextField customHotfixCommitMessage; | ||
|
||
public JPanel getContentPane() { | ||
dontTagRelease.addItemListener(this); | ||
|
@@ -83,6 +86,8 @@ else if (source == dontTagHotfix) { | |
|
||
} | ||
|
||
// getters/setters | ||
|
||
public boolean isPushOnFinishRelease() | ||
{ | ||
return pushOnFinishRelease.isSelected(); | ||
|
@@ -93,23 +98,11 @@ public void setPushOnFinishRelease(boolean selected) | |
pushOnFinishRelease.setSelected(selected); | ||
} | ||
|
||
public boolean isPushOnFinishHotfix() { | ||
return pushOnFinishHotfix.isSelected(); | ||
} | ||
|
||
public void setPushOnFinishHotfix(boolean selected) { | ||
pushOnFinishHotfix.setSelected(selected); | ||
} | ||
|
||
public boolean isDontTagRelease() { return dontTagRelease.isSelected(); } | ||
|
||
public boolean isDontTagHotfix() { return dontTagHotfix.isSelected(); } | ||
|
||
public void setDontTagRelease(boolean selected) { | ||
dontTagRelease.setSelected(selected); | ||
} | ||
public boolean isFeatureKeepRemote() { return featureKeepRemote.isSelected(); } | ||
|
||
public void setDontTagHotfix(boolean selected) { dontTagHotfix.setSelected(selected); } | ||
public void setFeatureKeepRemote(boolean selected) { featureKeepRemote.setSelected(selected); } | ||
|
||
|
||
/* custom finish release tag commit message */ | ||
|
@@ -130,6 +123,23 @@ public void setCustomTagCommitMessage(String message) { | |
customTagCommitMessage.setText(message); | ||
} | ||
|
||
|
||
|
||
public boolean isPushOnFinishHotfix() { return pushOnFinishHotfix.isSelected(); } | ||
|
||
public void setPushOnFinishHotfix(boolean selected) { pushOnFinishHotfix.setSelected(selected); } | ||
|
||
|
||
public boolean isDontTagHotfix() { return dontTagHotfix.isSelected(); } | ||
|
||
public void setDontTagRelease(boolean selected) { | ||
dontTagRelease.setSelected(selected); | ||
} | ||
|
||
public void setDontTagHotfix(boolean selected) { dontTagHotfix.setSelected(selected); } | ||
|
||
|
||
|
||
/* custom finish hotfix commit message */ | ||
|
||
public boolean isUseCustomHotfixComitMessage(){ | ||
|