Skip to content
Snippets Groups Projects
Commit e039e16b authored by chris's avatar chris
Browse files

new matching files

parent 831327b7
No related branches found
No related tags found
2 merge requests!383Rename contect view,!382new matching files
...@@ -49,6 +49,8 @@ export { default as MultipleChoiceSingleCorrectQuestionService } from './src/Mul ...@@ -49,6 +49,8 @@ export { default as MultipleChoiceSingleCorrectQuestionService } from './src/Mul
export { default as TrueFalseQuestionService } from './src/MultipleChoiceQuestionService/TrueFalseQuestionService/TrueFalseQuestionService'; export { default as TrueFalseQuestionService } from './src/MultipleChoiceQuestionService/TrueFalseQuestionService/TrueFalseQuestionService';
export { default as FillTheGapQuestionService } from './src/FillTheGapQuestionService/FillTheGapQuestionService'; export { default as FillTheGapQuestionService } from './src/FillTheGapQuestionService/FillTheGapQuestionService';
export { default as EssayService } from './src/EssayService/EssayService'; export { default as EssayService } from './src/EssayService/EssayService';
export { default as MatchingService } from './src/MatchingService/MatchingService';
/* /*
ToolGroups ToolGroups
*/ */
...@@ -77,3 +79,4 @@ export { default as MultipleChoiceToolGroupService } from './src/WaxToolGroups/M ...@@ -77,3 +79,4 @@ export { default as MultipleChoiceToolGroupService } from './src/WaxToolGroups/M
export { default as FillTheGapToolGroupService } from './src/WaxToolGroups/FillTheGapToolGroupService/FillTheGapToolGroupService'; export { default as FillTheGapToolGroupService } from './src/WaxToolGroups/FillTheGapToolGroupService/FillTheGapToolGroupService';
export { default as MultipleDropDownToolGroupService } from './src/WaxToolGroups/MultipleDropDownToolGroupService/MultipleDropDownToolGroupService'; export { default as MultipleDropDownToolGroupService } from './src/WaxToolGroups/MultipleDropDownToolGroupService/MultipleDropDownToolGroupService';
export { default as EssayToolGroupService } from './src/WaxToolGroups/EssayToolGroupService/EssayToolGroupService'; export { default as EssayToolGroupService } from './src/WaxToolGroups/EssayToolGroupService/EssayToolGroupService';
export { default as MatchingToolGroupService } from './src/WaxToolGroups/MatchingToolGroupService/MatchingToolGroupService';
import { injectable } from 'inversify';
import Tools from '../../lib/Tools';
@injectable()
class MatchingQuestion extends Tools {
title = 'Change to Block Quote';
label = 'Block Quote';
name = 'BlockQuote';
get run() {
return (state, dispatch) => {};
}
select = (state, activeViewId) => {};
get active() {
return state => {};
}
get enable() {
return state => {};
}
}
export default MatchingQuestion;
import Service from '../Service';
import MatchingQuestion from './MatchingQuestion';
class MatchingService extends Service {
name = 'MatchingService';
boot() {}
register() {
this.container.bind('MatchingQuestion').to(MatchingQuestion);
}
}
export default MatchingService;
import { injectable, inject } from 'inversify';
import ToolGroup from '../../lib/ToolGroup';
@injectable()
class Matching extends ToolGroup {
tools = [];
constructor() {
super();
this.tools = [];
}
}
export default Matching;
import Service from '../../Service';
import Matching from './Matching';
class MatchingToolGroupService extends Service {
register() {
this.container.bind('Matching').to(Matching);
}
}
export default MatchingToolGroupService;
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment