yesamer commented on code in PR #2687:
URL:
https://github.com/apache/incubator-kie-tools/pull/2687#discussion_r1810401098
##########
packages/scesim-editor/src/TestScenarioEditor.tsx:
##########
@@ -101,10 +125,33 @@ export type TestScenarioEditorProps = {
* Notifies the caller when the Test Scenario Editor performs a new edit
after the debounce time.
*/
onModelDebounceStateChanged?: (changed: boolean) => void;
+ /**
+ * Called when the contents of a specific available model is necessary. Used
by the "Included models" tab.
+ */
+ onRequestExternalModelByPath?: OnRequestExternalModelByPath;
+ /**
+ * Called when the list of paths of available models to be included is
needed. Used by the "Included models" tab.
+ */
+ onRequestExternalModelsAvailableToInclude?:
OnRequestExternalModelsAvailableToInclude;
Review Comment:
Fixed.
##########
packages/scesim-editor/src/TestScenarioEditor.tsx:
##########
@@ -101,10 +125,33 @@ export type TestScenarioEditorProps = {
* Notifies the caller when the Test Scenario Editor performs a new edit
after the debounce time.
*/
onModelDebounceStateChanged?: (changed: boolean) => void;
+ /**
+ * Called when the contents of a specific available model is necessary. Used
by the "Included models" tab.
+ */
+ onRequestExternalModelByPath?: OnRequestExternalModelByPath;
+ /**
+ * Called when the list of paths of available models to be included is
needed. Used by the "Included models" tab.
+ */
+ onRequestExternalModelsAvailableToInclude?:
OnRequestExternalModelsAvailableToInclude;
+ /**
+ * When users want to jump to another file, this method is called, allowing
the controller of this component decide what to do.
+ * Links are only rendered if this is provided. Otherwise, paths will be
rendered as text.
+ */
+ onRequestToJumpToPath?: OnRequestToJumpToPath;
+ /**
+ * All paths inside the DMN Editor are relative. To be able to resolve them
and display them as absolute paths, this function is called.
+ * If undefined, the relative paths will be displayed.
+ */
+ onRequestToResolvePath?: OnRequestToResolvePath;
Review Comment:
Fixed
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]