Changeset 92 in tmcsimulator-scriptbuilder for trunk/src/event/editor/TowPanel.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/TowPanel.form

    r1 r92  
    2121              <Group type="103" groupAlignment="0" attributes="0"> 
    2222                  <Component id="help" pref="543" max="32767" attributes="0"/> 
    23                   <Component id="removeButton" alignment="1" min="-2" max="-2" attributes="0"/> 
    2423                  <Group type="102" alignment="0" attributes="0"> 
    2524                      <Group type="103" groupAlignment="0" attributes="0"> 
     
    4544      <Group type="103" groupAlignment="0" attributes="0"> 
    4645          <Group type="102" alignment="1" attributes="0"> 
    47               <EmptySpace max="-2" attributes="0"/> 
    48               <Component id="removeButton" min="-2" max="-2" attributes="0"/> 
    49               <EmptySpace type="unrelated" max="-2" attributes="0"/> 
     46              <EmptySpace min="-2" pref="47" max="-2" attributes="0"/> 
    5047              <Group type="103" groupAlignment="3" attributes="0"> 
    5148                  <Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/> 
     
    7572  </Layout> 
    7673  <SubComponents> 
    77     <Component class="javax.swing.JButton" name="removeButton"> 
    78       <Properties> 
    79         <Property name="text" type="java.lang.String" value="Remove"/> 
    80       </Properties> 
    81       <Events> 
    82         <EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="removeThisProperty"/> 
    83         <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="removeButtonActionPerformed"/> 
    84       </Events> 
    85     </Component> 
    8674    <Component class="javax.swing.JLabel" name="jLabel1"> 
    8775      <Properties> 
Note: See TracChangeset for help on using the changeset viewer.