org.severe.jripples.modules.manager
Class JRipplesModuleLoader

java.lang.Object
  extended by org.severe.jripples.modules.manager.JRipplesModuleLoader

public class JRipplesModuleLoader
extends java.lang.Object

Provides a convenient access to the attributes of the module, defined in terms of JRipples extension points.

Author:
Maksym Petrenko

Method Summary
 java.lang.String getCategory()
          Returns the category of the module.
 java.lang.String getClassName()
          Returns the name of the class name of this module.
 org.eclipse.swt.graphics.Image getIcon()
          Returns the icon of the module.
 java.lang.String getId()
          Returns the id of the module.
 org.eclipse.jface.resource.ImageDescriptor getImageDescriptor()
          Returns the image descriptor of the module's icon.
 JRipplesModuleInterface getModule()
          Returns the actual object of this module implementing JRipplesModuleInterface interface.
 java.lang.String getName()
          Returns the name of the module.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getId

public java.lang.String getId()
Returns the id of the module.

Returns:
id of the module

getName

public java.lang.String getName()
Returns the name of the module.

Returns:
name of the module

getClassName

public java.lang.String getClassName()
Returns the name of the class name of this module.

Returns:
class name of the module
See Also:
getModule()

getCategory

public java.lang.String getCategory()
Returns the category of the module.

Returns:
category of the module

getIcon

public org.eclipse.swt.graphics.Image getIcon()
Returns the icon of the module. Clients should not dispose the icon.

Returns:
icon of the module if any,
null otherwise
See Also:
getImageDescriptor()

getImageDescriptor

public org.eclipse.jface.resource.ImageDescriptor getImageDescriptor()
Returns the image descriptor of the module's icon.

Returns:
image descriptor of the module's icon
See Also:
getIcon()

getModule

public JRipplesModuleInterface getModule()
Returns the actual object of this module implementing JRipplesModuleInterface interface.

Returns:
the actual object of this module implementing JRipplesModuleInterface interface
See Also:
getClassName()