edu.umd.cs.findbugs.gui2
public class GUISaveState extends Object
Method Summary | |
---|---|
void | addRecentFile(File f)
This should be the method used to add a file for the recent menu. |
void | fileNotFound(File f)
Call to remove a file from the list. |
void | fileReused(File f)
This should be the method called to add a reused file for the recent menu. |
byte[] | getDockingLayout() |
float | getFontSize() |
Rectangle | getFrameBounds() |
static GUISaveState | getInstance() |
LinkedList<String> | getPreviousComments() |
ArrayList<File> | getRecentFiles()
Returns the list of recent files. |
int | getSplitMain() |
int | getSplitSummary() |
int | getSplitTop() |
int | getSplitTreeComments() |
File | getStarterDirectoryForLoadBugs()
The file to start the loading of Bugs from. |
int | getTabSize() |
static void | loadInstance() |
void | save() |
void | setDockingLayout(byte[] dockingLayout) |
void | setFontSize(float fontSize) |
void | setFrameBounds(Rectangle frameBounds) |
void | setPreviousComments(LinkedList<String> previousComments) |
void | setSplitMain(int splitMain) |
void | setSplitSummary(int splitSummary) |
void | setSplitTop(int splitTop) |
void | setSplitTreeComments(int splitTreeComments) |
void | setStarterDirectoryForLoadBugs(File f) |
void | setTabSize(int tabSize) |
Parameters: f
Parameters: f
Returns: Returns the fontSize.
Returns: Returns the frame bounds Rectangle.
Returns: Returns the previousComments.
Returns:
Returns: Returns the location of the main divider.
Returns: Returns the location of the summary divider.
Returns: Returns the location of the top divider.
Returns: Returns the location of the tree-comments divider.
Returns: Returns the starterDirectoryForLoadBugs.
Parameters: fontSize The fontSize to set.
Parameters: frameBounds The frame bourds Rectangle to set.
Parameters: previousComments The previousComments to set.
Parameters: splitMain The location of the main divider to set.
Parameters: splitSummary The location of the summar divider to set.
Parameters: splitTop The location of the top divider to set.
Parameters: splitTreeComments The location of the tree-comments divider to set.
Parameters: f The starterDirectoryForLoadBugs to set.