Opened 17 years ago

Last modified 11 years ago

#71 closed enhancement

Add Error Decoration to documents; optimise Active Script Decoration — at Version 2

Reported by: Graham Dutton Owned by: Graham Dutton
Priority: major Milestone:
Component: 1:pg-eclipse Keywords: error decoration jdt marker
Cc:

Description (last modified by David Aspinall)

Decoration which annotates the current error/warning state is currently not generated.

It should take the form of:

  • if (error markers present) decorate with ("JDT Error")
  • else if (warning markers present) decorate with ("JDT Warning")
  • else no decoration.

This should appear in the Proof Explorer (see #7), though this may be by inheritance from the Project Explorer.

One major obstacle to this is that triggering decoration updates seems to be difficult to do. There should be some mechanism for forcing label provider updates, as calling updateForEnablementChange() is discouraged and severely sub-optimal (though at the scale it is being used, does not cause any major problems at present).

Fixing the problem above will also improve efficiency of the Active/Processed? Script decorator.

Change History (2)

comment:1 Changed 17 years ago by David Aspinall

Milestone: PG-Eclipse-1.0.6PG-Eclipse-1.0.7

comment:2 Changed 17 years ago by David Aspinall

Description: modified (diff)
Owner: changed from David Aspinall to Graham Dutton
Note: See TracTickets for help on using tickets.