Remote support ~complete (need more tests at least)
[jvcard.git] / src / be / nikiroo / jvcard / tui / panes / MainContent.java
index 68230d490eeb98e3bb612f323fd91533f73caeef..26cd7cb8ae330797e8394f27eb831762480241ac 100644 (file)
@@ -1,5 +1,6 @@
 package be.nikiroo.jvcard.tui.panes;
 
+import java.io.IOException;
 import java.util.List;
 
 import be.nikiroo.jvcard.tui.KeyAction;
@@ -95,4 +96,18 @@ abstract public class MainContent extends Panel {
        public void refreshData() {
                invalidate();
        }
+
+       /**
+        * 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.
+        * 
+        * @return a message to display, or NULL
+        * 
+        * @throws IOException
+        *             in case of error (the message of the {@link IOException} will
+        *             be displayed to the user)
+        */
+       public String wakeup() throws IOException {
+               return null;
+       }
 }