/[schmitzm]/trunk/src/skrueger/swing/TranslationAskJDialog.java
ViewVC logotype

Diff of /trunk/src/skrueger/swing/TranslationAskJDialog.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 33 by alfonx, Sat Mar 28 17:06:27 2009 UTC revision 34 by alfonx, Sat Mar 28 18:08:42 2009 UTC
# Line 103  public class TranslationAskJDialog exten Line 103  public class TranslationAskJDialog exten
103                          if (component instanceof TranslationEditJPanel) {                          if (component instanceof TranslationEditJPanel) {
104                                  TranslationEditJPanel tep = (TranslationEditJPanel) component;                                  TranslationEditJPanel tep = (TranslationEditJPanel) component;
105                                  Translation orig = tep.getTranslation();                                  Translation orig = tep.getTranslation();
106                                  // We dont' want to overwrite the Translation object on                                  
107                                  // restore(). We just want to change its values.                                  // We don't want to overwrite the Translation object on
108                                    // restore(). We just want to change its value.
109    
110                                  backup[count++] = orig.toOneLine();                                  backup[count++] = orig.toOneLine();
111                          }                          }
# Line 245  public class TranslationAskJDialog exten Line 246  public class TranslationAskJDialog exten
246          }          }
247    
248          /**          /**
249           * After the modal dialog has been closed, this allows to find out, wether           * After the modal dialog has been closed, this allows to find out, whether
250           * the dialog has been canceled.           * the dialog has been canceled.
251           *           *
252           * @return           * @return <code>true</code> if the {@link JDialog} has been canceled.
253           */           */
254          public boolean isHasBeenCanceled() {          public boolean isHasBeenCanceled() {
255                  return hasBeenCanceled;                  return hasBeenCanceled;

Legend:
Removed from v.33  
changed lines
  Added in v.34

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26