From 88eabd6496e130c3e78209cbf262fca920c0ba25 Mon Sep 17 00:00:00 2001 From: Stefano Borini <sborini@enthought.com> Date: Fri, 14 Jul 2017 17:24:19 +0100 Subject: [PATCH] Removed create_ui as it is created from the model --- .../csv_extractor/csv_extractor/csv_extractor_bundle.py | 3 --- force_bdss/core_plugins/test_mco/dakota/dakota_bundle.py | 3 --- force_bdss/data_sources/i_data_source_bundle.py | 3 --- force_bdss/mco/i_multi_criteria_optimizer_bundle.py | 3 --- 4 files changed, 12 deletions(-) diff --git a/force_bdss/core_plugins/csv_extractor/csv_extractor/csv_extractor_bundle.py b/force_bdss/core_plugins/csv_extractor/csv_extractor/csv_extractor_bundle.py index 708123d..b905c73 100644 --- a/force_bdss/core_plugins/csv_extractor/csv_extractor/csv_extractor_bundle.py +++ b/force_bdss/core_plugins/csv_extractor/csv_extractor/csv_extractor_bundle.py @@ -14,8 +14,5 @@ class CSVExtractorBundle(HasStrictTraits): def create_model(self, model_data): return CSVExtractorModel.from_json(model_data) - def create_ui(self, model): - pass - def create_data_source(self, application, model): return CSVExtractorDataSource(self, application, model) diff --git a/force_bdss/core_plugins/test_mco/dakota/dakota_bundle.py b/force_bdss/core_plugins/test_mco/dakota/dakota_bundle.py index dd0ef08..12c34ab 100644 --- a/force_bdss/core_plugins/test_mco/dakota/dakota_bundle.py +++ b/force_bdss/core_plugins/test_mco/dakota/dakota_bundle.py @@ -15,8 +15,5 @@ class DakotaBundle(HasStrictTraits): def create_model(self, model_data): return DakotaModel.from_json(model_data) - def create_ui(self): - pass - def create_optimizer(self, application, model): return DakotaOptimizer(self, application, model) diff --git a/force_bdss/data_sources/i_data_source_bundle.py b/force_bdss/data_sources/i_data_source_bundle.py index f277cae..d7f80ac 100644 --- a/force_bdss/data_sources/i_data_source_bundle.py +++ b/force_bdss/data_sources/i_data_source_bundle.py @@ -4,9 +4,6 @@ from traits.api import Interface, String class IDataSourceBundle(Interface): name = String() - def create_ui(self): - pass - def create_data_source(self, application, model): pass diff --git a/force_bdss/mco/i_multi_criteria_optimizer_bundle.py b/force_bdss/mco/i_multi_criteria_optimizer_bundle.py index 3a584c4..33c9a37 100644 --- a/force_bdss/mco/i_multi_criteria_optimizer_bundle.py +++ b/force_bdss/mco/i_multi_criteria_optimizer_bundle.py @@ -7,8 +7,5 @@ class IMultiCriteriaOptimizerBundle(Interface): def create_optimizer(self, application, model): pass - def create_ui(self): - pass - def create_model(self, model_data): pass -- GitLab