Class JavaCodeParameterRenderer
java.lang.Object
uno.anahata.asi.swing.agi.message.part.tool.param.ObjectToStringParameterRenderer
uno.anahata.asi.nb.ui.render.JavaCodeParameterRenderer
- All Implemented Interfaces:
ParameterRenderer<Object>
A specialized parameter renderer that evaluates the correct context classpath
for dynamic Java execution snippets and injects it into the NetBeans viewer.
- Author:
- anahata
-
Field Summary
Fields inherited from class ObjectToStringParameterRenderer
agiPanel -
Constructor Summary
ConstructorsConstructorDescriptionsets the language to 'java' and 'editable' to true. -
Method Summary
Modifier and TypeMethodDescriptionprotected StringHandlecreateHandle(String content, AbstractToolCall<?, ?> call, String paramName) Overrides the handle factory to inject the correct context classpath for dynamic Java execution snippets so the high-fidelity NetBeans viewer can provide accurate semantic highlighting.Methods inherited from class ObjectToStringParameterRenderer
getComponent, init, render, updateContent
-
Constructor Details
-
JavaCodeParameterRenderer
public JavaCodeParameterRenderer()sets the language to 'java' and 'editable' to true.
-
-
Method Details
-
createHandle
Overrides the handle factory to inject the correct context classpath for dynamic Java execution snippets so the high-fidelity NetBeans viewer can provide accurate semantic highlighting.- Overrides:
createHandlein classObjectToStringParameterRenderer- Parameters:
content- The string content.call- The tool call.paramName- The parameter name.- Returns:
- The configured StringHandle.
-

