use of org.apache.openmeetings.web.room.activities.ActivitiesPanel in project openmeetings by apache.
the class RoomSidebar method onInitialize.
@Override
protected void onInitialize() {
super.onInitialize();
final NameDialog addFolder = new NameDialog("addFolder", getString("712")) {
private static final long serialVersionUID = 1L;
@Override
protected void onSubmit(AjaxRequestTarget target) {
roomFiles.createFolder(target, getModelObject());
}
};
final Form<?> form = new Form<>("form");
ConfirmableBorderDialog confirmTrash = new ConfirmableBorderDialog("confirm-trash", getString("80"), getString("713"), form);
roomFiles = new RoomFilePanel("tree", room, addFolder, confirmTrash);
add(selfRights, userList.add(updateUsers()).setOutputMarkupId(true), fileTab.setVisible(!room.isInterview()), roomFiles.setVisible(!room.isInterview()));
add(addFolder, settings, userCount.setOutputMarkupId(true));
add(toggleRight, toggleActivity, roomAction, avSettings);
add(confirmKick = new ConfirmableAjaxBorder("confirm-kick", getString("603"), getString("605")) {
private static final long serialVersionUID = 1L;
@Override
protected void onSubmit(AjaxRequestTarget target) {
kickUser(kickedClient);
}
});
add(form.add(confirmTrash), upload = new UploadDialog("upload", room, roomFiles));
updateShowFiles(null);
add(new JQueryUIBehavior("#room-sidebar-tabs", "tabs", new Options("activate", "function(event, ui) {Room.setSize();}")));
add(activities = new ActivitiesPanel("activities", room));
}
Aggregations