com.cmpware.elf
Interface TreeViewable

All Known Implementing Classes:
ArrayType, MemberType, ScalarType, Scope, StructType, Variable, VariableType

public interface TreeViewable

This interface is used to make a class usable in a tree viewer.

Copyright (c) 2005 Cmpware, Inc. All Rights Reserved.

Author:
SAG

Method Summary
 java.lang.Object[] getChildren()
          This method returns the children of this object.
 org.eclipse.swt.graphics.Image getImage()
          This method returns an image used as a decorator.
 java.lang.Object getParent()
          This method returns the parent of this object.
 java.lang.String getText()
          This method returns the text string associated with this object.
 boolean hasChildren()
          This method returns true if this object has children and false otherwise.
 

Method Detail

getChildren

java.lang.Object[] getChildren()
This method returns the children of this object.

Returns:
This method returns the children of this object

getParent

java.lang.Object getParent()
This method returns the parent of this object.

Returns:
This method returns the parent of this object.

hasChildren

boolean hasChildren()
This method returns true if this object has children and false otherwise.

Returns:
This method returns true if this object has children and false otherwise.

getText

java.lang.String getText()
This method returns the text string associated with this object.

Returns:
This method returns the text string associated with this object.

getImage

org.eclipse.swt.graphics.Image getImage()
This method returns an image used as a decorator.

Returns:
This method returns an image used as a decorator.