Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

30
LINES

< > BotCompany Repo | #1034301 // G22MasterStuff - global (inter-project) functions in a Gazelle process

JavaX fragment (include) [tags: use-pretranspiled]

Uses 2164K of libraries. Click here for Pure Java version (62689L/333K).

interface G22MasterStuff {
  RunnablesReferenceQueue runnablesReferenceQueue();
  EphemeralObjectIDs ephemeralObjectIDs();
  
  File databasesMotherDir();
  IG22LoadedDB openDatabase(File dir, bool hidden default false);
  IG22LoadedDB openDB(S dbName, bool hidden default false);
  void closeDatabase(File dir);
  void switchToDatabase(File dir);
  Cl<File> openConceptDirs();
  IG22LoadedDB getLoadedDB(Concepts concepts);
  IG22LoadedDB getLoadedDBForConceptDir(File dir);
  Cl<? extends IG22LoadedDB> getLoadedDBs aka openProjects();
  G22MasterStuff onLoadedDBsChange(Runnable r);
  G22MasterStuff removeLoadedDBsChangeListener(Runnable r);
  IF1<S, Class> makeClassFinder();
  IGetterWithNotify<Int> lvGazelleUserCount();
  ILASClassLoader lasClassLoader();
  bool devMode();
  
  void newClassesDefined();
  selfType onNewClassesDefined(Runnable r);
  selfType removeNewClassesDefinedListener(Runnable r);
  
  default bool isConceptDirLoaded(File dir) {
    ret getLoadedDBForConceptDir(dir) != null;
  }
  
  void restart();
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034301
Snippet name: G22MasterStuff - global (inter-project) functions in a Gazelle process
Eternal ID of this version: #1034301/33
Text MD5: a97b6638da7e096d6d4476502885a05b
Transpilation MD5: 52a734c5bd4201bbc66f297081a55a6d
Author: stefan
Category: javax / gazelle v
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-09-26 05:07:29
Source code size: 1064 bytes / 30 lines
Pitched / IR pitched: No / No
Views / Downloads: 105 / 309
Version history: 32 change(s)
Referenced in: [show references]