Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
themeEclipse
public class CustomMediaItemVersionFBO extends MediaItemArticleVersionFBO {
	...
	public String getHelpTopicsId() {
	    return Activator.OH_ANCHOR_INTRODUCTION;
	}
}

 

 

 

Note

In this example the ID of the actual help topic is defined statically (as public static final String) in the Activator. This is the proper location for such definitions since the Activator usually also defines namespaces, bundle and component IDs.

...