|
@@ -13,7 +13,7 @@
|
|
|
<ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.textureFileChooser.approveButtonText_1" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
</Property>
|
|
|
<Property name="currentDirectory" type="java.io.File" editor="org.netbeans.beaninfo.editors.FileEditor">
|
|
|
- <SerializedValue value="-84,-19,0,5,115,114,0,12,106,97,118,97,46,105,111,46,70,105,108,101,4,45,-92,69,14,13,-28,-1,3,0,1,76,0,4,112,97,116,104,116,0,18,76,106,97,118,97,47,108,97,110,103,47,83,116,114,105,110,103,59,120,112,116,0,16,92,65,115,115,101,116,115,92,84,101,120,116,117,114,101,115,119,2,0,92,120"/>
|
|
|
+ <SerializedValue value="-84,-19,0,5,115,114,0,12,106,97,118,97,46,105,111,46,70,105,108,101,4,45,-92,69,14,13,-28,-1,3,0,1,76,0,4,112,97,116,104,116,0,18,76,106,97,118,97,47,108,97,110,103,47,83,116,114,105,110,103,59,120,112,116,0,16,47,65,115,115,101,116,115,47,84,101,120,116,117,114,101,115,119,2,0,47,120"/>
|
|
|
</Property>
|
|
|
<Property name="dialogTitle" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
<ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.textureFileChooser.dialogTitle_1" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
@@ -39,787 +39,704 @@
|
|
|
<Layout>
|
|
|
<DimensionLayout dim="0">
|
|
|
<Group type="103" groupAlignment="0" attributes="0">
|
|
|
- <Component id="mainScrollPane" alignment="1" pref="920" max="32767" attributes="0"/>
|
|
|
+ <Group type="102" alignment="0" attributes="0">
|
|
|
+ <Component id="toolSettingsPanel" min="-2" pref="208" max="-2" attributes="0"/>
|
|
|
+ <EmptySpace max="-2" attributes="0"/>
|
|
|
+ <Component id="paintingPanel" min="-2" max="-2" attributes="0"/>
|
|
|
+ <EmptySpace max="-2" attributes="0"/>
|
|
|
+ <Component id="terrainOpsPanel" min="-2" max="-2" attributes="1"/>
|
|
|
+ <EmptySpace max="-2" attributes="0"/>
|
|
|
+ <Component id="jPanel2" min="-2" max="-2" attributes="1"/>
|
|
|
+ <EmptySpace max="-2" attributes="0"/>
|
|
|
+ <Component id="hintPanel" max="32767" attributes="0"/>
|
|
|
+ </Group>
|
|
|
+ <Component id="jToolBar1" alignment="0" pref="898" max="32767" attributes="0"/>
|
|
|
</Group>
|
|
|
</DimensionLayout>
|
|
|
<DimensionLayout dim="1">
|
|
|
<Group type="103" groupAlignment="0" attributes="0">
|
|
|
<Group type="102" alignment="0" attributes="0">
|
|
|
- <Component id="mainScrollPane" pref="333" max="32767" attributes="0"/>
|
|
|
+ <Component id="jToolBar1" min="-2" pref="27" max="-2" attributes="0"/>
|
|
|
<EmptySpace max="-2" attributes="0"/>
|
|
|
+ <Group type="103" groupAlignment="1" attributes="0">
|
|
|
+ <Component id="hintPanel" max="32767" attributes="1"/>
|
|
|
+ <Component id="paintingPanel" alignment="0" max="32767" attributes="1"/>
|
|
|
+ <Component id="toolSettingsPanel" alignment="0" pref="128" max="32767" attributes="1"/>
|
|
|
+ <Component id="terrainOpsPanel" alignment="0" max="32767" attributes="1"/>
|
|
|
+ <Component id="jPanel2" pref="128" max="32767" attributes="1"/>
|
|
|
+ </Group>
|
|
|
</Group>
|
|
|
</Group>
|
|
|
</DimensionLayout>
|
|
|
</Layout>
|
|
|
<SubComponents>
|
|
|
- <Container class="javax.swing.JScrollPane" name="mainScrollPane">
|
|
|
+ <Container class="javax.swing.JToolBar" name="jToolBar1">
|
|
|
<Properties>
|
|
|
- <Property name="verticalScrollBarPolicy" type="int" value="22"/>
|
|
|
+ <Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
|
|
|
+ <Color blue="cc" green="cc" red="cc" type="rgb"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="floatable" type="boolean" value="false"/>
|
|
|
+ <Property name="rollover" type="boolean" value="true"/>
|
|
|
</Properties>
|
|
|
|
|
|
- <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
|
|
|
+ <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBoxLayout"/>
|
|
|
<SubComponents>
|
|
|
- <Container class="javax.swing.JPanel" name="jPanel1">
|
|
|
+ <Component class="javax.swing.JButton" name="createTerrainButton">
|
|
|
+ <Properties>
|
|
|
+ <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
|
|
+ <Image iconType="3" name="/com/jme3/gde/terraineditor/icon_terrain-new.png"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.createTerrainButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.createTerrainButton.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </Property>
|
|
|
+ </Properties>
|
|
|
+ <Events>
|
|
|
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="createTerrainButtonActionPerformed"/>
|
|
|
+ </Events>
|
|
|
+ </Component>
|
|
|
+ <Component class="javax.swing.JToolBar$Separator" name="jSeparator1">
|
|
|
+ </Component>
|
|
|
+ <Component class="javax.swing.JToggleButton" name="raiseTerrainButton">
|
|
|
+ <Properties>
|
|
|
+ <Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor">
|
|
|
+ <ComponentRef name="terrainModButtonGroup"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
|
|
+ <Image iconType="3" name="/com/jme3/gde/terraineditor/icon_terrain-up.png"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.raiseTerrainButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.raiseTerrainButton.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="actionCommand" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.raiseTerrainButton.actionCommand" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </Property>
|
|
|
+ </Properties>
|
|
|
+ <Events>
|
|
|
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="raiseTerrainButtonActionPerformed"/>
|
|
|
+ </Events>
|
|
|
+ </Component>
|
|
|
+ <Component class="javax.swing.JToggleButton" name="lowerTerrainButton">
|
|
|
+ <Properties>
|
|
|
+ <Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor">
|
|
|
+ <ComponentRef name="terrainModButtonGroup"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
|
|
+ <Image iconType="3" name="/com/jme3/gde/terraineditor/icon_terrain-down.png"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.lowerTerrainButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.lowerTerrainButton.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="actionCommand" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.lowerTerrainButton.actionCommand" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </Property>
|
|
|
+ </Properties>
|
|
|
+ <Events>
|
|
|
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="lowerTerrainButtonActionPerformed"/>
|
|
|
+ </Events>
|
|
|
+ </Component>
|
|
|
+ <Component class="javax.swing.JToggleButton" name="smoothTerrainButton">
|
|
|
+ <Properties>
|
|
|
+ <Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor">
|
|
|
+ <ComponentRef name="terrainModButtonGroup"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
|
|
+ <Image iconType="3" name="/com/jme3/gde/terraineditor/icon_terrain-smooth.png"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.smoothTerrainButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.smoothTerrainButton.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="actionCommand" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.smoothTerrainButton.actionCommand" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </Property>
|
|
|
+ </Properties>
|
|
|
+ <Events>
|
|
|
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="smoothTerrainButtonActionPerformed"/>
|
|
|
+ </Events>
|
|
|
+ </Component>
|
|
|
+ <Component class="javax.swing.JToggleButton" name="roughTerrainButton">
|
|
|
+ <Properties>
|
|
|
+ <Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor">
|
|
|
+ <ComponentRef name="terrainModButtonGroup"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
|
|
+ <Image iconType="3" name="/com/jme3/gde/terraineditor/icon_terrain-rough.png"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.roughTerrainButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.roughTerrainButton.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="actionCommand" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.roughTerrainButton.actionCommand" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </Property>
|
|
|
+ </Properties>
|
|
|
+ <Events>
|
|
|
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="roughTerrainButtonActionPerformed"/>
|
|
|
+ </Events>
|
|
|
+ </Component>
|
|
|
+ <Component class="javax.swing.JToggleButton" name="levelTerrainButton">
|
|
|
+ <Properties>
|
|
|
+ <Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor">
|
|
|
+ <ComponentRef name="terrainModButtonGroup"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
|
|
+ <Image iconType="3" name="/com/jme3/gde/terraineditor/icon_terrain-level.png"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.levelTerrainButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.levelTerrainButton.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="focusable" type="boolean" value="false"/>
|
|
|
+ <Property name="horizontalTextPosition" type="int" value="0"/>
|
|
|
+ <Property name="verticalTextPosition" type="int" value="3"/>
|
|
|
+ </Properties>
|
|
|
+ <Events>
|
|
|
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="levelTerrainButtonActionPerformed"/>
|
|
|
+ </Events>
|
|
|
+ </Component>
|
|
|
+ <Component class="javax.swing.JToolBar$Separator" name="jSeparator2">
|
|
|
+ </Component>
|
|
|
+ <Component class="javax.swing.JButton" name="addTextureButton">
|
|
|
+ <Properties>
|
|
|
+ <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
|
|
+ <Image iconType="3" name="/com/jme3/gde/terraineditor/icon_terrain-add-texture.png"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.addTextureButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.addTextureButton.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="borderPainted" type="boolean" value="false"/>
|
|
|
+ </Properties>
|
|
|
+ <Events>
|
|
|
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="addTextureButtonActionPerformed"/>
|
|
|
+ </Events>
|
|
|
+ </Component>
|
|
|
+ <Component class="javax.swing.JButton" name="removeTextureButton">
|
|
|
+ <Properties>
|
|
|
+ <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
|
|
+ <Image iconType="3" name="/com/jme3/gde/terraineditor/icon_terrain-remove-texture.png"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.removeTextureButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.removeTextureButton.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="borderPainted" type="boolean" value="false"/>
|
|
|
+ </Properties>
|
|
|
+ <Events>
|
|
|
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="removeTextureButtonActionPerformed"/>
|
|
|
+ </Events>
|
|
|
+ </Component>
|
|
|
+ <Component class="javax.swing.JToggleButton" name="paintButton">
|
|
|
+ <Properties>
|
|
|
+ <Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor">
|
|
|
+ <ComponentRef name="terrainModButtonGroup"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
|
|
+ <Image iconType="3" name="/com/jme3/gde/terraineditor/icon_terrain-paint-circle.png"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.paintButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.paintButton.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="focusable" type="boolean" value="false"/>
|
|
|
+ <Property name="horizontalTextPosition" type="int" value="0"/>
|
|
|
+ <Property name="verticalTextPosition" type="int" value="3"/>
|
|
|
+ </Properties>
|
|
|
+ <Events>
|
|
|
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="paintButtonActionPerformed"/>
|
|
|
+ </Events>
|
|
|
+ </Component>
|
|
|
+ <Component class="javax.swing.JToggleButton" name="eraseButton">
|
|
|
+ <Properties>
|
|
|
+ <Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor">
|
|
|
+ <ComponentRef name="terrainModButtonGroup"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
|
|
+ <Image iconType="3" name="/com/jme3/gde/terraineditor/icon_terrain-erase-circle.png"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.eraseButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.eraseButton.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="focusable" type="boolean" value="false"/>
|
|
|
+ <Property name="horizontalTextPosition" type="int" value="0"/>
|
|
|
+ <Property name="verticalTextPosition" type="int" value="3"/>
|
|
|
+ </Properties>
|
|
|
+ <Events>
|
|
|
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="eraseButtonActionPerformed"/>
|
|
|
+ </Events>
|
|
|
+ </Component>
|
|
|
+ <Component class="javax.swing.JToolBar$Separator" name="jSeparator3">
|
|
|
+ </Component>
|
|
|
+ <Component class="javax.swing.JLabel" name="radiusLabel">
|
|
|
<Properties>
|
|
|
- <Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
|
|
|
- <Dimension value="[32767, 300]"/>
|
|
|
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.radiusLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
</Property>
|
|
|
</Properties>
|
|
|
+ </Component>
|
|
|
+ <Component class="javax.swing.JSlider" name="radiusSlider">
|
|
|
+ <Properties>
|
|
|
+ <Property name="majorTickSpacing" type="int" value="5"/>
|
|
|
+ <Property name="maximum" type="int" value="20"/>
|
|
|
+ <Property name="minorTickSpacing" type="int" value="1"/>
|
|
|
+ <Property name="paintTicks" type="boolean" value="true"/>
|
|
|
+ <Property name="snapToTicks" type="boolean" value="true"/>
|
|
|
+ <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.radiusSlider.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="value" type="int" value="5"/>
|
|
|
+ </Properties>
|
|
|
+ <Events>
|
|
|
+ <EventHandler event="stateChanged" listener="javax.swing.event.ChangeListener" parameters="javax.swing.event.ChangeEvent" handler="radiusSliderStateChanged"/>
|
|
|
+ </Events>
|
|
|
+ </Component>
|
|
|
+ <Component class="javax.swing.JLabel" name="heightLabel">
|
|
|
+ <Properties>
|
|
|
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.heightLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </Property>
|
|
|
+ </Properties>
|
|
|
+ </Component>
|
|
|
+ <Component class="javax.swing.JSlider" name="heightSlider">
|
|
|
+ <Properties>
|
|
|
+ <Property name="majorTickSpacing" type="int" value="20"/>
|
|
|
+ <Property name="maximum" type="int" value="200"/>
|
|
|
+ <Property name="paintTicks" type="boolean" value="true"/>
|
|
|
+ </Properties>
|
|
|
+ <Events>
|
|
|
+ <EventHandler event="stateChanged" listener="javax.swing.event.ChangeListener" parameters="javax.swing.event.ChangeEvent" handler="heightSliderStateChanged"/>
|
|
|
+ </Events>
|
|
|
+ </Component>
|
|
|
+ <Container class="javax.swing.JPanel" name="jPanel3">
|
|
|
|
|
|
<Layout>
|
|
|
<DimensionLayout dim="0">
|
|
|
<Group type="103" groupAlignment="0" attributes="0">
|
|
|
- <Group type="102" attributes="0">
|
|
|
- <Component id="toolSettingsPanel" min="-2" pref="170" max="-2" attributes="0"/>
|
|
|
- <EmptySpace max="-2" attributes="0"/>
|
|
|
- <Component id="paintingPanel" max="32767" attributes="0"/>
|
|
|
- <EmptySpace max="-2" attributes="0"/>
|
|
|
- <Group type="103" groupAlignment="0" attributes="0">
|
|
|
- <Component id="jPanel2" max="32767" attributes="1"/>
|
|
|
- <Component id="terrainOpsPanel" alignment="0" min="-2" max="-2" attributes="1"/>
|
|
|
- </Group>
|
|
|
- <EmptySpace min="-2" pref="20" max="-2" attributes="0"/>
|
|
|
- <Component id="hintPanel" max="32767" attributes="0"/>
|
|
|
- </Group>
|
|
|
- <Component id="jToolBar1" alignment="0" pref="901" max="32767" attributes="0"/>
|
|
|
+ <EmptySpace min="0" pref="1" max="32767" attributes="0"/>
|
|
|
</Group>
|
|
|
</DimensionLayout>
|
|
|
<DimensionLayout dim="1">
|
|
|
<Group type="103" groupAlignment="0" attributes="0">
|
|
|
- <Group type="102" alignment="1" attributes="0">
|
|
|
- <Component id="jToolBar1" min="-2" pref="27" max="-2" attributes="0"/>
|
|
|
- <EmptySpace max="-2" attributes="0"/>
|
|
|
- <Group type="103" groupAlignment="0" attributes="0">
|
|
|
- <Component id="hintPanel" max="32767" attributes="1"/>
|
|
|
- <Group type="102" alignment="0" attributes="0">
|
|
|
- <Component id="terrainOpsPanel" min="-2" max="-2" attributes="1"/>
|
|
|
- <EmptySpace max="-2" attributes="0"/>
|
|
|
- <Component id="jPanel2" max="32767" attributes="0"/>
|
|
|
- </Group>
|
|
|
- <Component id="paintingPanel" alignment="0" max="32767" attributes="1"/>
|
|
|
- <Component id="toolSettingsPanel" alignment="0" pref="285" max="32767" attributes="1"/>
|
|
|
- </Group>
|
|
|
- <EmptySpace min="-2" pref="148" max="-2" attributes="0"/>
|
|
|
- </Group>
|
|
|
+ <EmptySpace min="0" pref="23" max="32767" attributes="0"/>
|
|
|
</Group>
|
|
|
</DimensionLayout>
|
|
|
</Layout>
|
|
|
+ </Container>
|
|
|
+ </SubComponents>
|
|
|
+ </Container>
|
|
|
+ <Container class="javax.swing.JPanel" name="toolSettingsPanel">
|
|
|
+ <Properties>
|
|
|
+ <Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
|
|
|
+ <Color blue="cc" green="cc" red="cc" type="rgb"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
|
|
|
+ <Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo">
|
|
|
+ <TitledBorder title="Tool Settings">
|
|
|
+ <ResourceString PropertyName="titleX" bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.toolSettingsPanel.border.title" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </TitledBorder>
|
|
|
+ </Border>
|
|
|
+ </Property>
|
|
|
+ </Properties>
|
|
|
+
|
|
|
+ <Layout class="org.netbeans.modules.form.compat2.layouts.DesignFlowLayout">
|
|
|
+ <Property name="horizontalGap" type="int" value="0"/>
|
|
|
+ <Property name="verticalGap" type="int" value="0"/>
|
|
|
+ </Layout>
|
|
|
+ <SubComponents>
|
|
|
+ <Container class="javax.swing.JPanel" name="fractalBrushPanel">
|
|
|
+ <Properties>
|
|
|
+ <Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
|
|
|
+ <Color blue="cc" green="cc" red="cc" type="rgb"/>
|
|
|
+ </Property>
|
|
|
+ </Properties>
|
|
|
+
|
|
|
+ <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridLayout">
|
|
|
+ <Property name="columns" type="int" value="2"/>
|
|
|
+ <Property name="rows" type="int" value="3"/>
|
|
|
+ </Layout>
|
|
|
<SubComponents>
|
|
|
- <Container class="javax.swing.JPanel" name="hintPanel">
|
|
|
+ <Component class="javax.swing.JLabel" name="jLabel3">
|
|
|
<Properties>
|
|
|
- <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
|
|
|
- <Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo">
|
|
|
- <TitledBorder title="Hints">
|
|
|
- <ResourceString PropertyName="titleX" bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.hintPanel.border.title" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </TitledBorder>
|
|
|
- </Border>
|
|
|
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.jLabel3.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.jLabel3.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
</Property>
|
|
|
</Properties>
|
|
|
-
|
|
|
- <Layout>
|
|
|
- <DimensionLayout dim="0">
|
|
|
- <Group type="103" groupAlignment="0" attributes="0">
|
|
|
- <Component id="jScrollPane1" alignment="0" pref="147" max="32767" attributes="0"/>
|
|
|
- </Group>
|
|
|
- </DimensionLayout>
|
|
|
- <DimensionLayout dim="1">
|
|
|
- <Group type="103" groupAlignment="0" attributes="0">
|
|
|
- <Component id="jScrollPane1" alignment="0" pref="258" max="32767" attributes="0"/>
|
|
|
- </Group>
|
|
|
- </DimensionLayout>
|
|
|
- </Layout>
|
|
|
- <SubComponents>
|
|
|
- <Container class="javax.swing.JScrollPane" name="jScrollPane1">
|
|
|
- <AuxValues>
|
|
|
- <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
|
|
|
- </AuxValues>
|
|
|
-
|
|
|
- <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
|
|
|
- <SubComponents>
|
|
|
- <Component class="javax.swing.JTextArea" name="hintTextArea">
|
|
|
- <Properties>
|
|
|
- <Property name="columns" type="int" value="20"/>
|
|
|
- <Property name="editable" type="boolean" value="false"/>
|
|
|
- <Property name="lineWrap" type="boolean" value="true"/>
|
|
|
- <Property name="rows" type="int" value="2"/>
|
|
|
- <Property name="tabSize" type="int" value="4"/>
|
|
|
- <Property name="wrapStyleWord" type="boolean" value="true"/>
|
|
|
- <Property name="focusable" type="boolean" value="false"/>
|
|
|
- <Property name="requestFocusEnabled" type="boolean" value="false"/>
|
|
|
- </Properties>
|
|
|
- </Component>
|
|
|
- </SubComponents>
|
|
|
- </Container>
|
|
|
- </SubComponents>
|
|
|
- </Container>
|
|
|
- <Container class="javax.swing.JPanel" name="toolSettingsPanel">
|
|
|
+ </Component>
|
|
|
+ <Component class="javax.swing.JTextField" name="lacunarityField">
|
|
|
<Properties>
|
|
|
- <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
|
|
|
- <Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo">
|
|
|
- <TitledBorder title="Tool Settings">
|
|
|
- <ResourceString PropertyName="titleX" bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.toolSettingsPanel.border.title" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </TitledBorder>
|
|
|
- </Border>
|
|
|
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.lacunarityField.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="inputVerifier" type="javax.swing.InputVerifier" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
|
|
|
+ <Connection code="new NumberInputVerifier()" type="code"/>
|
|
|
</Property>
|
|
|
</Properties>
|
|
|
-
|
|
|
- <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBoxLayout">
|
|
|
- <Property name="axis" type="int" value="3"/>
|
|
|
- </Layout>
|
|
|
- <SubComponents>
|
|
|
- <Component class="javax.swing.JLabel" name="radiusLabel">
|
|
|
- <Properties>
|
|
|
- <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.radiusLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- </Properties>
|
|
|
- </Component>
|
|
|
- <Component class="javax.swing.JSlider" name="radiusSlider">
|
|
|
- <Properties>
|
|
|
- <Property name="majorTickSpacing" type="int" value="5"/>
|
|
|
- <Property name="maximum" type="int" value="20"/>
|
|
|
- <Property name="minorTickSpacing" type="int" value="1"/>
|
|
|
- <Property name="paintTicks" type="boolean" value="true"/>
|
|
|
- <Property name="snapToTicks" type="boolean" value="true"/>
|
|
|
- <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.radiusSlider.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- <Property name="value" type="int" value="5"/>
|
|
|
- </Properties>
|
|
|
- <Events>
|
|
|
- <EventHandler event="stateChanged" listener="javax.swing.event.ChangeListener" parameters="javax.swing.event.ChangeEvent" handler="radiusSliderStateChanged"/>
|
|
|
- </Events>
|
|
|
- </Component>
|
|
|
- <Component class="javax.swing.JLabel" name="heightLabel">
|
|
|
- <Properties>
|
|
|
- <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.heightLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- </Properties>
|
|
|
- </Component>
|
|
|
- <Component class="javax.swing.JSlider" name="heightSlider">
|
|
|
- <Properties>
|
|
|
- <Property name="majorTickSpacing" type="int" value="20"/>
|
|
|
- <Property name="maximum" type="int" value="200"/>
|
|
|
- <Property name="paintTicks" type="boolean" value="true"/>
|
|
|
- </Properties>
|
|
|
- <Events>
|
|
|
- <EventHandler event="stateChanged" listener="javax.swing.event.ChangeListener" parameters="javax.swing.event.ChangeEvent" handler="heightSliderStateChanged"/>
|
|
|
- </Events>
|
|
|
- </Component>
|
|
|
- <Container class="javax.swing.JScrollPane" name="brushVariablesScrollPane">
|
|
|
- <Properties>
|
|
|
- <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
|
|
|
- <Dimension value="[158, 253]"/>
|
|
|
- </Property>
|
|
|
- </Properties>
|
|
|
-
|
|
|
- <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
|
|
|
- <SubComponents>
|
|
|
- <Container class="javax.swing.JPanel" name="fractalBrushPanel">
|
|
|
-
|
|
|
- <Layout>
|
|
|
- <DimensionLayout dim="0">
|
|
|
- <Group type="103" groupAlignment="0" attributes="0">
|
|
|
- <Group type="102" attributes="0">
|
|
|
- <EmptySpace max="-2" attributes="0"/>
|
|
|
- <Group type="103" groupAlignment="0" attributes="0">
|
|
|
- <Component id="jLabel3" alignment="0" min="-2" max="-2" attributes="1"/>
|
|
|
- <Group type="102" alignment="0" attributes="0">
|
|
|
- <Group type="103" groupAlignment="0" attributes="0">
|
|
|
- <Component id="scaleLabel" alignment="0" min="-2" max="-2" attributes="0"/>
|
|
|
- <Component id="jLabel4" alignment="0" min="-2" max="-2" attributes="0"/>
|
|
|
- </Group>
|
|
|
- <EmptySpace type="unrelated" max="-2" attributes="0"/>
|
|
|
- <Group type="103" groupAlignment="0" max="-2" attributes="0">
|
|
|
- <Component id="scaleField" max="32767" attributes="1"/>
|
|
|
- <Component id="octavesField" alignment="0" max="32767" attributes="1"/>
|
|
|
- <Component id="lacunarityField" alignment="0" pref="36" max="32767" attributes="1"/>
|
|
|
- </Group>
|
|
|
- <EmptySpace max="32767" attributes="0"/>
|
|
|
- </Group>
|
|
|
- </Group>
|
|
|
- <EmptySpace min="67" pref="67" max="-2" attributes="0"/>
|
|
|
- </Group>
|
|
|
- </Group>
|
|
|
- </DimensionLayout>
|
|
|
- <DimensionLayout dim="1">
|
|
|
- <Group type="103" groupAlignment="0" attributes="0">
|
|
|
- <Group type="102" alignment="0" attributes="0">
|
|
|
- <EmptySpace max="-2" attributes="0"/>
|
|
|
- <Group type="103" groupAlignment="3" attributes="0">
|
|
|
- <Component id="jLabel3" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
|
- <Component id="lacunarityField" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
|
- </Group>
|
|
|
- <EmptySpace max="-2" attributes="0"/>
|
|
|
- <Group type="103" groupAlignment="3" attributes="0">
|
|
|
- <Component id="jLabel4" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
|
- <Component id="octavesField" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
|
- </Group>
|
|
|
- <EmptySpace max="-2" attributes="0"/>
|
|
|
- <Group type="103" groupAlignment="3" attributes="0">
|
|
|
- <Component id="scaleLabel" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
|
- <Component id="scaleField" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
|
- </Group>
|
|
|
- <EmptySpace pref="96" max="32767" attributes="0"/>
|
|
|
- </Group>
|
|
|
- </Group>
|
|
|
- </DimensionLayout>
|
|
|
- </Layout>
|
|
|
- <SubComponents>
|
|
|
- <Component class="javax.swing.JLabel" name="jLabel3">
|
|
|
- <Properties>
|
|
|
- <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.jLabel3.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.jLabel3.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- </Properties>
|
|
|
- </Component>
|
|
|
- <Component class="javax.swing.JTextField" name="lacunarityField">
|
|
|
- <Properties>
|
|
|
- <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.lacunarityField.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- <Property name="inputVerifier" type="javax.swing.InputVerifier" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
|
|
|
- <Connection code="new NumberInputVerifier()" type="code"/>
|
|
|
- </Property>
|
|
|
- </Properties>
|
|
|
- <Events>
|
|
|
- <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="lacunarityFieldActionPerformed"/>
|
|
|
- <EventHandler event="keyTyped" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="lacunarityFieldKeyTyped"/>
|
|
|
- </Events>
|
|
|
- </Component>
|
|
|
- <Component class="javax.swing.JLabel" name="jLabel4">
|
|
|
- <Properties>
|
|
|
- <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.jLabel4.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.jLabel4.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- </Properties>
|
|
|
- </Component>
|
|
|
- <Component class="javax.swing.JTextField" name="octavesField">
|
|
|
- <Properties>
|
|
|
- <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.octavesField.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- <Property name="inputVerifier" type="javax.swing.InputVerifier" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
|
|
|
- <Connection code="new NumberInputVerifier()" type="code"/>
|
|
|
- </Property>
|
|
|
- </Properties>
|
|
|
- <Events>
|
|
|
- <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="octavesFieldActionPerformed"/>
|
|
|
- <EventHandler event="keyTyped" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="octavesFieldKeyTyped"/>
|
|
|
- </Events>
|
|
|
- </Component>
|
|
|
- <Component class="javax.swing.JLabel" name="scaleLabel">
|
|
|
- <Properties>
|
|
|
- <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.scaleLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.scaleLabel.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- </Properties>
|
|
|
- </Component>
|
|
|
- <Component class="javax.swing.JTextField" name="scaleField">
|
|
|
- <Properties>
|
|
|
- <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.scaleField.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- <Property name="inputVerifier" type="javax.swing.InputVerifier" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
|
|
|
- <Connection code="new NumberInputVerifier()" type="code"/>
|
|
|
- </Property>
|
|
|
- </Properties>
|
|
|
- <Events>
|
|
|
- <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="scaleFieldActionPerformed"/>
|
|
|
- <EventHandler event="keyTyped" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="scaleFieldKeyTyped"/>
|
|
|
- </Events>
|
|
|
- </Component>
|
|
|
- </SubComponents>
|
|
|
- </Container>
|
|
|
- </SubComponents>
|
|
|
- </Container>
|
|
|
- </SubComponents>
|
|
|
- </Container>
|
|
|
- <Container class="javax.swing.JPanel" name="paintingPanel">
|
|
|
+ <Events>
|
|
|
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="lacunarityFieldActionPerformed"/>
|
|
|
+ <EventHandler event="keyTyped" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="lacunarityFieldKeyTyped"/>
|
|
|
+ </Events>
|
|
|
+ </Component>
|
|
|
+ <Component class="javax.swing.JLabel" name="jLabel4">
|
|
|
<Properties>
|
|
|
- <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
|
|
|
- <Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo">
|
|
|
- <TitledBorder title="Painting">
|
|
|
- <ResourceString PropertyName="titleX" bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.paintingPanel.border.title" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </TitledBorder>
|
|
|
- </Border>
|
|
|
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.jLabel4.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.jLabel4.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
</Property>
|
|
|
</Properties>
|
|
|
-
|
|
|
- <Layout>
|
|
|
- <DimensionLayout dim="0">
|
|
|
- <Group type="103" groupAlignment="0" attributes="0">
|
|
|
- <Group type="102" attributes="0">
|
|
|
- <Group type="103" groupAlignment="0" attributes="0">
|
|
|
- <Group type="102" alignment="1" attributes="0">
|
|
|
- <Component id="jScrollPane2" pref="303" max="32767" attributes="0"/>
|
|
|
- <EmptySpace type="unrelated" max="-2" attributes="0"/>
|
|
|
- <Group type="103" groupAlignment="1" max="-2" attributes="0">
|
|
|
- <Component id="removeTextureButton" min="0" pref="0" max="32767" attributes="1"/>
|
|
|
- <Component id="addTextureButton" alignment="1" pref="37" max="32767" attributes="1"/>
|
|
|
- </Group>
|
|
|
- </Group>
|
|
|
- <Group type="102" alignment="0" attributes="0">
|
|
|
- <Component id="remainingTexTitleLabel" min="-2" max="-2" attributes="0"/>
|
|
|
- <EmptySpace type="unrelated" max="-2" attributes="0"/>
|
|
|
- <Component id="remainingTexturesLabel" min="-2" pref="24" max="-2" attributes="0"/>
|
|
|
- <EmptySpace pref="106" max="32767" attributes="0"/>
|
|
|
- <Component id="triPlanarCheckBox" min="-2" max="-2" attributes="0"/>
|
|
|
- </Group>
|
|
|
- </Group>
|
|
|
- <EmptySpace max="-2" attributes="0"/>
|
|
|
- </Group>
|
|
|
- </Group>
|
|
|
- </DimensionLayout>
|
|
|
- <DimensionLayout dim="1">
|
|
|
- <Group type="103" groupAlignment="0" attributes="0">
|
|
|
- <Group type="102" attributes="0">
|
|
|
- <Group type="103" groupAlignment="0" attributes="0">
|
|
|
- <Group type="102" attributes="0">
|
|
|
- <Component id="addTextureButton" min="-2" max="-2" attributes="0"/>
|
|
|
- <EmptySpace max="-2" attributes="0"/>
|
|
|
- <Component id="removeTextureButton" min="-2" max="-2" attributes="0"/>
|
|
|
- </Group>
|
|
|
- <Component id="jScrollPane2" pref="233" max="32767" attributes="0"/>
|
|
|
- </Group>
|
|
|
- <EmptySpace max="-2" attributes="0"/>
|
|
|
- <Group type="103" groupAlignment="3" attributes="0">
|
|
|
- <Component id="remainingTexTitleLabel" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
|
- <Component id="remainingTexturesLabel" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
|
- <Component id="triPlanarCheckBox" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
|
- </Group>
|
|
|
- </Group>
|
|
|
- </Group>
|
|
|
- </DimensionLayout>
|
|
|
- </Layout>
|
|
|
- <SubComponents>
|
|
|
- <Container class="javax.swing.JScrollPane" name="jScrollPane2">
|
|
|
- <AuxValues>
|
|
|
- <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
|
|
|
- </AuxValues>
|
|
|
-
|
|
|
- <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
|
|
|
- <SubComponents>
|
|
|
- <Component class="javax.swing.JTable" name="textureTable">
|
|
|
- <Properties>
|
|
|
- <Property name="model" type="javax.swing.table.TableModel" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
|
|
|
- <Connection code="new TextureTableModel()" type="code"/>
|
|
|
- </Property>
|
|
|
- <Property name="autoResizeMode" type="int" value="0"/>
|
|
|
- <Property name="cellEditor" type="javax.swing.table.TableCellEditor" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
|
|
|
- <Connection code="new TextureCellRendererEditor()" type="code"/>
|
|
|
- </Property>
|
|
|
- <Property name="columnModel" type="javax.swing.table.TableColumnModel" editor="org.netbeans.modules.form.editors2.TableColumnModelEditor">
|
|
|
- <TableColumnModel selectionModel="1"/>
|
|
|
- </Property>
|
|
|
- <Property name="columnSelectionAllowed" type="boolean" value="true"/>
|
|
|
- <Property name="selectionModel" type="javax.swing.ListSelectionModel" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
|
|
|
- <Connection code="new TableSelectionModel()" type="code"/>
|
|
|
- </Property>
|
|
|
- <Property name="tableHeader" type="javax.swing.table.JTableHeader" editor="org.netbeans.modules.form.editors2.JTableHeaderEditor">
|
|
|
- <TableHeader reorderingAllowed="false" resizingAllowed="true"/>
|
|
|
- </Property>
|
|
|
- </Properties>
|
|
|
- </Component>
|
|
|
- </SubComponents>
|
|
|
- </Container>
|
|
|
- <Component class="javax.swing.JLabel" name="remainingTexTitleLabel">
|
|
|
- <Properties>
|
|
|
- <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.remainingTexTitleLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- </Properties>
|
|
|
- </Component>
|
|
|
- <Component class="javax.swing.JLabel" name="remainingTexturesLabel">
|
|
|
- <Properties>
|
|
|
- <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.remainingTexturesLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- </Properties>
|
|
|
- </Component>
|
|
|
- <Component class="javax.swing.JButton" name="addTextureButton">
|
|
|
- <Properties>
|
|
|
- <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
|
|
- <Image iconType="3" name="/com/jme3/gde/terraineditor/icon_terrain-add-texture.png"/>
|
|
|
- </Property>
|
|
|
- <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.addTextureButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.addTextureButton.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- </Properties>
|
|
|
- <Events>
|
|
|
- <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="addTextureButtonActionPerformed"/>
|
|
|
- </Events>
|
|
|
- </Component>
|
|
|
- <Component class="javax.swing.JButton" name="removeTextureButton">
|
|
|
- <Properties>
|
|
|
- <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
|
|
- <Image iconType="3" name="/com/jme3/gde/terraineditor/icon_terrain-remove-texture.png"/>
|
|
|
- </Property>
|
|
|
- <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.removeTextureButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.removeTextureButton.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- </Properties>
|
|
|
- <Events>
|
|
|
- <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="removeTextureButtonActionPerformed"/>
|
|
|
- </Events>
|
|
|
- </Component>
|
|
|
- <Component class="javax.swing.JCheckBox" name="triPlanarCheckBox">
|
|
|
- <Properties>
|
|
|
- <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.triPlanarCheckBox.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.triPlanarCheckBox.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- </Properties>
|
|
|
- <Events>
|
|
|
- <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="triPlanarCheckBoxActionPerformed"/>
|
|
|
- </Events>
|
|
|
- </Component>
|
|
|
- </SubComponents>
|
|
|
- </Container>
|
|
|
- <Container class="javax.swing.JPanel" name="terrainOpsPanel">
|
|
|
+ </Component>
|
|
|
+ <Component class="javax.swing.JTextField" name="octavesField">
|
|
|
<Properties>
|
|
|
- <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
|
|
|
- <Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo">
|
|
|
- <TitledBorder title="Terrain Operations">
|
|
|
- <ResourceString PropertyName="titleX" bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.terrainOpsPanel.border.title" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </TitledBorder>
|
|
|
- </Border>
|
|
|
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.octavesField.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="inputVerifier" type="javax.swing.InputVerifier" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
|
|
|
+ <Connection code="new NumberInputVerifier()" type="code"/>
|
|
|
</Property>
|
|
|
</Properties>
|
|
|
-
|
|
|
- <Layout>
|
|
|
- <DimensionLayout dim="0">
|
|
|
- <Group type="103" groupAlignment="0" attributes="0">
|
|
|
- <Group type="102" attributes="0">
|
|
|
- <Group type="103" groupAlignment="0" attributes="0">
|
|
|
- <Component id="genEntropiesButton" alignment="0" min="-2" max="-2" attributes="0"/>
|
|
|
- <Component id="jButton1" alignment="0" min="-2" max="-2" attributes="0"/>
|
|
|
- </Group>
|
|
|
- <EmptySpace pref="31" max="32767" attributes="0"/>
|
|
|
- </Group>
|
|
|
- </Group>
|
|
|
- </DimensionLayout>
|
|
|
- <DimensionLayout dim="1">
|
|
|
- <Group type="103" groupAlignment="0" attributes="0">
|
|
|
- <Group type="102" alignment="0" attributes="0">
|
|
|
- <Component id="genEntropiesButton" min="-2" max="-2" attributes="1"/>
|
|
|
- <EmptySpace max="-2" attributes="0"/>
|
|
|
- <Component id="jButton1" min="-2" max="-2" attributes="0"/>
|
|
|
- <EmptySpace max="32767" attributes="0"/>
|
|
|
- </Group>
|
|
|
- </Group>
|
|
|
- </DimensionLayout>
|
|
|
- </Layout>
|
|
|
- <SubComponents>
|
|
|
- <Component class="javax.swing.JButton" name="genEntropiesButton">
|
|
|
- <Properties>
|
|
|
- <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.genEntropiesButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.genEntropiesButton.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- </Properties>
|
|
|
- <Events>
|
|
|
- <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="genEntropiesButtonActionPerformed"/>
|
|
|
- </Events>
|
|
|
- </Component>
|
|
|
- <Component class="javax.swing.JButton" name="jButton1">
|
|
|
- <Properties>
|
|
|
- <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.jButton1.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- </Properties>
|
|
|
- <Events>
|
|
|
- <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton1ActionPerformed"/>
|
|
|
- </Events>
|
|
|
- </Component>
|
|
|
- </SubComponents>
|
|
|
- </Container>
|
|
|
- <Container class="javax.swing.JToolBar" name="jToolBar1">
|
|
|
+ <Events>
|
|
|
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="octavesFieldActionPerformed"/>
|
|
|
+ <EventHandler event="keyTyped" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="octavesFieldKeyTyped"/>
|
|
|
+ </Events>
|
|
|
+ </Component>
|
|
|
+ <Component class="javax.swing.JLabel" name="scaleLabel">
|
|
|
<Properties>
|
|
|
- <Property name="floatable" type="boolean" value="false"/>
|
|
|
- <Property name="rollover" type="boolean" value="true"/>
|
|
|
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.scaleLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.scaleLabel.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </Property>
|
|
|
</Properties>
|
|
|
-
|
|
|
- <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBoxLayout"/>
|
|
|
- <SubComponents>
|
|
|
- <Component class="javax.swing.JButton" name="createTerrainButton">
|
|
|
- <Properties>
|
|
|
- <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
|
|
- <Image iconType="3" name="/com/jme3/gde/terraineditor/icon_terrain-new.png"/>
|
|
|
- </Property>
|
|
|
- <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.createTerrainButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.createTerrainButton.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- </Properties>
|
|
|
- <Events>
|
|
|
- <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="createTerrainButtonActionPerformed"/>
|
|
|
- </Events>
|
|
|
- </Component>
|
|
|
- <Component class="javax.swing.JToolBar$Separator" name="jSeparator1">
|
|
|
- </Component>
|
|
|
- <Component class="javax.swing.JToggleButton" name="raiseTerrainButton">
|
|
|
- <Properties>
|
|
|
- <Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor">
|
|
|
- <ComponentRef name="terrainModButtonGroup"/>
|
|
|
- </Property>
|
|
|
- <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
|
|
- <Image iconType="3" name="/com/jme3/gde/terraineditor/icon_terrain-up.png"/>
|
|
|
- </Property>
|
|
|
- <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.raiseTerrainButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.raiseTerrainButton.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- <Property name="actionCommand" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.raiseTerrainButton.actionCommand" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- </Properties>
|
|
|
- <Events>
|
|
|
- <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="raiseTerrainButtonActionPerformed"/>
|
|
|
- </Events>
|
|
|
- </Component>
|
|
|
- <Component class="javax.swing.JToggleButton" name="lowerTerrainButton">
|
|
|
- <Properties>
|
|
|
- <Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor">
|
|
|
- <ComponentRef name="terrainModButtonGroup"/>
|
|
|
- </Property>
|
|
|
- <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
|
|
- <Image iconType="3" name="/com/jme3/gde/terraineditor/icon_terrain-down.png"/>
|
|
|
- </Property>
|
|
|
- <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.lowerTerrainButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.lowerTerrainButton.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- <Property name="actionCommand" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.lowerTerrainButton.actionCommand" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- </Properties>
|
|
|
- <Events>
|
|
|
- <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="lowerTerrainButtonActionPerformed"/>
|
|
|
- </Events>
|
|
|
- </Component>
|
|
|
- <Component class="javax.swing.JToggleButton" name="smoothTerrainButton">
|
|
|
- <Properties>
|
|
|
- <Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor">
|
|
|
- <ComponentRef name="terrainModButtonGroup"/>
|
|
|
- </Property>
|
|
|
- <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
|
|
- <Image iconType="3" name="/com/jme3/gde/terraineditor/icon_terrain-smooth.png"/>
|
|
|
- </Property>
|
|
|
- <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.smoothTerrainButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.smoothTerrainButton.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- <Property name="actionCommand" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.smoothTerrainButton.actionCommand" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- </Properties>
|
|
|
- <Events>
|
|
|
- <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="smoothTerrainButtonActionPerformed"/>
|
|
|
- </Events>
|
|
|
- </Component>
|
|
|
- <Component class="javax.swing.JToggleButton" name="roughTerrainButton">
|
|
|
- <Properties>
|
|
|
- <Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor">
|
|
|
- <ComponentRef name="terrainModButtonGroup"/>
|
|
|
- </Property>
|
|
|
- <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
|
|
- <Image iconType="3" name="/com/jme3/gde/terraineditor/icon_terrain-rough.png"/>
|
|
|
- </Property>
|
|
|
- <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.roughTerrainButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.roughTerrainButton.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- <Property name="actionCommand" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.roughTerrainButton.actionCommand" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- </Properties>
|
|
|
- <Events>
|
|
|
- <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="roughTerrainButtonActionPerformed"/>
|
|
|
- </Events>
|
|
|
- </Component>
|
|
|
- <Component class="javax.swing.JToggleButton" name="levelTerrainButton">
|
|
|
- <Properties>
|
|
|
- <Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor">
|
|
|
- <ComponentRef name="terrainModButtonGroup"/>
|
|
|
- </Property>
|
|
|
- <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
|
|
- <Image iconType="3" name="/com/jme3/gde/terraineditor/icon_terrain-level.png"/>
|
|
|
- </Property>
|
|
|
- <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.levelTerrainButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.levelTerrainButton.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- <Property name="focusable" type="boolean" value="false"/>
|
|
|
- <Property name="horizontalTextPosition" type="int" value="0"/>
|
|
|
- <Property name="verticalTextPosition" type="int" value="3"/>
|
|
|
- </Properties>
|
|
|
- <Events>
|
|
|
- <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="levelTerrainButtonActionPerformed"/>
|
|
|
- </Events>
|
|
|
- </Component>
|
|
|
- <Component class="javax.swing.JToolBar$Separator" name="jSeparator2">
|
|
|
- </Component>
|
|
|
- <Component class="javax.swing.JToggleButton" name="paintButton">
|
|
|
- <Properties>
|
|
|
- <Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor">
|
|
|
- <ComponentRef name="terrainModButtonGroup"/>
|
|
|
- </Property>
|
|
|
- <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
|
|
- <Image iconType="3" name="/com/jme3/gde/terraineditor/icon_terrain-paint-circle.png"/>
|
|
|
- </Property>
|
|
|
- <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.paintButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.paintButton.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- <Property name="focusable" type="boolean" value="false"/>
|
|
|
- <Property name="horizontalTextPosition" type="int" value="0"/>
|
|
|
- <Property name="verticalTextPosition" type="int" value="3"/>
|
|
|
- </Properties>
|
|
|
- <Events>
|
|
|
- <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="paintButtonActionPerformed"/>
|
|
|
- </Events>
|
|
|
- </Component>
|
|
|
- <Component class="javax.swing.JToggleButton" name="eraseButton">
|
|
|
- <Properties>
|
|
|
- <Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor">
|
|
|
- <ComponentRef name="terrainModButtonGroup"/>
|
|
|
- </Property>
|
|
|
- <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
|
|
- <Image iconType="3" name="/com/jme3/gde/terraineditor/icon_terrain-erase-circle.png"/>
|
|
|
- </Property>
|
|
|
- <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.eraseButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.eraseButton.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- <Property name="focusable" type="boolean" value="false"/>
|
|
|
- <Property name="horizontalTextPosition" type="int" value="0"/>
|
|
|
- <Property name="verticalTextPosition" type="int" value="3"/>
|
|
|
- </Properties>
|
|
|
- <Events>
|
|
|
- <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="eraseButtonActionPerformed"/>
|
|
|
- </Events>
|
|
|
- </Component>
|
|
|
- </SubComponents>
|
|
|
- </Container>
|
|
|
- <Container class="javax.swing.JPanel" name="jPanel2">
|
|
|
+ </Component>
|
|
|
+ <Component class="javax.swing.JTextField" name="scaleField">
|
|
|
<Properties>
|
|
|
- <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
|
|
|
- <Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo">
|
|
|
- <TitledBorder title="Material">
|
|
|
- <ResourceString PropertyName="titleX" bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.jPanel2.border.title" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </TitledBorder>
|
|
|
- </Border>
|
|
|
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.scaleField.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="inputVerifier" type="javax.swing.InputVerifier" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
|
|
|
+ <Connection code="new NumberInputVerifier()" type="code"/>
|
|
|
</Property>
|
|
|
</Properties>
|
|
|
+ <Events>
|
|
|
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="scaleFieldActionPerformed"/>
|
|
|
+ <EventHandler event="keyTyped" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="scaleFieldKeyTyped"/>
|
|
|
+ </Events>
|
|
|
+ </Component>
|
|
|
+ </SubComponents>
|
|
|
+ </Container>
|
|
|
+ </SubComponents>
|
|
|
+ </Container>
|
|
|
+ <Container class="javax.swing.JPanel" name="paintingPanel">
|
|
|
+ <Properties>
|
|
|
+ <Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
|
|
|
+ <Color blue="cc" green="cc" red="cc" type="rgb"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
|
|
|
+ <Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo">
|
|
|
+ <TitledBorder title="Painting">
|
|
|
+ <ResourceString PropertyName="titleX" bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.paintingPanel.border.title" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </TitledBorder>
|
|
|
+ </Border>
|
|
|
+ </Property>
|
|
|
+ </Properties>
|
|
|
|
|
|
- <Layout>
|
|
|
- <DimensionLayout dim="0">
|
|
|
- <Group type="103" groupAlignment="0" attributes="0">
|
|
|
- <Group type="102" attributes="0">
|
|
|
- <Group type="103" groupAlignment="0" attributes="0">
|
|
|
- <Group type="102" attributes="0">
|
|
|
- <Component id="shininessField" min="-2" pref="41" max="-2" attributes="0"/>
|
|
|
- <EmptySpace max="-2" attributes="0"/>
|
|
|
- <Component id="jLabel1" min="-2" pref="60" max="-2" attributes="0"/>
|
|
|
- </Group>
|
|
|
- <Group type="102" alignment="0" attributes="0">
|
|
|
- <EmptySpace min="-2" pref="24" max="-2" attributes="0"/>
|
|
|
- <Component id="wardIsoCheckBox" min="-2" max="-2" attributes="0"/>
|
|
|
- </Group>
|
|
|
- </Group>
|
|
|
- <EmptySpace pref="51" max="32767" attributes="0"/>
|
|
|
- </Group>
|
|
|
+ <Layout>
|
|
|
+ <DimensionLayout dim="0">
|
|
|
+ <Group type="103" groupAlignment="0" attributes="0">
|
|
|
+ <Group type="102" attributes="0">
|
|
|
+ <Component id="remainingTexTitleLabel" min="-2" max="-2" attributes="0"/>
|
|
|
+ <EmptySpace type="unrelated" max="-2" attributes="0"/>
|
|
|
+ <Component id="remainingTexturesLabel" min="-2" pref="24" max="-2" attributes="0"/>
|
|
|
+ <EmptySpace max="-2" attributes="0"/>
|
|
|
+ </Group>
|
|
|
+ <Component id="jScrollPane2" alignment="0" pref="281" max="32767" attributes="0"/>
|
|
|
+ </Group>
|
|
|
+ </DimensionLayout>
|
|
|
+ <DimensionLayout dim="1">
|
|
|
+ <Group type="103" groupAlignment="0" attributes="0">
|
|
|
+ <Group type="102" alignment="1" attributes="0">
|
|
|
+ <Component id="jScrollPane2" pref="76" max="32767" attributes="0"/>
|
|
|
+ <EmptySpace max="-2" attributes="0"/>
|
|
|
+ <Group type="103" groupAlignment="3" attributes="0">
|
|
|
+ <Component id="remainingTexTitleLabel" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
|
+ <Component id="remainingTexturesLabel" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
|
</Group>
|
|
|
- </DimensionLayout>
|
|
|
- <DimensionLayout dim="1">
|
|
|
- <Group type="103" groupAlignment="0" attributes="0">
|
|
|
- <Group type="102" alignment="0" attributes="0">
|
|
|
- <EmptySpace max="-2" attributes="0"/>
|
|
|
- <Component id="wardIsoCheckBox" min="-2" max="-2" attributes="0"/>
|
|
|
- <EmptySpace max="-2" attributes="0"/>
|
|
|
- <Group type="103" groupAlignment="3" attributes="0">
|
|
|
- <Component id="shininessField" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
|
- <Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
|
- </Group>
|
|
|
- <EmptySpace pref="110" max="32767" attributes="0"/>
|
|
|
- </Group>
|
|
|
+ </Group>
|
|
|
+ </Group>
|
|
|
+ </DimensionLayout>
|
|
|
+ </Layout>
|
|
|
+ <SubComponents>
|
|
|
+ <Container class="javax.swing.JScrollPane" name="jScrollPane2">
|
|
|
+ <AuxValues>
|
|
|
+ <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
|
|
|
+ </AuxValues>
|
|
|
+
|
|
|
+ <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
|
|
|
+ <SubComponents>
|
|
|
+ <Component class="javax.swing.JTable" name="textureTable">
|
|
|
+ <Properties>
|
|
|
+ <Property name="model" type="javax.swing.table.TableModel" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
|
|
|
+ <Connection code="new TextureTableModel()" type="code"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="autoResizeMode" type="int" value="0"/>
|
|
|
+ <Property name="cellEditor" type="javax.swing.table.TableCellEditor" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
|
|
|
+ <Connection code="new TextureCellRendererEditor()" type="code"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="columnModel" type="javax.swing.table.TableColumnModel" editor="org.netbeans.modules.form.editors2.TableColumnModelEditor">
|
|
|
+ <TableColumnModel selectionModel="1"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="columnSelectionAllowed" type="boolean" value="true"/>
|
|
|
+ <Property name="selectionModel" type="javax.swing.ListSelectionModel" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
|
|
|
+ <Connection code="new TableSelectionModel()" type="code"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="tableHeader" type="javax.swing.table.JTableHeader" editor="org.netbeans.modules.form.editors2.JTableHeaderEditor">
|
|
|
+ <TableHeader reorderingAllowed="false" resizingAllowed="true"/>
|
|
|
+ </Property>
|
|
|
+ </Properties>
|
|
|
+ </Component>
|
|
|
+ </SubComponents>
|
|
|
+ </Container>
|
|
|
+ <Component class="javax.swing.JLabel" name="remainingTexTitleLabel">
|
|
|
+ <Properties>
|
|
|
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.remainingTexTitleLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </Property>
|
|
|
+ </Properties>
|
|
|
+ </Component>
|
|
|
+ <Component class="javax.swing.JLabel" name="remainingTexturesLabel">
|
|
|
+ <Properties>
|
|
|
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.remainingTexturesLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </Property>
|
|
|
+ </Properties>
|
|
|
+ </Component>
|
|
|
+ </SubComponents>
|
|
|
+ </Container>
|
|
|
+ <Container class="javax.swing.JPanel" name="terrainOpsPanel">
|
|
|
+ <Properties>
|
|
|
+ <Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
|
|
|
+ <Color blue="cc" green="cc" red="cc" type="rgb"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
|
|
|
+ <Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo">
|
|
|
+ <TitledBorder title="Terrain Operations">
|
|
|
+ <ResourceString PropertyName="titleX" bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.terrainOpsPanel.border.title" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </TitledBorder>
|
|
|
+ </Border>
|
|
|
+ </Property>
|
|
|
+ </Properties>
|
|
|
+
|
|
|
+ <Layout>
|
|
|
+ <DimensionLayout dim="0">
|
|
|
+ <Group type="103" groupAlignment="0" attributes="0">
|
|
|
+ <Component id="genEntropiesButton" alignment="0" min="-2" max="-2" attributes="0"/>
|
|
|
+ <Component id="jButton1" alignment="0" min="-2" max="-2" attributes="0"/>
|
|
|
+ </Group>
|
|
|
+ </DimensionLayout>
|
|
|
+ <DimensionLayout dim="1">
|
|
|
+ <Group type="103" groupAlignment="0" attributes="0">
|
|
|
+ <Group type="102" alignment="0" attributes="0">
|
|
|
+ <Component id="genEntropiesButton" min="-2" max="-2" attributes="1"/>
|
|
|
+ <EmptySpace max="-2" attributes="0"/>
|
|
|
+ <Component id="jButton1" min="-2" max="-2" attributes="0"/>
|
|
|
+ <EmptySpace pref="38" max="32767" attributes="0"/>
|
|
|
+ </Group>
|
|
|
+ </Group>
|
|
|
+ </DimensionLayout>
|
|
|
+ </Layout>
|
|
|
+ <SubComponents>
|
|
|
+ <Component class="javax.swing.JButton" name="genEntropiesButton">
|
|
|
+ <Properties>
|
|
|
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.genEntropiesButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.genEntropiesButton.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </Property>
|
|
|
+ </Properties>
|
|
|
+ <Events>
|
|
|
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="genEntropiesButtonActionPerformed"/>
|
|
|
+ </Events>
|
|
|
+ </Component>
|
|
|
+ <Component class="javax.swing.JButton" name="jButton1">
|
|
|
+ <Properties>
|
|
|
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.jButton1.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </Property>
|
|
|
+ </Properties>
|
|
|
+ <Events>
|
|
|
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton1ActionPerformed"/>
|
|
|
+ </Events>
|
|
|
+ </Component>
|
|
|
+ </SubComponents>
|
|
|
+ </Container>
|
|
|
+ <Container class="javax.swing.JPanel" name="jPanel2">
|
|
|
+ <Properties>
|
|
|
+ <Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
|
|
|
+ <Color blue="cc" green="cc" red="cc" type="rgb"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
|
|
|
+ <Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo">
|
|
|
+ <TitledBorder title="Material">
|
|
|
+ <ResourceString PropertyName="titleX" bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.jPanel2.border.title" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </TitledBorder>
|
|
|
+ </Border>
|
|
|
+ </Property>
|
|
|
+ </Properties>
|
|
|
+
|
|
|
+ <Layout>
|
|
|
+ <DimensionLayout dim="0">
|
|
|
+ <Group type="103" groupAlignment="0" attributes="0">
|
|
|
+ <Component id="wardIsoCheckBox" alignment="0" pref="111" max="32767" attributes="0"/>
|
|
|
+ <Group type="102" alignment="0" attributes="0">
|
|
|
+ <Component id="shininessField" min="-2" pref="41" max="-2" attributes="0"/>
|
|
|
+ <EmptySpace max="-2" attributes="0"/>
|
|
|
+ <Component id="jLabel1" max="32767" attributes="0"/>
|
|
|
+ </Group>
|
|
|
+ <Component id="triPlanarCheckBox" alignment="0" pref="111" max="32767" attributes="0"/>
|
|
|
+ </Group>
|
|
|
+ </DimensionLayout>
|
|
|
+ <DimensionLayout dim="1">
|
|
|
+ <Group type="103" groupAlignment="0" attributes="0">
|
|
|
+ <Group type="102" alignment="0" attributes="0">
|
|
|
+ <Component id="wardIsoCheckBox" min="-2" max="-2" attributes="0"/>
|
|
|
+ <EmptySpace max="-2" attributes="0"/>
|
|
|
+ <Component id="triPlanarCheckBox" min="-2" max="-2" attributes="0"/>
|
|
|
+ <EmptySpace max="-2" attributes="0"/>
|
|
|
+ <Group type="103" groupAlignment="3" attributes="0">
|
|
|
+ <Component id="shininessField" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
|
+ <Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
|
</Group>
|
|
|
- </DimensionLayout>
|
|
|
- </Layout>
|
|
|
- <SubComponents>
|
|
|
- <Component class="javax.swing.JCheckBox" name="wardIsoCheckBox">
|
|
|
- <Properties>
|
|
|
- <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.wardIsoCheckBox.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- </Properties>
|
|
|
- <Events>
|
|
|
- <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="wardIsoCheckBoxActionPerformed"/>
|
|
|
- </Events>
|
|
|
- </Component>
|
|
|
- <Component class="javax.swing.JTextField" name="shininessField">
|
|
|
- <Properties>
|
|
|
- <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.shininessField.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.shininessField.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- <Property name="inputVerifier" type="javax.swing.InputVerifier" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
|
|
|
- <Connection code="new ShininessVerifier()" type="code"/>
|
|
|
- </Property>
|
|
|
- </Properties>
|
|
|
- <Events>
|
|
|
- <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="shininessFieldActionPerformed"/>
|
|
|
- <EventHandler event="keyTyped" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="shininessFieldKeyTyped"/>
|
|
|
- </Events>
|
|
|
- </Component>
|
|
|
- <Component class="javax.swing.JLabel" name="jLabel1">
|
|
|
- <Properties>
|
|
|
- <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
- <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.jLabel1.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
- </Property>
|
|
|
- </Properties>
|
|
|
- </Component>
|
|
|
- </SubComponents>
|
|
|
- </Container>
|
|
|
+ <EmptySpace max="-2" attributes="0"/>
|
|
|
+ </Group>
|
|
|
+ </Group>
|
|
|
+ </DimensionLayout>
|
|
|
+ </Layout>
|
|
|
+ <SubComponents>
|
|
|
+ <Component class="javax.swing.JCheckBox" name="wardIsoCheckBox">
|
|
|
+ <Properties>
|
|
|
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.wardIsoCheckBox.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </Property>
|
|
|
+ </Properties>
|
|
|
+ <Events>
|
|
|
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="wardIsoCheckBoxActionPerformed"/>
|
|
|
+ </Events>
|
|
|
+ </Component>
|
|
|
+ <Component class="javax.swing.JTextField" name="shininessField">
|
|
|
+ <Properties>
|
|
|
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.shininessField.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.shininessField.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="inputVerifier" type="javax.swing.InputVerifier" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
|
|
|
+ <Connection code="new ShininessVerifier()" type="code"/>
|
|
|
+ </Property>
|
|
|
+ </Properties>
|
|
|
+ <Events>
|
|
|
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="shininessFieldActionPerformed"/>
|
|
|
+ <EventHandler event="keyTyped" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="shininessFieldKeyTyped"/>
|
|
|
+ </Events>
|
|
|
+ </Component>
|
|
|
+ <Component class="javax.swing.JLabel" name="jLabel1">
|
|
|
+ <Properties>
|
|
|
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.jLabel1.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </Property>
|
|
|
+ </Properties>
|
|
|
+ </Component>
|
|
|
+ <Component class="javax.swing.JCheckBox" name="triPlanarCheckBox">
|
|
|
+ <Properties>
|
|
|
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.triPlanarCheckBox.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
|
+ <ResourceString bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.triPlanarCheckBox.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </Property>
|
|
|
+ </Properties>
|
|
|
+ <Events>
|
|
|
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="triPlanarCheckBoxActionPerformed"/>
|
|
|
+ </Events>
|
|
|
+ </Component>
|
|
|
+ </SubComponents>
|
|
|
+ </Container>
|
|
|
+ <Container class="javax.swing.JPanel" name="hintPanel">
|
|
|
+ <Properties>
|
|
|
+ <Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
|
|
|
+ <Color blue="cc" green="cc" red="cc" type="rgb"/>
|
|
|
+ </Property>
|
|
|
+ <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
|
|
|
+ <Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo">
|
|
|
+ <TitledBorder title="Hints">
|
|
|
+ <ResourceString PropertyName="titleX" bundle="com/jme3/gde/terraineditor/Bundle.properties" key="TerrainEditorTopComponent.hintPanel.border.title" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
|
+ </TitledBorder>
|
|
|
+ </Border>
|
|
|
+ </Property>
|
|
|
+ </Properties>
|
|
|
+
|
|
|
+ <Layout>
|
|
|
+ <DimensionLayout dim="0">
|
|
|
+ <Group type="103" groupAlignment="0" attributes="0">
|
|
|
+ <Component id="jScrollPane1" alignment="0" pref="88" max="32767" attributes="0"/>
|
|
|
+ </Group>
|
|
|
+ </DimensionLayout>
|
|
|
+ <DimensionLayout dim="1">
|
|
|
+ <Group type="103" groupAlignment="0" attributes="0">
|
|
|
+ <Component id="jScrollPane1" alignment="0" pref="100" max="32767" attributes="0"/>
|
|
|
+ </Group>
|
|
|
+ </DimensionLayout>
|
|
|
+ </Layout>
|
|
|
+ <SubComponents>
|
|
|
+ <Container class="javax.swing.JScrollPane" name="jScrollPane1">
|
|
|
+ <AuxValues>
|
|
|
+ <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
|
|
|
+ </AuxValues>
|
|
|
+
|
|
|
+ <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
|
|
|
+ <SubComponents>
|
|
|
+ <Component class="javax.swing.JTextArea" name="hintTextArea">
|
|
|
+ <Properties>
|
|
|
+ <Property name="columns" type="int" value="20"/>
|
|
|
+ <Property name="editable" type="boolean" value="false"/>
|
|
|
+ <Property name="lineWrap" type="boolean" value="true"/>
|
|
|
+ <Property name="rows" type="int" value="2"/>
|
|
|
+ <Property name="tabSize" type="int" value="4"/>
|
|
|
+ <Property name="wrapStyleWord" type="boolean" value="true"/>
|
|
|
+ <Property name="focusable" type="boolean" value="false"/>
|
|
|
+ <Property name="requestFocusEnabled" type="boolean" value="false"/>
|
|
|
+ </Properties>
|
|
|
+ </Component>
|
|
|
</SubComponents>
|
|
|
</Container>
|
|
|
</SubComponents>
|