de.uni_paderborn.fujaba.views
Class InheritanceFilter

java.lang.Object
  extended byde.uni_paderborn.fujaba.basic.BasicIncrement
      extended byde.uni_paderborn.fujaba.views.AbstractFilter
          extended byde.uni_paderborn.fujaba.views.AbstractConfigurableFilter
              extended byde.uni_paderborn.fujaba.views.InheritanceFilter
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable, ConfigurableFilter, Filter, UniqueIdentifier

public class InheritanceFilter
extends AbstractConfigurableFilter

This Filter defines its 1-Context by following the inheritance hierarchy to the sub- or superclasses, depending on the current configuration

Version:
$Revision: 1.11 $
Author:
$Author: schneider $

Field Summary
 
Fields inherited from class de.uni_paderborn.fujaba.basic.BasicIncrement
dontUseAccessMethodsInThisClass
 
Constructor Summary
InheritanceFilter()
          Constructor for class InheritanceFilter
 
Method Summary
 java.util.Set grow1Context(UMLDiagram diag, UMLDiagramItem item, ItemSet context)
          UMLMethod: '+ get1Context (item : UMLDiagramItem;context : Set;newNodes : Set) : Set'
 boolean isForDiagram(UMLDiagram diag)
          Get the forDiagram attribute of the InheritanceFilter object
 boolean isIncludeSubclasses()
          Get the includeSubclasses attribute of the InheritanceFilter object
 boolean isIncludeSuperclasses()
          Get the includeSuperclasses attribute of the InheritanceFilter object
 void setIncludeSubclasses(boolean inc)
          Sets the includeSubclasses attribute of the InheritanceFilter object
 void setIncludeSuperclasses(boolean inc)
          Sets the includeSuperclasses attribute of the InheritanceFilter object
 
Methods inherited from class de.uni_paderborn.fujaba.views.AbstractConfigurableFilter
clone, getDescription, getEditor, getName, readSettings, setDescription, setName, writeSettings
 
Methods inherited from class de.uni_paderborn.fujaba.views.AbstractFilter
addToViewDefinitions, containsConnection, containsConnection, containsConnectors, containsConnectors, get1Context, get1Context, getConnections, getNContext, getNContext, hasInViewDefinitions, iteratorOfViewDefinitions, removeAllFromViewDefinitions, removeFromViewDefinitions, sizeOfViewDefinitions, toString, tryAddConnection, tryAddConnection, tryAddConnection, tryAddConnection
 
Methods inherited from class de.uni_paderborn.fujaba.basic.BasicIncrement
compareTo, getID, getUniqueID, getUniqueID, isGenerated, lessUniqueId, readAttributes, readAttributes, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, removeYou, resetClassInfos, resetFieldWriteMethods, setAttribValue, setAttribValue, setGenerated, setID, setUniqueId, writeAttributes, writeClassToStringBuffer, writeClassToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.uni_paderborn.fujaba.views.Filter
addToViewDefinitions, get1Context, get1Context, getNContext, getNContext, hasInViewDefinitions, iteratorOfViewDefinitions, removeAllFromViewDefinitions, removeFromViewDefinitions, sizeOfViewDefinitions
 

Constructor Detail

InheritanceFilter

public InheritanceFilter()
Constructor for class InheritanceFilter

Method Detail

isForDiagram

public boolean isForDiagram(UMLDiagram diag)
Get the forDiagram attribute of the InheritanceFilter object

Parameters:
diag - No description provided
Returns:
The forDiagram value

grow1Context

public java.util.Set grow1Context(UMLDiagram diag,
                                  UMLDiagramItem item,
                                  ItemSet context)
UMLMethod: '+ get1Context (item : UMLDiagramItem;context : Set;newNodes : Set) : Set'

Specified by:
grow1Context in interface Filter
Specified by:
grow1Context in class AbstractFilter
Parameters:
diag - No description provided
item - No description provided
context - No description provided
Returns:
No description provided

isIncludeSubclasses

public boolean isIncludeSubclasses()
Get the includeSubclasses attribute of the InheritanceFilter object

Returns:
The includeSubclasses value

setIncludeSubclasses

public void setIncludeSubclasses(boolean inc)
Sets the includeSubclasses attribute of the InheritanceFilter object

Parameters:
inc - The new includeSubclasses value

isIncludeSuperclasses

public boolean isIncludeSuperclasses()
Get the includeSuperclasses attribute of the InheritanceFilter object

Returns:
The includeSuperclasses value

setIncludeSuperclasses

public void setIncludeSuperclasses(boolean inc)
Sets the includeSuperclasses attribute of the InheritanceFilter object

Parameters:
inc - The new includeSuperclasses value