|
org.netbeans.api.debugger.jpda/2 2.31.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.spi.debugger.jpda.VariablesFilter
org.netbeans.spi.debugger.jpda.VariablesFilterAdapter
public abstract class VariablesFilterAdapter
Default "empty" implementation of VariablesFilter
returns original
values (name, icon, fields, ...) for given variable.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.netbeans.spi.debugger.jpda.VariablesFilter |
---|
VariablesFilter.Registration |
Constructor Summary | |
---|---|
VariablesFilterAdapter()
|
Method Summary | |
---|---|
Action[] |
getActions(NodeActionsProvider original,
Variable variable)
Returns set of actions for given variable. |
Object[] |
getChildren(TreeModel original,
Variable variable,
int from,
int to)
Returns filtered children for given variable on given indexes. |
int |
getChildrenCount(TreeModel original,
Variable variable)
Returns number of filtered children for given variable. |
String |
getDisplayName(NodeModel original,
Variable variable)
Returns filterred display name for given variable. |
String |
getIconBase(NodeModel original,
Variable variable)
Returns filterred icon for given variable. |
String |
getShortDescription(NodeModel original,
Variable variable)
Returns filterred tooltip for given variable. |
abstract String[] |
getSupportedAncestors()
Returns set of fully quilified class names (like java.lang.String) this filter is registerred to. |
abstract String[] |
getSupportedTypes()
Returns set of fully quilified class names (like java.lang.String) this filter is registerred to. |
Object |
getValueAt(TableModel original,
Variable variable,
String columnID)
Returns filterred value to be displayed in column columnID
and for variable variable . |
boolean |
isLeaf(TreeModel original,
Variable variable)
Returns true if variable is leaf. |
boolean |
isReadOnly(TableModel original,
Variable variable,
String columnID)
Filters original isReadOnly value from given table model. |
void |
performDefaultAction(NodeActionsProvider original,
Variable variable)
Performs default action for given variable. |
void |
setValueAt(TableModel original,
Variable variable,
String columnID,
Object value)
Changes a value displayed in column columnID
for variable variable . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VariablesFilterAdapter()
Method Detail |
---|
public abstract String[] getSupportedAncestors()
getSupportedAncestors
in class VariablesFilter
public abstract String[] getSupportedTypes()
getSupportedTypes
in class VariablesFilter
public Object[] getChildren(TreeModel original, Variable variable, int from, int to) throws UnknownTypeException
getChildren
in class VariablesFilter
original
- the original tree modelvariable
- a variable of returned fields
NoInformationException
- if the set of children can not be
resolved
ComputingException
- if the children resolving process
is time consuming, and will be performed off-line
UnknownTypeException
- if this TreeModelFilter implementation is not
able to resolve dchildren for given node typepublic int getChildrenCount(TreeModel original, Variable variable) throws UnknownTypeException
getChildrenCount
in class VariablesFilter
original
- the original tree modelvariable
- a variable of returned fields
NoInformationException
- if the set of children can not be
resolved
ComputingException
- if the children resolving process
is time consuming, and will be performed off-line
UnknownTypeException
- if this TreeModelFilter implementation is not
able to resolve dchildren for given node typepublic boolean isLeaf(TreeModel original, Variable variable) throws UnknownTypeException
isLeaf
in class VariablesFilter
original
- the original tree model
UnknownTypeException
- if this TreeModel implementation is not
able to resolve dchildren for given node typepublic String getDisplayName(NodeModel original, Variable variable) throws UnknownTypeException
getDisplayName
in class VariablesFilter
ComputingException
- if the display name resolving process
is time consuming, and the value will be updated later
UnknownTypeException
- if this NodeModel implementation is not
able to resolve display name for given node typepublic String getIconBase(NodeModel original, Variable variable) throws UnknownTypeException
getIconBase
in class VariablesFilter
ComputingException
- if the icon resolving process
is time consuming, and the value will be updated later
UnknownTypeException
- if this NodeModel implementation is not
able to resolve icon for given node typepublic String getShortDescription(NodeModel original, Variable variable) throws UnknownTypeException
getShortDescription
in class VariablesFilter
ComputingException
- if the tooltip resolving process
is time consuming, and the value will be updated later
UnknownTypeException
- if this NodeModel implementation is not
able to resolve tooltip for given node typepublic Action[] getActions(NodeActionsProvider original, Variable variable) throws UnknownTypeException
getActions
in class VariablesFilter
UnknownTypeException
- if this NodeActionsProvider implementation
is not able to resolve actions for given node typepublic void performDefaultAction(NodeActionsProvider original, Variable variable) throws UnknownTypeException
performDefaultAction
in class VariablesFilter
UnknownTypeException
- if this NodeActionsProvider implementation
is not able to resolve actions for given node typepublic Object getValueAt(TableModel original, Variable variable, String columnID) throws UnknownTypeException
columnID
and for variable variable
. Column ID is defined in by
ColumnModel.getID()
, and variables are defined by values returned from
TreeModel.getChildren(java.lang.Object, int, int)
.
getValueAt
in class VariablesFilter
original
- the original table modelvariable
- a variable returned from TreeModel.getChildren(java.lang.Object, int, int)
for this rowcolumnID
- a id of column defined by ColumnModel.getID()
ComputingException
- if the value is not known yet and will
be computed later
UnknownTypeException
- if there is no TableModel defined for given
parameter typepublic boolean isReadOnly(TableModel original, Variable variable, String columnID) throws UnknownTypeException
isReadOnly
in class VariablesFilter
original
- the original table modelvariable
- a variable returned from TreeModel.getChildren(java.lang.Object, int, int)
for this rowcolumnID
- a id of column defined by ColumnModel.getID()
UnknownTypeException
- if there is no TableModel defined for given
parameter typepublic void setValueAt(TableModel original, Variable variable, String columnID, Object value) throws UnknownTypeException
columnID
for variable variable
. Column ID is defined in by
ColumnModel.getID()
, and variable are defined by values returned from
TreeModel.getChildren(java.lang.Object, int, int)
.
setValueAt
in class VariablesFilter
original
- the original table modelvariable
- a variable returned from TreeModel.getChildren(java.lang.Object, int, int)
for this rowcolumnID
- a id of column defined by ColumnModel.getID()
value
- a new value of variable on given position
UnknownTypeException
- if there is no TableModel defined for given
parameter type
|
org.netbeans.api.debugger.jpda/2 2.31.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |