org.eclipse.higgins.icard.provider.cardspace.common
Class InformationCardExtension
java.lang.Object
org.eclipse.higgins.icard.provider.cardspace.common.InformationCardExtension
- All Implemented Interfaces:
- org.eclipse.higgins.icard.IInformationCardExtension
- public class InformationCardExtension
- extends Object
- implements org.eclipse.higgins.icard.IInformationCardExtension
InformationCardExtension
public InformationCardExtension(org.eclipse.higgins.icard.io.IElement element,
boolean enabled,
Object id)
- Parameters:
element - XML extension elementenabled - true if this element should be processed,
otherwise falseid - Unique identifier of extension within a card. May be
null for new, not stored extension
getElement
public org.eclipse.higgins.icard.io.IElement getElement()
- Specified by:
getElement in interface org.eclipse.higgins.icard.IInformationCardExtension
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled in interface org.eclipse.higgins.icard.IInformationCardExtension
setElement
public void setElement(org.eclipse.higgins.icard.io.IElement extension)
throws org.eclipse.higgins.icard.CardException
- Specified by:
setElement in interface org.eclipse.higgins.icard.IInformationCardExtension
- Throws:
org.eclipse.higgins.icard.CardException
setEnabled
public void setEnabled(boolean enabled)
throws org.eclipse.higgins.icard.CardException
- Specified by:
setEnabled in interface org.eclipse.higgins.icard.IInformationCardExtension
- Throws:
org.eclipse.higgins.icard.CardException
getId
public Object getId()
- Specified by:
getId in interface org.eclipse.higgins.icard.IInformationCardExtension
setId
public void setId(Object id)
- Specified by:
setId in interface org.eclipse.higgins.icard.IInformationCardExtension
addListener
public void addListener(org.eclipse.higgins.icard.IExtensionListener listener)
- Specified by:
addListener in interface org.eclipse.higgins.icard.IInformationCardExtension
removeListener
public void removeListener(org.eclipse.higgins.icard.IExtensionListener listener)
- Specified by:
removeListener in interface org.eclipse.higgins.icard.IInformationCardExtension