net.sourceforge.blogentis.plugins.impl
Class NavigationExtensionPointImpl

java.lang.Object
  extended bynet.sourceforge.blogentis.plugins.AbstractExtensionPoint
      extended bynet.sourceforge.blogentis.plugins.AbstractBlogExtensionPoint
          extended bynet.sourceforge.blogentis.plugins.impl.NavigationExtensionPointImpl
All Implemented Interfaces:
IBlogExtensionPoint, IExtensionPoint, INavigationExtensionPoint

public class NavigationExtensionPointImpl
extends AbstractBlogExtensionPoint
implements INavigationExtensionPoint

The implementation of the INavigationExtensionPoint.

Author:
abas

Field Summary
 
Fields inherited from class net.sourceforge.blogentis.plugins.AbstractBlogExtensionPoint
blog, preferences
 
Fields inherited from class net.sourceforge.blogentis.plugins.AbstractExtensionPoint
extensions, plugin
 
Constructor Summary
NavigationExtensionPointImpl(IPlugin plugin, Blog blog)
           
 
Method Summary
 java.util.List buildNavigationList(BlogRunData data, java.lang.String navName)
          Builds and return the specified navigation list.
 java.lang.Class getExtensionClass()
          Get the class or interface that extensions for this extension point have to implement.
 java.lang.String getName()
          Get the user-visible name of this extension point.
 
Methods inherited from class net.sourceforge.blogentis.plugins.AbstractBlogExtensionPoint
getBlog, getPreferences
 
Methods inherited from class net.sourceforge.blogentis.plugins.AbstractExtensionPoint
addExtension, getExtensions, getPlugin, removeExtension, removeExtensions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sourceforge.blogentis.plugins.IBlogExtensionPoint
getBlog
 
Methods inherited from interface net.sourceforge.blogentis.plugins.IExtensionPoint
addExtension, getExtensions, getPlugin, removeExtension, removeExtensions
 

Constructor Detail

NavigationExtensionPointImpl

public NavigationExtensionPointImpl(IPlugin plugin,
                                    Blog blog)
Method Detail

getName

public java.lang.String getName()
Description copied from interface: IExtensionPoint
Get the user-visible name of this extension point.

Specified by:
getName in interface IExtensionPoint
Returns:
the name of this extension point.

getExtensionClass

public java.lang.Class getExtensionClass()
Description copied from interface: IExtensionPoint
Get the class or interface that extensions for this extension point have to implement.

Specified by:
getExtensionClass in interface IExtensionPoint
Returns:
this extension points' appropriate base class or inteface.

buildNavigationList

public java.util.List buildNavigationList(BlogRunData data,
                                          java.lang.String navName)
Description copied from interface: INavigationExtensionPoint
Builds and return the specified navigation list. If the list has no elements, the navigation list should not be visible.

Specified by:
buildNavigationList in interface INavigationExtensionPoint
Parameters:
data - the BlogRunData of the current request.
navName - the name of the navigation list.
Returns:
a List of ILinkTo objects.


Copyright © 2003-2004 SourceForge.net. All Rights Reserved.