How to access IModelService

ACTF Editors provides access to model of content through IModelService interface. This section introduces how to obtain IModelService.
  1. from org.eclipse.actf.model.ui.util.ModelServiceUtils
    ACTF Editors implement IModelServiceHolder, then you can obtain IModelService implementation by
    ((IModelServiceHolder)editor).getModelServise();
  2. from org.eclipse.actf.mediator.MediatorEvent

Related topics