@@ -0,0 +1,2486 @@
+/**%0A * Copyright Notice%0A *%0A * This is a work of the U.S. Government and is not subject to copyright%0A * protection in the United States. Foreign copyrights may apply.%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A * http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0Apackage gov.va.isaac.gui.mapping;%0A%0Aimport gov.va.isaac.AppContext;%0Aimport gov.va.isaac.config.profiles.UserProfileManager;%0Aimport gov.va.isaac.init.SystemInit;%0Aimport gov.va.isaac.interfaces.gui.constants.SharedServiceNames;%0Aimport gov.va.isaac.interfaces.gui.views.commonFunctionality.PopupConceptViewI;%0Aimport java.io.File;%0Aimport java.io.IOException;%0Aimport java.lang.reflect.Field;%0Aimport java.util.UUID;%0Aimport javafx.application.Application;%0Aimport javafx.scene.Scene;%0Aimport javafx.scene.control.Label;%0Aimport javafx.stage.Stage;%0Aimport org.ihtsdo.otf.query.lucene.LuceneIndexer;%0Aimport org.ihtsdo.otf.tcc.datastore.BdbTerminologyStore;%0Aimport org.ihtsdo.otf.tcc.lookup.Hk2Looker;%0A%0A/**%0A * EnhancedConceptViewRunner%0A *%0A * @author %3Ca href=%22mailto:daniel.armbrust.list@gmail.com%22%3EDan Armbrust%3C/a%3E%0A * @author %3Ca href=%22mailto:jefron@apelon.com%22%3EJesse Efron%3C/a%3E%0A */%0Apublic class MappingViewRunner extends Application%0A%7B%0A%09/**%0A%09 * @see javafx.application.Application#start(javafx.stage.Stage)%0A%09 */%0A%09@Override%0A%09public void start(Stage primaryStage) throws Exception%0A%09%7B%0A%09%09%0A%0A%09%09Mapping m = AppContext.getService(Mapping.class);%0A%0A%09%09primaryStage.setScene(new Scene(m.getView(), 800, 600));%0A%09%09primaryStage.setTitle(m.getViewTitle());%0A%09%09primaryStage.show();%0A%09%7D%0A%0A%09public static void main(String%5B%5D args) throws Exception%0A%09%7B%0A%09%09IOException dataStoreLocationInitException = SystemInit.doBasicSystemInit(new File(%22../../isaac-pa/app/%22));%0A%09%09if (dataStoreLocationInitException != null)%0A%09%09%7B%0A%09%09%09System.err.println(%22Configuration of datastore path failed.  DB will not be able to start properly!  %22 + dataStoreLocationInitException);%0A%09%09%09System.exit(-1);%0A%09%09%7D%0A%09%09%0A%09%09AppContext.getService(UserProfileManager.class).configureAutomationMode(new File(%22profiles%22));%0A%09%09%0A%09%09launch(args);%0A%09%7D%0A%0A%7D%0A

add code to quickly launch GUI code