#101 Need listener for clear case check in operation

core
closed-rejected
eclipse (49)
3
2012-09-14
2012-02-28
No

Hi ,

I am using the clear case plug-in and now i need to use this plug-in to notify me when a clear case check in operation is performed .

Can you please add this feature so that it will be very helpful for all the clear case plug in users including me .

Thanks and regards
Ajay

Discussion

  • ajay chandrahasan

    • priority: 5 --> 7
    • milestone: --> core
     
  • Mikael Petterson

    Hi,

    I need some clarification. Can you more in detail describe how this feature shall work. Do you mean when another person checks in the file. Also descibe why feature is needed.

    //mike

     
  • ajay chandrahasan

    Dear Mike ,

    Thank you for the quick reply .

    I am using this plug-in in our eclipse project so that our eclipse based IDE can utilize the clear case support. So my requirement is that when ever a file is checked in , I will be notified so that i can run some of my functions just after this check in . So if you can provide a listener which will notify me after successful check in operation , then I can implement that listener in my plug-in and run my functions . This check in listener shall be notifying me when user is doing a check in operation using ClearCase ->Checkin action (and any other methods to check in ) provided by the clear case plug-in only. No need to notify the user when another person is doing a check in operation.

    Thanks and regards
    Ajay

     
  • Mikael Petterson

    Hi Ajay,

    Sorry for late reply. I will make a quick investigation.

    br,

    //mike

     
  • Mikael Petterson

    Hi,

    I posted question about the best way to do this on Eclipse.org and got the following answer:

    Design a ServiceInterface, provide it - maybe - in a separate plugin. Implement a Service that implements your ServiceInterface. Register the service with org.eclipse.ui.services. The user can then request the service
    from the Workbench and register his listener.

    IMyNotificationService service = PlatformUI.getWorkbench().getService(IMyNotificationService.class)
    if (service!=null)
    {
    service.addListener(myServiceListener);
    }

    So it seems possible. I have to take a deeper look into how I can add it in the existing framework.

    //mike

     
  • Mikael Petterson

    • priority: 7 --> 3
     
  • Mikael Petterson

    • labels: 412892 --> eclipse
    • assigned_to: nobody --> eraonel
    • status: open --> closed-rejected
     
  • Mikael Petterson

    Decision was made to not incorporate this functionality into the plugin since it is outside the core scope of the project.

     

Log in to post a comment.

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

Sign up for the SourceForge newsletter:





No, thanks