implemented groupCreationTab
This commit is contained in:
@@ -32,7 +32,7 @@ import envoy.util.EnvoyLog;
|
||||
* <i>The actual search algorithm is implemented on the server.
|
||||
* <p>
|
||||
* To create a group, a button is available that loads the
|
||||
* {@link GroupCreationScene}.
|
||||
* {@link GroupCreationTab}.
|
||||
* <p>
|
||||
* Project: <strong>envoy-client</strong><br>
|
||||
* File: <strong>ContactSearchScene.java</strong><br>
|
||||
@@ -50,10 +50,6 @@ public class ContactSearchTab {
|
||||
@FXML
|
||||
private ListView<User> userList;
|
||||
|
||||
private SceneContext sceneContext;
|
||||
|
||||
private LocalDB localDB;
|
||||
|
||||
private Alert alert = new Alert(AlertType.CONFIRMATION);
|
||||
|
||||
private User currentlySelectedUser;
|
||||
@@ -69,16 +65,6 @@ public class ContactSearchTab {
|
||||
private static final EventBus eventBus = EventBus.getInstance();
|
||||
private static final Logger logger = EnvoyLog.getLogger(ChatScene.class);
|
||||
|
||||
/**
|
||||
* @param sceneContext enables the user to return to the chat scene
|
||||
* @param localDB the local database to which new contacts are added
|
||||
* @since Envoy Client v0.1-beta
|
||||
*/
|
||||
public void initializeData(SceneContext sceneContext, LocalDB localDB) {
|
||||
this.sceneContext = sceneContext;
|
||||
this.localDB = localDB;
|
||||
}
|
||||
|
||||
@FXML
|
||||
private void initialize() {
|
||||
userList.setCellFactory(new ListCellFactory<>(ContactControl::new));
|
||||
|
Reference in New Issue
Block a user