net.sf.rej.gui.tab
Interface Tabbable

All Known Implementing Classes:
CompareTab, ConstantPoolTab, DebugTab, EditorTab, FilesTab, HexEditorTab, InjectionTab, NoDebugTab, ObfuscationTab, SearchTab, StructureTab

public interface Tabbable

Interface implemented by the main window tabs. Gathering functionality common to most tabs.

Author:
Sami Koivu

Method Summary
 void enteringTab()
          Called whenever the user navigates to this tab.
 void find()
          Search within the tab.
 void findNext()
          Continue search within tab.
 java.lang.String getTabTitle()
          Returns the title of the tab.
 void goTo(Link link)
          Navigate to the location pointed by the given Link object.
 void insert()
          Insert a new entity on this tab.
 void leavingTab()
          Called whenever the user navigates away from this tab.
 void outline()
          Do a quick outline of the tab elements.
 void redo()
           
 void remove()
          Remove selected entry(entries) from this tab.
 void undo()
          TODO: Why is undo/redo on this level?
 

Method Detail

undo

void undo()
TODO: Why is undo/redo on this level? Should "remove file from project" be in the same UNDO context as remove instruction from class+


redo

void redo()

insert

void insert()
Insert a new entity on this tab. Be that a file into the project(Fileset tab), a constant pool entry(ConstantPool etc) etc.


remove

void remove()
Remove selected entry(entries) from this tab.


goTo

void goTo(Link link)
Navigate to the location pointed by the given Link object.

Parameters:
link - A pointer object referencing for example a particular method, or instruction.

find

void find()
Search within the tab. For example, within a file set tab, search for a given file.


findNext

void findNext()
Continue search within tab.


outline

void outline()
Do a quick outline of the tab elements.


leavingTab

void leavingTab()
Called whenever the user navigates away from this tab.


getTabTitle

java.lang.String getTabTitle()
Returns the title of the tab.

Returns:
a title to be displayed in the tabbed pane.

enteringTab

void enteringTab()
Called whenever the user navigates to this tab.