Book a Demo

Author Topic: accessing (reversed) source code from within addin  (Read 2896 times)

domi55

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
accessing (reversed) source code from within addin
« on: April 26, 2012, 05:24:39 am »
Hi,

Within my add-in I do things like:

Code: [Select]
EA.IDualAttributeTag newTag = (EA.IDualAttributeTag)attribute.TaggedValues.AddNew("annotations", "@MyAnnotation")");
newTag.Update();

This creates the follwing within EA:



If I then use "Code Engineering -> Synchronize Package with Code..." I have the problem that the "import" (reversed code is Java) statements are not generated:

Code: [Select]
import com.myPkg.annotations.MyAnnotations;
So Is there a way to modify the (reversed) code within my Add-In?