VariableChangeView

public interface VariableChangeView
Known Indirect Subclasses

Views that allow the user to request changes to the list of variables should implement this interface. The BlocklyController maintains a VariableRequestCallback for handling UI requests.

Public Method Summary

abstract void
setVariableRequestCallback(VariableRequestCallback requestCallback)
Sets the callback for user generated variable change requests, such as deleting or renaming a variable.

Public Methods

public abstract void setVariableRequestCallback (VariableRequestCallback requestCallback)

Sets the callback for user generated variable change requests, such as deleting or renaming a variable. The view takes no action on its own so the callback is expected to handle any requests.

Parameters
requestCallback The callback to notify when the user has selected an action.