Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 457243
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T22:33:05+00:00 2026-05-12T22:33:05+00:00

My team is using Rational Software Modeler to build some UML diagrams. Each diagram

  • 0

My team is using Rational Software Modeler to build some UML diagrams. Each diagram has a little text box stating a human-readable title, the last-modified date, and some other information about the diagram.

Is there a way to automatically keep the last-modified date up to date? A macro, perhaps? Or some sort of plugin to Eclipse?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T22:33:05+00:00Added an answer on May 12, 2026 at 10:33 pm

    You most certainly can update this information any time the diagram is saved. A plug-in will do this. The solution will be a GMF and EMF (UML ecore model) solution. I have written a similar plug-in that listens for model or object changes and then updates a UML object.

    High-level approach.

    1. Create a eclipse plug-in, you may want to include com.ibm.xtools.modeler…
    2. Add a listener to the GMF diagram (Notification Listener) or create a (in GMF, EditPolicy/EditPart). This way every time it changes then you update the time stamp, you might also consider waiting/listening for a save command so save on extra ecore transactions.
    3. Write a transaction by extending a class like RecordingCommand. Then find all the child nodes on the diagram that match what you are looking for, personally I would use a UML profile and lock down the contents of the notes and/or automate it, but it could be left free form.
    4. Have the listener or EditPolicy execute the transaction before the save or edit completes, which ever you chose.

    There are GMF and EMF tutorials out there and books, not extensive, but tough going. If you are really hard up direct message me asking the more detailed question or add it here and ping me, if you are still in need of this 7 months late, your question is very specific.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using Team City as the build server, and I have a msbuild
We've been using Team City as our build deployment server. We'd like to now
I'm currently using Team Foundation Server 2008 as a source control and build engine.
We are using Team Foundation Server 2010 and we have some JavaScript unit tests
I'm using Team Foundation 2010 Team Build for automatic deployment of websites and projects.
I saw some people in a development team using Memcached to cache database results,
I'm in a small distributed team using Mercurial for a central repository. We each
How would you go about introducing acceptance tests into a team using the .NET
We are using Team City and I noticed problem during running Watin test. Sometimes
Our team is using a SecureRandom to generate a list of key pairs (the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.