ValidateControl Interface

com.bea.control
ValidateControl Interface

public interface ValidateControl

The ValidateControl interface provides methods with which you can validate a control JCX file. The WebLogic Workshop IDE calls these methods in your implementation of this interface. To expose your implementation to the IDE, you specify the implementation with the control-validator attribute of the <control-tags> element in the control's tags XML file.

Note: The ValidateControl interface is part of the WebLogic Workshop Control Development Kit. The Control Development Kit is for users who are creating advanced controls. It is available in your BEA installation in the following directory: BEA_HOME\weblogic81\samples\workshop\ControlDevKit\

Method Summary

public Issue[]
validateDuringCompile(boolean start, Map context)
public Issue[]
validateDuringEdit(boolean start)
Not yet supported.

Method Detail

validateDuringCompile(boolean, Map) Method

public Issue[] validateDuringCompile(boolean start, 
                                   Map context)

Parameters

start
- true if the "control" type is being entered.
context
- state that the control author can use to accumulate information during compile.

Returns

- an array of issues. If there are no issues the array should be empty.

validateDuringEdit(boolean) Method

public Issue[] validateDuringEdit(boolean start)
Not yet supported.