org.openbp.cockpit.plugins.debugger
Class DebuggerPlugin.BreakPointDecorator

java.lang.Object
  extended by org.openbp.jaspira.decoration.FilteredDecorator
      extended by org.openbp.jaspira.decoration.ListDecorator
          extended by org.openbp.cockpit.plugins.debugger.DebuggerPlugin.BreakPointDecorator
All Implemented Interfaces:
Decorator
Enclosing class:
DebuggerPlugin

public class DebuggerPlugin.BreakPointDecorator
extends ListDecorator

Decorator for breakpoints.


Constructor Summary
DebuggerPlugin.BreakPointDecorator()
           
 
Method Summary
 java.lang.Object doDecorate(java.lang.Object owner, java.lang.String key, java.lang.Object value)
          Performs the actual decoration.
 boolean qualifies(java.lang.Object owner)
          Checks for qualification of an object.
 
Methods inherited from class org.openbp.jaspira.decoration.ListDecorator
add, clear, isEmpty, remove
 
Methods inherited from class org.openbp.jaspira.decoration.FilteredDecorator
decorate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DebuggerPlugin.BreakPointDecorator

public DebuggerPlugin.BreakPointDecorator()
Method Detail

qualifies

public boolean qualifies(java.lang.Object owner)
Description copied from class: ListDecorator
Checks for qualification of an object.

Overrides:
qualifies in class ListDecorator
Parameters:
owner - Owner of the object. This parameter is passed to the DecorationMgr.decorate(java.lang.Object, java.lang.String, java.lang.Object) method.
Returns:
true If the object is part of the internal list of this decorator.
false If the object doesn't qualify.
See Also:
ListDecorator.qualifies(Object)

doDecorate

public java.lang.Object doDecorate(java.lang.Object owner,
                                   java.lang.String key,
                                   java.lang.Object value)
Description copied from class: FilteredDecorator
Performs the actual decoration.

Specified by:
doDecorate in class FilteredDecorator
Parameters:
owner - Owner of the object
key - Key under which the decorator is accessed
value - Object to decorate (also passed to the DecorationMgr.decorate(java.lang.Object, java.lang.String, java.lang.Object) method)
Returns:
The decorated object. The decorator may either modify the original object and return it or return a new object. The returned object will be passed to the next decorator.
See Also:
FilteredDecorator.doDecorate(Object, String, Object)


Copyright © 2011. All Rights Reserved.