Ejemplo n.º 1
0
 /**
  * Returns the {@link ProrToolExtension} associated with this {@link ReqIF}. If it doesn't exist
  * yet, it is created.
  *
  * <p>
  */
 public static ProrToolExtension createProrToolExtension(ReqIF reqif, EditingDomain domain) {
   ProrToolExtension extension = getProrToolExtension(reqif);
   if (null == extension) {
     extension = ConfigurationFactory.eINSTANCE.createProrToolExtension();
     domain
         .getCommandStack()
         .execute(ReqIFToolExtensionUtil.getAddToolExtensionCommand(reqif, extension));
   }
   return extension;
 }