Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ease-dev] Sign and Verify Script

Hi,

This week I worked on improving dialogs for performing signature, new approach to show decorators, wrote documentation and started writing test cases.

Dialogs for performing signature:
  • Several UI improvements are done in dialog boxes.
  • A method is modified in SignatureHelper with help of which instead of directly appending signature to file, signature block in proper format will be returned.
  • Tags for signature and certificates are added to signature block.

Approach to show decorators:
  • New methods are added to IScript and ScriptImpl: updateDecorator, getSignatureState
    • updateDecorator will update decorator state and
    • getSignatureState will return signature state
  • updateLocation method of RepositoryService will update decorator state of corresponding file by calling updateDecorator method
  • scheduler in UpdateRepositoryJob will call a routine to update decorators
  • Decorator will add appropriate decorator if needed using getSignatureState method
With this changes set, decorator will be shown first time since eclipse application launch only after change in at least one file. In other words, decorators are not shown immediately after launching eclipse application.
Is there a way to initialize the decorator when scripts are initialized the first time, similar to setTimeStamp is working?

I wrote test cases but, since several methods (getSignatureInFormat in SignatureHelper and getSignatureInfo in AbstractCodeParser) are within other patch, many test cases are left. I have commented those tests for now and will work on them once these methods are merged.
Gerrit change: https://git.eclipse.org/r/#/c/79020/

Documentation:
Gerrit change: https://git.eclipse.org/r/#/c/79017/
--
Varun Raval

Back to the top