|
TPTP 4.5.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.tptp.platform.report.core.internal.DChildrenController
org.eclipse.tptp.platform.report.birt).
public class DChildrenController
This class contains rules to check insertion of a IDItem child in a item. Call one of acceptChild() method to perfrom check. By default all rules for core IDItem are checked, if you want to add a rule, call installChildRule() or installChildrenRule() (for example if you create a new extended IDItem).
| Field Summary | |
|---|---|
protected static java.util.HashMap |
rules
Deprecated. |
| Constructor Summary | |
|---|---|
DChildrenController()
Deprecated. |
|
| Method Summary | |
|---|---|
static boolean |
acceptChild(java.lang.Class _parent,
IDItem _child)
Deprecated. Return true if _child class is allowed to be a child of _paren's classt. |
static boolean |
acceptChild(IDItem _parent,
IDItem _child)
Deprecated. Return true if _child is allowed to be a child of _parent. |
static void |
installChildrenRule(java.lang.Class _parent,
java.lang.Class[] _children)
Deprecated. Add a rule to allow the insertion of children in given parent class. |
static void |
installChildRule(java.lang.Class _parent,
java.lang.Class _child)
Deprecated. Add a rule to allow the insertion of a child in given parent class. |
static boolean |
removeChildClass(java.lang.Class _parent,
java.lang.Class _child)
Deprecated. Remove a rule for given child in a _parent. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static java.util.HashMap rules
| Constructor Detail |
|---|
public DChildrenController()
| Method Detail |
|---|
public static void installChildrenRule(java.lang.Class _parent,
java.lang.Class[] _children)
_parent - Class of parent_children - array of Class object, classes of allowed children.
public static void installChildRule(java.lang.Class _parent,
java.lang.Class _child)
_parent - Class of parent_child - Class of allowed child.
public static boolean removeChildClass(java.lang.Class _parent,
java.lang.Class _child)
public static boolean acceptChild(IDItem _parent,
IDItem _child)
_parent - Parent instance._child - Child instance to check.
public static boolean acceptChild(java.lang.Class _parent,
IDItem _child)
_parent - Parent class._child - Child class to check.
|
TPTP 4.5.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||