remove arrow labels

jeezus84
2007-05-02
2013-04-29
  • jeezus84

    jeezus84 - 2007-05-02

    evening,

    I have successfully created a class diagram from my existing project. I find the labels on the arrows pretty useless for my purposes and would like to remove them to make my diagram cleaner. I have no idea how to go about doing this or if it is even possible.

    Any help would be greatly appreciated.

    Thanks.

     
    • Carl Alphonce

      Carl Alphonce - 2008-01-31

      The relationships are plug-ins to the basic tool.

      The image in the palette is a .gif file in the plug-in jar.  This you can change easily enough.  This does not affect how the arc is drawn and decorated in the diagram, though.  To change this you need to grab copy of the source code for the relationship from SF, change how the drawing is done in the relationship's "<relationshipName>Part.java" file (e.g. for association the file is  "AssociationPart.java").  These files have methods

          createConnection
          createSourceArrow
          createTargetArrow

      which you would need to modify.

      After you have done this you need to create a new plug-in for the relationship, and replace the original relationship plug-in with your modified one in your Eclipse plugins directory. 

      That's the theory :-)  Putting it into practice may not be quite as straightforward.

      Let us know how you make out with this.

      Carl

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks