Lines Matching defs:model
54 * Releases SSE read model; saves SSE model if exists edit model
57 * @param model the SSE model
60 public static void fixModel(IStructuredModel model, IDocument document) {
61 if (model != null) {
62 model.releaseFromRead();
64 model = null;
69 model = StructuredModelManager.getModelManager().getExistingModelForEdit(document);
70 if (model != null) {
71 model.save();
80 if (model != null) {
81 model.releaseFromEdit();