de.cau.cs.kieler.core.kivi
Class CombinationDescriptor

java.lang.Object
  extended by de.cau.cs.kieler.core.kivi.CombinationDescriptor

public class CombinationDescriptor
extends Object

A container for extension point descriptions. Contains class, name, description attributes.

Rating red

Constructor Summary
CombinationDescriptor(String n, String d, Class<? extends ICombination> c)
          Create a new descriptor.
 
Method Summary
 Class<? extends ICombination> getClazz()
          Get the class.
 String getDescription()
          Get the description.
 String getName()
          Get the name.
 boolean isActive()
          Get the active state of the element described.
 boolean isDefaultActive()
          Get the default active state of the element described.
 void setActive(boolean a)
          Set the element described as active or inactive.
 void setDefaultActive(boolean a)
          Set the element described as active or inactive by default.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CombinationDescriptor

public CombinationDescriptor(String n,
                             String d,
                             Class<? extends ICombination> c)
Create a new descriptor.

Parameters:
n - the name
d - the description
c - the class
Method Detail

getName

public String getName()
Get the name.

Returns:
the name

getDescription

public String getDescription()
Get the description.

Returns:
the description

getClazz

public Class<? extends ICombination> getClazz()
Get the class.

Returns:
the class

setActive

public void setActive(boolean a)
Set the element described as active or inactive.

Parameters:
a - true if activating

isActive

public boolean isActive()
Get the active state of the element described.

Returns:
true if activated

setDefaultActive

public void setDefaultActive(boolean a)
Set the element described as active or inactive by default.

Parameters:
a - true if activating

isDefaultActive

public boolean isDefaultActive()
Get the default active state of the element described.

Returns:
true if activated