Package org.cast.isi.panel

Examples of org.cast.isi.panel.ResponseButtons$ButtonLink


      }
      questionTitleContainer.add(edit);

      PromptModel mPrompt = new PromptModel(selectedQuestion.getPrompt());

      ResponseButtons responseButtons = new ResponseButtons("responseButtons", mPrompt, questionsMetadata, loc);
      responseButtons.setVisible(!isTeacher);
      add(responseButtons);

      ResponseList responseList = new ResponseList("responseList", mPrompt, questionsMetadata, loc, mUser);
      String context = "questions" + (isTeacher ? ".teacher" : ""  );
      responseList.setContext(context);
View Full Code Here


    ResponseList responseList = new ResponseList("nbResponseList", mPrompt, notebookMetadata, null, ISISession.get().getUserModel());
    add(responseList);
    responseList.setContext("TeacherNotes");
    responseList.setAllowNotebook(false);
    responseList.setAllowWhiteboard(false);
    ResponseButtons responseButtons = new ResponseButtons("responseButtons", mPrompt, notebookMetadata, null);
    responseButtons.setContext("TeacherNotes");
    add(responseButtons);
    add(ISIApplication.get().getToolbar("tht", this));
  }
View Full Code Here

      if (!ISIApplication.get().isUseAuthoredResponseType()) {
        // set all the response types to the default per application configuration here
        metadata = addMetadata(metadata);
      }
      IModel<Prompt> mPrompt = responseService.getOrCreatePrompt(PromptType.RESPONSEAREA, loc, metadata.getId(), metadata.getCollection());
      ResponseButtons buttons = new ResponseButtons(wicketId, mPrompt, metadata, loc);
      buttons.setVisible(!isTeacher);
      return buttons;

    } else if (wicketId.startsWith("locking_responseButtons_")) {
      ContentLoc loc = new ContentLoc(getModel().getObject());
      String responseGroupId = elt.getAttribute("rgid");
View Full Code Here

    ResponseList responseList = new ResponseList ("responseList", mNotesPrompt, pageNotesMetadata, loc, mTargetUser);
    responseList.setContext("pagenote");
    responseList.setAllowNotebook(ISIApplication.get().isNotebookOn());
    responseList.setAllowWhiteboard(ISIApplication.get().isWhiteboardOn());
    noteBox.add(responseList);
    ResponseButtons responseButtons = new ResponseButtons("responseButtons", mNotesPrompt, pageNotesMetadata, loc);
    responseButtons.setContext("pagenote");
    noteBox.add(responseButtons);
    noteBox.setVisible(ISIApplication.get().isPageNotesOn());
  }
View Full Code Here

    responseList.setContext(context);
    responseList.setAllowEdit(!isTeacher);
    responseList.setAllowNotebook(false);
    responseList.setAllowWhiteboard(false);
    add(responseList);
    ResponseButtons responseButtons = new ResponseButtons("responseButtons", mPrompt, notebookMetadata, currentLoc);
    responseButtons.setContext("notebook");
    responseButtons.setVisible(!isTeacher);
    add(responseButtons);
  }
View Full Code Here

    responseList.setContext(context);
    responseList.setAllowNotebook(false);
    responseList.setAllowWhiteboard(false);
    responseList.setAllowEdit(!isTeacher);
   
    ResponseButtons responseButtons = new ResponseButtons("responseButtons", mPrompt, questionsMetadata, null);
    responseButtons.setContext("questions");
    add(responseButtons);
    responseButtons.setVisible(!isTeacher);
  }
View Full Code Here

TOP

Related Classes of org.cast.isi.panel.ResponseButtons$ButtonLink

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.