Search code examples
eclipsedecoratorrcp

ECLIPSE RCP - lightweight decorator with objectState enablement


How use this functionality that org.eclipse.ui.decorators provides? Lets say I have some object in TreeViewer and want to enable decorator only when object has "dirty" property set to true? Do I have to build some Decorator implementation or only use of objectState in plugin.xml extension will fulfill my needs?


Solution

  • "A brilliant colleague of mine" section in this post may be helpful In Eclipse RCP, how do I disable a save toolbar button according to the "dirty" property in editor