summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwilk2011-04-18 19:18:28 (EDT)
committerRyan D. Brooks2011-04-18 19:18:28 (EDT)
commit75eefe18ead111ab46b3978abd124f5ee35adcf8 (patch)
tree203d8a2a8a62a4ddeb22ae06ce0493a9ce103dc7
parentdd8f353ed2bba193127ef5434923e2a97fe88ac5 (diff)
downloadorg.eclipse.osee-75eefe18ead111ab46b3978abd124f5ee35adcf8.zip
org.eclipse.osee-75eefe18ead111ab46b3978abd124f5ee35adcf8.tar.gz
org.eclipse.osee-75eefe18ead111ab46b3978abd124f5ee35adcf8.tar.bz2
refactor: Contructor refactor in EntryDialog
-rw-r--r--plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/widgets/dialog/EntryDialog.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/widgets/dialog/EntryDialog.java b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/widgets/dialog/EntryDialog.java
index b7b804c..2063bec 100644
--- a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/widgets/dialog/EntryDialog.java
+++ b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/widgets/dialog/EntryDialog.java
@@ -60,10 +60,9 @@ public class EntryDialog extends MessageDialog {
private final String dialogTitle;
public EntryDialog(String dialogTitle, String dialogMessage) {
- super(Displays.getActiveShell(), dialogTitle, null, dialogMessage, MessageDialog.QUESTION, new String[] {
+ this(Displays.getActiveShell(), dialogTitle, null, dialogMessage, MessageDialog.QUESTION, new String[] {
"OK",
"Cancel"}, 0);
- this.dialogTitle = dialogTitle;
}
public EntryDialog(Shell parentShell, String dialogTitle, Image dialogTitleImage, String dialogMessage, int dialogImageType, String[] dialogButtonLabels, int defaultIndex) {