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 |
} |
} |
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; |