Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Where to update the folding structure
Where to update the folding structure [message #306804] Sat, 05 August 2006 05:37 Go to next message
Eclipse UserFriend
Originally posted by: alazreg.yahoo.fr

Hi, I have created a method named doUpdateFoldingStructure that calls some
specialised classes to update the folding (annotations) structure of my
document.
This method is called in myEditorReconcilingStrategy to let it update the
folding each time the doc is modified.
All works fine.
But when I first open the document in my editor, since there is no changes
on my editor content, the reconciling strategy is not called. Where can I
call my method doUpdateFoldingStructure to force update the structure or
force my editor to call the reconciling strategy?
in the CreatePartControl ?????

Best regards
A.Lazreg
Re: Where to update the folding structure [message #306817 is a reply to message #306804] Mon, 07 August 2006 03:59 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tom_eicher.ch.ibm.com

@see IReconcilingStrategyExtension#initialReconcile()

-tom

Ahmed LAZREG wrote:
> Hi, I have created a method named doUpdateFoldingStructure that calls some
> specialised classes to update the folding (annotations) structure of my
> document.
> This method is called in myEditorReconcilingStrategy to let it update the
> folding each time the doc is modified.
> All works fine.
> But when I first open the document in my editor, since there is no changes
> on my editor content, the reconciling strategy is not called. Where can I
> call my method doUpdateFoldingStructure to force update the structure or
> force my editor to call the reconciling strategy?
> in the CreatePartControl ?????
>
> Best regards
> A.Lazreg
>
>
Re: Where to update the folding structure [message #306826 is a reply to message #306817] Mon, 07 August 2006 07:55 Go to previous message
Eclipse UserFriend
Originally posted by: ahmedlazreg.free.fr

Thank you very well Tom. It worked fine.
Best regards
A.Lazreg
octal@pocketmt.com
http://www.pocketmt.com the mcuStudio Home Site ;)

"Tom Eicher" <tom_eicher@ch.ibm.com> a
Previous Topic:Source feature generation with externalized strings in feature.properties results in unresolvable pr
Next Topic:How can we develop Occurrence Annotations?
Goto Forum:
  


Current Time: Fri Jul 18 18:34:54 EDT 2025

Powered by FUDForum. Page generated in 0.05519 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top