|
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 IModel
| Method Summary | |
|---|---|
void |
add(org.eclipse.mtj.ui.internal.forms.blocks.NamedObject[] objs,
boolean notify)
Add the elements to the model. |
void |
addModelListener(IModelListener listener)
Add a listener to model modifications. |
void |
clear()
Remove all elements from the model. |
void |
fireModelChanged(Object[] objects,
String type,
String property)
|
Object[] |
getContents()
Return all elements on the model |
void |
remove(org.eclipse.mtj.ui.internal.forms.blocks.NamedObject[] objs,
boolean notify)
Remove elements from the model. |
void |
removeModelListener(IModelListener listener)
Remove the specified model listener |
| Method Detail |
|---|
void add(org.eclipse.mtj.ui.internal.forms.blocks.NamedObject[] objs,
boolean notify)
objs - objects to be added to the modelnotify - flag to indicate if the ModelListeners must be notified
about the inclusion action.void addModelListener(IModelListener listener)
listener - the listener to be added.void clear()
void fireModelChanged(Object[] objects,
String type,
String property)
objects - type - property - Object[] getContents()
void remove(org.eclipse.mtj.ui.internal.forms.blocks.NamedObject[] objs,
boolean notify)
objs - objects to be removed from the modelnotify - flag to indicate if the ModelListeners must be notified
about the removal action.void removeModelListener(IModelListener listener)
listener - the listener to be removed
|
Mobile Tools for Java Release 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||