Skip to content

Commit

Permalink
#164 Migrate image references in RichText content
Browse files Browse the repository at this point in the history
Ensure the handling of the ReqIFText attribute is the same as the one of
the CapellaElement documentation during migration.

Change-Id: I0000000000000000000000000000000000000000
Signed-off-by: Arnaud Dieumegard <arnaud.dieumegard@obeo.fr>
  • Loading branch information
arnauddieumegard authored and pdulth committed Jul 21, 2022
1 parent f7df21f commit 582613c
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@
*******************************************************************************/
package org.polarsys.capella.vp.requirements.ui.commands;

import org.eclipse.sirius.business.api.image.RichTextAttributeRegistry;
import org.osgi.framework.BundleContext;
import org.polarsys.capella.common.ui.services.AbstractUIActivator;
import org.polarsys.kitalpha.vp.requirements.Requirements.RequirementsPackage;

/**
* The activator class controls the plug-in life cycle
Expand All @@ -39,6 +41,8 @@ public RequirementsVPUICommandsPlugin() {
public void start(BundleContext context) throws Exception {
super.start(context);
plugin = this;
// Register ReqIfText attribute for handling of images references
RichTextAttributeRegistry.INSTANCE.add(RequirementsPackage.eINSTANCE.getRequirement_ReqIFText());
}

/**
Expand Down

0 comments on commit 582613c

Please sign in to comment.