git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-1648 Added improvement to persist cache items to properties file beyound a Jalvie...
[jalview.git]
/
src
/
jalview
/
io
/
cache
/
Cacheable.java
diff --git
a/src/jalview/io/cache/Cacheable.java
b/src/jalview/io/cache/Cacheable.java
index
d17cab4
..
0287457
100644
(file)
--- a/
src/jalview/io/cache/Cacheable.java
+++ b/
src/jalview/io/cache/Cacheable.java
@@
-1,7
+1,5
@@
package jalview.io.cache;
package jalview.io.cache;
-import javax.swing.JComboBox;
-import javax.swing.JComponent;
public interface Cacheable
{
public interface Cacheable
{
@@
-9,14
+7,19
@@
public interface Cacheable
/**
* method executed on cache initialisation
*/
/**
* method executed on cache initialisation
*/
- public void init();
+ public void initCache();
+
+ /**
+ * method executed on cache update
+ */
+ public void updateCache();
/**
* Combo-box instance for the cache component
*
* @return
*/
/**
* Combo-box instance for the cache component
*
* @return
*/
- public JComboBox<String> getCacheComboBox();
+ public CacheBoxI<String> getCacheComboBox();
/**
* The unique key that will be used for storing user input for this cacheable
/**
* The unique key that will be used for storing user input for this cacheable
@@
-25,13
+28,4
@@
public interface Cacheable
* @return
*/
public String getCacheKey();
* @return
*/
public String getCacheKey();
-
- /**
- * Get next focusable component. Required to delegate focus while updating the
- * cacheable component cache
- *
- * @return
- */
- public JComponent getNextFocusableElement();
-
}
}