Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Eclipse JDT
Release 3.5

Interface IJavaFoldingStructureProvider

All Known Implementing Classes:

public interface IJavaFoldingStructureProvider

Contributors to the org.eclipse.jdt.ui.foldingStructureProvider extension point must specify an implementation of this interface which will create and maintain ProjectionAnnotation objects that define folded regions in the ProjectionViewer.

Clients may implement this interface.

In order to provide backward compatibility for clients of IJavaFoldingStructureProvider, extension interfaces are used to provide a means of evolution. The following extension interfaces exist:


Method Summary
 void initialize ()
          (Re-)initializes the structure provided by the receiver.
 void install ( ITextEditor editor, ProjectionViewer viewer)
          Installs this structure provider on the given editor and viewer.
 void uninstall ()
          Uninstalls this structure provider.

Method Detail


void install(
ITextEditor editor,
ProjectionViewer viewer)
Installs this structure provider on the given editor and viewer. Implementations should listen to the projection events generated by viewer and enable / disable generation of projection structure accordingly.

editor - the editor that this provider works on
viewer - the projection viewer that displays the annotations created by this structure provider


void uninstall()
Uninstalls this structure provider. Any references to editors or viewers should be cleared.


void initialize()
(Re-)initializes the structure provided by the receiver.

Eclipse JDT
Release 3.5

Copyright (c) IBM Corp. and others 2000, 2008. All Rights Reserved.

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire