| 503 | |
| 504 | |
| 505 | class EOSSettings: |
| 506 | _instance = None |
| 507 | |
| 508 | @classmethod |
| 509 | def getInstance(cls): |
| 510 | if cls._instance is None: |
| 511 | cls._instance = EOSSettings() |
| 512 | |
| 513 | return cls._instance |
| 514 | |
| 515 | def __init__(self): |
| 516 | self.EOSSettings = SettingsProvider.getInstance().getSettings("pyfaEOSSettings", eos.config.settings) |
| 517 | |
| 518 | def get(self, type): |
| 519 | return self.EOSSettings[type] |
| 520 | |
| 521 | def set(self, type, value): |
| 522 | self.EOSSettings[type] = value |
| 523 | |
| 524 | |
| 525 | class GraphSettings: |