Class SiriusUtils


  • public final class SiriusUtils
    extends Object
    • Method Detail

      • createSession

        public static org.eclipse.sirius.business.api.session.Session createSession​(IProject project,
                                                                                    IProgressMonitor monitor)
      • addSemanticResource

        public static void addSemanticResource​(org.eclipse.sirius.business.api.session.Session session,
                                               URI resourceUri,
                                               IProgressMonitor monitor)
      • enableViewpoint

        public static org.eclipse.sirius.ui.business.api.session.UserSession enableViewpoint​(org.eclipse.sirius.business.api.session.Session session,
                                                                                             String viewpointName)
      • enableViewpoints

        public static org.eclipse.sirius.ui.business.api.session.UserSession enableViewpoints​(org.eclipse.sirius.business.api.session.Session session,
                                                                                              Iterable<String> viewpointNames)