src/authoring/views/EntityBuilderView.java
private ComboBox<String> buildTypeComboBox() throws Exception {
		ComboBox<String>comboBox = (ComboBox<String>) eFactory.buildClickElement(ClickElementType.ComboBox, "Select Object Type", null);
		comboBox.setPromptText(language.getProperty("selectObjectType"));
		comboBox.setOnAction(e -> {
				data.setComponent(engine.components.Type.class, getRealName(comboBox.getSelectionModel().getSelectedItem()));
				List<String> componentsToAdd = new ArrayList<>(ResourceBundle.getBundle(PROPERTIES_PACKAGE + data.getType()).keySet());

				componentFormCollection.fill(componentsToAdd);
				componentFormCollection.setLanguage(language);
				this.sizeToScene();
		});
		comboBox.getStyleClass().add("entity-builder-combo-box"); 
		for(String et : entityTypes) {
			comboBox.getItems().add(language.getProperty(et));
		}
		return comboBox;
	}
/**
	 * Builds the menu to select the Type of Entity
	 * @return Menu typeMenu
	 * @throws Exception 
	 */
Builds the menu to select the Type of Entity
@return Menu typeMenu
@throws Exception
Builds the menu to select the Type of Entity @return Menu typeMenu @throws Exception
private ComboBox<String> buildTypeComboBox() throws Exception {
		ComboBox<String>comboBox = (ComboBox<String>) eFactory.buildClickElement(ClickElementType.ComboBox, "Select Object Type", null);
		comboBox.setPromptText(language.getProperty("selectObjectType"));
		comboBox.setOnAction(e -> {
				data.setComponent(engine.components.Type.class, getRealName(comboBox.getSelectionModel().getSelectedItem()));
				List<String> componentsToAdd = new ArrayList<>(ResourceBundle.getBundle(PROPERTIES_PACKAGE + data.getType()).keySet());
				componentFormCollection.fill(componentsToAdd);
				componentFormCollection.setLanguage(language);
				this.sizeToScene();
		});
		comboBox.getStyleClass().add("entity-builder-combo-box"); 
		for(String et : entityTypes) {
			comboBox.getItems().add(language.getProperty(et));
		}
		return comboBox;
	}
private ComboBox < String > buildTypeComboBox ( ) throws Exception { ComboBox < String > comboBox = ( ComboBox < String > ) eFactory . buildClickElement ( ClickElementType . ComboBox , "Select Object Type" , null ) ; comboBox . setPromptText ( language . getProperty ( "selectObjectType" ) ) ; comboBox . setOnAction ( e -> { data . setComponent ( engine . components . Type . class , getRealName ( comboBox . getSelectionModel ( ) . getSelectedItem ( ) ) ) ; List < String > componentsToAdd = new ArrayList < > ( ResourceBundle . getBundle ( PROPERTIES_PACKAGE + data . getType ( ) ) . keySet ( ) ) ; componentFormCollection . fill ( componentsToAdd ) ; componentFormCollection . setLanguage ( language ) ; this . sizeToScene ( ) ; } ) ; comboBox . getStyleClass ( ) . add ( "entity-builder-combo-box" ) ; for ( String et : entityTypes ) { comboBox . getItems ( ) . add ( language . getProperty ( et ) ) ; } return comboBox ; }
Builds the menu to select the Type of Entity
 @return Menu typeMenu
 @throws Exception
Builds the menu to select the Type of Entity @return Menu typeMenu @throws Exception