X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Fjvcard%2Ftui%2Fpanes%2FMainContent.java;h=c63afd9b47ef2da4dd919f1fac5ab6791d917e61;hb=d5260eeb873fcf2ef9855dedcd9e2a3a3a990582;hp=26cd7cb8ae330797e8394f27eb831762480241ac;hpb=5ad0e17e7fea1c602cb2638a006424af9c7e33e8;p=jvcard.git diff --git a/src/be/nikiroo/jvcard/tui/panes/MainContent.java b/src/be/nikiroo/jvcard/tui/panes/MainContent.java index 26cd7cb..c63afd9 100644 --- a/src/be/nikiroo/jvcard/tui/panes/MainContent.java +++ b/src/be/nikiroo/jvcard/tui/panes/MainContent.java @@ -75,6 +75,7 @@ abstract public class MainContent extends Panel { * * @return the error message to display if any */ + @SuppressWarnings("unused") public String move(int x, int y) { return null; } @@ -101,6 +102,10 @@ abstract public class MainContent extends Panel { * Wake up call when the content is popped-back into view. You should call * this method when you exit a previous content and come back to this one. * + *

+ * By default, it will just refresh the data. + *

+ * * @return a message to display, or NULL * * @throws IOException @@ -108,6 +113,7 @@ abstract public class MainContent extends Panel { * be displayed to the user) */ public String wakeup() throws IOException { + refreshData(); return null; } }