public ISourceUnitModelInfo getModelInfo( final String type, final int syncLevel, final IProgressMonitor monitor) { if (type == null || type.equals(RModel.TYPE_ID)) { if (syncLevel > IModelManager.NONE) { RCore.getRModelManager().reconcile(this, syncLevel, false, monitor); } return fModelInfo; } return null; }
public AstInfo<? extends IAstNode> getAstInfo( final String type, final boolean ensureSync, final IProgressMonitor monitor) { if (type == null || type.equals(RModel.TYPE_ID)) { if (ensureSync) { RCore.getRModelManager().reconcile(this, IModelManager.AST, false, monitor); } return fAst; } return null; }
@Override protected IModelManager getModelManager() { return RCore.getRModelManager(); }
public void reconcileRModel(final int reconcileLevel, final IProgressMonitor monitor) { RCore.getRModelManager().reconcile(this, reconcileLevel, true, monitor); }
@Override protected void unregister() { super.unregister(); RCore.getRModelManager().deregisterDependentUnit(this); }