Changeset 92 in tmcsimulator-scriptbuilder for trunk/src/event/editor/Editor.java


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/Editor.java

    r89 r92  
    456456        { 
    457457            jTabbedPane1.remove(update.getPanel().getPanel()); 
    458             if (update.getPanel().getPanel() instanceof ScriptEventEditorPanel) 
    459             { 
    460                 ((ScriptEventEditorPanel) update.getPanel().getPanel()).removeAssociatedEvent(); 
     458            if (update.getPanel().getPanel() instanceof I_ScriptEventEditorPanel) 
     459            { 
     460                ((I_ScriptEventEditorPanel) update.getPanel().getPanel()).removeAssociatedEvent(); 
    461461            } 
    462462            topFrame.repaint(); 
Note: See TracChangeset for help on using the changeset viewer.