mirror of
https://github.com/praktimarc/kst4contest.git
synced 2026-09-11 03:35:28 +02:00
manual: updated map documentation
This commit is contained in:
@@ -8426,12 +8426,12 @@ public class Kst4ContestApplication extends Application implements StatusUpdateL
|
||||
Predicate<ChatMember> inactivePredicate = new Predicate<ChatMember>() {
|
||||
@Override
|
||||
public boolean test(ChatMember chatMember) {
|
||||
long inactiveMinutes =
|
||||
Utils4KST.time_getSecondsBetweenEpochAndNow(
|
||||
chatMember.getActivityTimeLastInEpoch() + ""
|
||||
) / 60L;
|
||||
|
||||
|
||||
if ((Utils4KST.time_getSecondsBetweenEpochAndNow(chatMember.getActivityTimeLastInEpoch()+"") /60%60) > 20) {
|
||||
return false;
|
||||
}
|
||||
else return true;
|
||||
return inactiveMinutes <= 20L;
|
||||
}
|
||||
};
|
||||
btnTglInactive.setOnAction(new EventHandler<ActionEvent>() {
|
||||
@@ -11714,12 +11714,16 @@ public class Kst4ContestApplication extends Application implements StatusUpdateL
|
||||
//here is where all settings has to be written to the preferences instance
|
||||
|
||||
|
||||
System.out.println("[Info] Main.java: connect clicked, using "
|
||||
+ chatcontroller.getChatPreferences().getStn_loginCallSign() + " / "
|
||||
+ chatcontroller.getChatPreferences().getStn_loginPassword() + " / "
|
||||
+ chatcontroller.getChatPreferences().getStn_loginNameMainCat() + " / "
|
||||
+ chatcontroller.getChatPreferences().getStn_loginLocatorMainCat() + " at category "
|
||||
+ choiceBxChatChategory.getSelectionModel().getSelectedItem());
|
||||
LOGGER.log(
|
||||
Level.INFO,
|
||||
"Settings window: ON4KST connection requested for {0} in {1}; "
|
||||
+ "second chat enabled: {2}",
|
||||
new Object[] {
|
||||
chatcontroller.getChatPreferences().getStn_loginCallSign(),
|
||||
choiceBxChatChategory.getSelectionModel().getSelectedItem(),
|
||||
chatcontroller.getChatPreferences().isLoginToSecondChatEnabled()
|
||||
}
|
||||
);
|
||||
|
||||
try {
|
||||
|
||||
|
||||
@@ -279,6 +279,15 @@ public final class StationMapView {
|
||||
updateStatusLabel();
|
||||
updateDetailPanel(selectedSnapshot);
|
||||
|
||||
/*
|
||||
* The detail pane is useful only while path analysis is enabled and a
|
||||
* concrete station is selected. Reset view therefore removes the pane
|
||||
* instead of leaving an empty analysis area beside the map.
|
||||
*/
|
||||
updateDetailPanePresence(
|
||||
profileSection.isVisible() && selectedSnapshot != null
|
||||
);
|
||||
|
||||
if (mapReady) {
|
||||
renderAll();
|
||||
}
|
||||
@@ -541,7 +550,15 @@ public final class StationMapView {
|
||||
|
||||
pathAnalysisSection.setVisible(visible);
|
||||
pathAnalysisSection.setManaged(visible);
|
||||
updateDetailPanePresence(visible);
|
||||
|
||||
/*
|
||||
* Showing path analysis must not create an empty detail pane when no
|
||||
* station is selected. The pane is restored automatically with the next
|
||||
* valid station selection.
|
||||
*/
|
||||
updateDetailPanePresence(
|
||||
visible && lastSelectedSnapshot != null
|
||||
);
|
||||
|
||||
pathAnalysisHiddenHintLabel.setVisible(!visible);
|
||||
pathAnalysisHiddenHintLabel.setManaged(!visible);
|
||||
|
||||
Reference in New Issue
Block a user