sk.uniba.euromath.plugin.views.outline.items
Class ElementOutlineItem

java.lang.Object
  extended by sk.uniba.euromath.plugin.views.outline.items.OutlineItem
      extended by sk.uniba.euromath.plugin.views.outline.items.CompoundOutlineItem
          extended by sk.uniba.euromath.plugin.views.outline.items.ElementOutlineItem

public class ElementOutlineItem
extends CompoundOutlineItem

Author:
TV Created on 21.5.2004

Field Summary
 
Fields inherited from class sk.uniba.euromath.plugin.views.outline.items.CompoundOutlineItem
analyzed, children
 
Fields inherited from class sk.uniba.euromath.plugin.views.outline.items.OutlineItem
propSource
 
Constructor Summary
ElementOutlineItem(Element element)
           
 
Method Summary
protected  void analyze()
           
protected  IPropertySource createPropertySource()
           
protected  List getChildElements()
           
 Element getElement()
           
 String getImageKey()
           
protected  void invalidate()
           
 boolean isEmpty()
          Determines whether the element which is the model of this item is an empty element in XML terminology.
 boolean isMixed()
           
protected  void setChildElements(List childElements)
           
 String toString()
           
 
Methods inherited from class sk.uniba.euromath.plugin.views.outline.items.CompoundOutlineItem
addChild, getChildren, isAnalyzed, removeChild, setAnalyzed
 
Methods inherited from class sk.uniba.euromath.plugin.views.outline.items.OutlineItem
getModel, getParent, getPropertySource, isLeaf, setModel, setParent, setPropSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ElementOutlineItem

public ElementOutlineItem(Element element)
Method Detail

analyze

protected void analyze()
Specified by:
analyze in class CompoundOutlineItem

createPropertySource

protected IPropertySource createPropertySource()
Overrides:
createPropertySource in class OutlineItem

getElement

public Element getElement()

getImageKey

public String getImageKey()
Overrides:
getImageKey in class OutlineItem

invalidate

protected void invalidate()

isEmpty

public boolean isEmpty()
Determines whether the element which is the model of this item is an empty element in XML terminology. Simple empty element example:

Returns:
False if element contains other child elements. True otherwise.

isMixed

public boolean isMixed()

toString

public String toString()
Overrides:
toString in class OutlineItem

getChildElements

protected List getChildElements()
Returns:
Returns the childElements.

setChildElements

protected void setChildElements(List childElements)
Parameters:
childElements - The childElements to set.


Copyright © 2003-2006 null. All Rights Reserved.