MCPcopy Create free account
hub / github.com/chms/jdotxt / calculateVisibility

Method calculateVisibility

src/com/chschmid/jdotxt/gui/JdotxtGUI.java:417–422  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

415 }
416
417 private short calculateVisibility() {
418 short visibility = 0;
419 if (Jdotxt.userPrefs.getBoolean("showProjectsPanel", true)) visibility = JdotxtFilterPanel.VISIBILITY_PROJECTS;
420 if (Jdotxt.userPrefs.getBoolean("showContextsPanel", true)) visibility = (short) (visibility + JdotxtFilterPanel.VISIBILITY_CONTEXTS);
421 return visibility;
422 }
423
424 // File operations can be done in a separate thread, so that the GUI thread is not blocked by file IO
425 private class TaskLoader implements Runnable {

Callers 2

resetMethod · 0.95
showSettingsDialogMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected