Changeset 92 in tmcsimulator-scriptbuilder for trunk/src/event/editor/AudioPanel.form


Ignore:
Timestamp:
08/28/2017 04:12:45 PM (9 years ago)
Author:
bmcguffin
Message:

Removed superfluous "Remove" buttons on several panels.

Removed interface "RemovablePanel?" as it was no longer necessary or useful; removed related methods from classes implementing it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/event/editor/AudioPanel.form

    r1 r92  
    2020              <EmptySpace max="-2" attributes="0"/> 
    2121              <Group type="103" groupAlignment="0" attributes="0"> 
    22                   <Component id="removeButton" alignment="1" min="-2" max="-2" attributes="0"/> 
     22                  <Component id="jLabel1" min="-2" max="-2" attributes="0"/> 
     23                  <Component id="jLabel2" alignment="0" min="-2" max="-2" attributes="0"/> 
     24              </Group> 
     25              <EmptySpace max="-2" attributes="0"/> 
     26              <Group type="103" groupAlignment="0" attributes="0"> 
    2327                  <Group type="102" alignment="0" attributes="0"> 
    24                       <Group type="103" groupAlignment="0" attributes="0"> 
    25                           <Component id="jLabel1" min="-2" max="-2" attributes="0"/> 
    26                           <Component id="jLabel2" alignment="0" min="-2" max="-2" attributes="0"/> 
    27                       </Group> 
     28                      <Component id="audioFileText" min="-2" pref="395" max="-2" attributes="0"/> 
    2829                      <EmptySpace max="-2" attributes="0"/> 
    29                       <Group type="103" groupAlignment="0" attributes="0"> 
    30                           <Group type="102" alignment="0" attributes="0"> 
    31                               <Component id="audioFileText" min="-2" pref="395" max="-2" attributes="0"/> 
    32                               <EmptySpace max="-2" attributes="0"/> 
    33                               <Component id="browseButton" pref="93" max="32767" attributes="0"/> 
    34                           </Group> 
    35                           <Component id="audioLengthText" alignment="0" pref="497" max="32767" attributes="0"/> 
    36                       </Group> 
     30                      <Component id="browseButton" pref="93" max="32767" attributes="0"/> 
    3731                  </Group> 
     32                  <Component id="audioLengthText" alignment="0" pref="497" max="32767" attributes="0"/> 
    3833              </Group> 
    3934              <EmptySpace max="-2" attributes="0"/> 
     
    4439      <Group type="103" groupAlignment="0" attributes="0"> 
    4540          <Group type="102" alignment="0" attributes="0"> 
    46               <EmptySpace max="-2" attributes="0"/> 
    47               <Component id="removeButton" min="-2" max="-2" attributes="0"/> 
    48               <EmptySpace max="-2" attributes="0"/> 
     41              <EmptySpace min="-2" pref="41" max="-2" attributes="0"/> 
    4942              <Group type="103" groupAlignment="3" attributes="0"> 
    5043                  <Component id="audioFileText" alignment="3" min="-2" max="-2" attributes="0"/> 
     
    6356  </Layout> 
    6457  <SubComponents> 
    65     <Component class="javax.swing.JButton" name="removeButton"> 
    66       <Properties> 
    67         <Property name="text" type="java.lang.String" value="Remove"/> 
    68         <Property name="toolTipText" type="java.lang.String" value="Removes this property"/> 
    69       </Properties> 
    70       <Events> 
    71         <EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="removeThisProperty"/> 
    72         <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="removeButtonActionPerformed"/> 
    73       </Events> 
    74     </Component> 
    7558    <Component class="javax.swing.JLabel" name="jLabel1"> 
    7659      <Properties> 
Note: See TracChangeset for help on using the changeset viewer.