|
Mobile Tools for Java Release 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISymbolSetRegistry
EXPERIMENTAL. This class or interface has been added as part of a work in progress. There is no guarantee that this API will work or that it will remain the same. Please do not use this API without consulting with the MTJ team.
| Method Summary | |
|---|---|
void |
addSymbolSet(ISymbolSet definitions)
Add the specified SymbolDefinitions object to the registry of definitions. |
void |
addSymbolSet(List<ISymbolSet> ss)
Add an array of symbol sets to the registry |
void |
addSymbolSetChangeListener(ISymbolSetChangeListener listener)
|
void |
clear()
Clear all of the registered SymbolDefinitions objects. |
String[] |
getAllSymbolSetNames()
Return all of the definition names registered. |
ISymbolSet[] |
getAllSymbolSets()
Return all of the definitions registered. |
ISymbolSet |
getSymbolSet(String name)
Return the SymbolDefinitions instance registered with the specified name or null if the object cannot be found. |
void |
load()
Load the contents of the symbol definitions registry from the storage file in the plug-in state location. |
void |
removeSymbolSet(String setName)
Remove the specified definition set from the registry. |
void |
removeSymbolSetChangeListener(ISymbolSetChangeListener listener)
|
void |
store()
Store out the contents of the registry into the standard device storage file in the plug-in state location. |
| Methods inherited from interface org.eclipse.mtj.core.persistence.IPersistable |
|---|
loadUsing, storeUsing |
| Method Detail |
|---|
void addSymbolSet(ISymbolSet definitions)
throws PersistenceException
definitions -
PersistenceException
IllegalStateException - if the provided definition set has a
null name.
void addSymbolSet(List<ISymbolSet> ss)
throws PersistenceException
ss - symbol set array
PersistenceExceptionvoid addSymbolSetChangeListener(ISymbolSetChangeListener listener)
listener -
void clear()
throws PersistenceException
PersistenceException
String[] getAllSymbolSetNames()
throws PersistenceException
PersistenceException
ISymbolSet[] getAllSymbolSets()
throws PersistenceException
PersistenceException
ISymbolSet getSymbolSet(String name)
throws PersistenceException
null if the object cannot be found.
name -
PersistenceExceptionvoid removeSymbolSet(String setName)
setName - void removeSymbolSetChangeListener(ISymbolSetChangeListener listener)
listener -
void load()
throws PersistenceException
PersistenceException
void store()
throws PersistenceException,
TransformerException,
IOException
PersistenceException
TransformerException
IOException
|
Mobile Tools for Java Release 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||