public class GUISaveState
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
boolean |
addCustomPlugin(java.net.URL u) |
void |
addRecentFile(java.io.File f)
This should be the method used to add a file for the recent menu.
|
void |
fileNotFound(java.io.File f)
Call to remove a file from the list.
|
void |
fileReused(java.io.File f)
This should be the method called to add a reused file for the recent
menu.
|
java.util.Collection<java.net.URI> |
getCustomPlugins() |
java.util.List<java.lang.String> |
getDisabledPlugins() |
byte[] |
getDockingLayout() |
java.util.List<java.lang.String> |
getEnabledPlugins() |
int |
getExtendedWindowState() |
float |
getFontSize() |
java.awt.Rectangle |
getFrameBounds() |
static GUISaveState |
getInstance() |
int |
getPackagePrefixSegments() |
java.util.LinkedList<java.lang.String> |
getPreviousComments() |
java.util.ArrayList<java.io.File> |
getRecentFiles()
Returns the list of recent files.
|
int |
getSplitMain() |
int |
getSplitSummary() |
int |
getSplitTop() |
int |
getSplitTreeComments() |
java.io.File |
getStarterDirectoryForLoadBugs()
The file to start the loading of Bugs from.
|
int |
getTabSize() |
static void |
loadInstance() |
boolean |
removeCustomPlugin(java.net.URL pluginId) |
void |
save() |
void |
setDockingLayout(byte[] dockingLayout) |
void |
setExtendedWindowState(int extendedWindowState) |
void |
setFontSize(float fontSize) |
void |
setFrameBounds(java.awt.Rectangle frameBounds) |
void |
setPackagePrefixSegments(int packagePrefixSegments) |
void |
setPluginEnabled(java.lang.String url) |
void |
setPluginsEnabled(java.util.List<java.lang.String> enabledPlugins,
java.util.List<java.lang.String> disabledPlugins) |
void |
setPreviousComments(java.util.LinkedList<java.lang.String> previousComments) |
void |
setSplitMain(int splitMain) |
void |
setSplitSummary(int splitSummary) |
void |
setSplitTop(int splitTop) |
void |
setSplitTreeComments(int splitTreeComments) |
void |
setStarterDirectoryForLoadBugs(java.io.File f) |
void |
setTabSize(int tabSize) |
public static GUISaveState getInstance()
public static void loadInstance()
public int getTabSize()
public void setTabSize(int tabSize)
public int getPackagePrefixSegments()
public void setPackagePrefixSegments(int packagePrefixSegments)
public byte[] getDockingLayout()
public void setDockingLayout(byte[] dockingLayout)
public void fileReused(java.io.File f)
public void addRecentFile(java.io.File f)
f
- public java.util.ArrayList<java.io.File> getRecentFiles()
public void fileNotFound(java.io.File f)
f
- public java.io.File getStarterDirectoryForLoadBugs()
public void setStarterDirectoryForLoadBugs(java.io.File f)
f
- The starterDirectoryForLoadBugs to set.public void save()
public java.util.LinkedList<java.lang.String> getPreviousComments()
public void setPreviousComments(java.util.LinkedList<java.lang.String> previousComments)
previousComments
- The previousComments to set.public java.awt.Rectangle getFrameBounds()
public void setFrameBounds(java.awt.Rectangle frameBounds)
frameBounds
- The frame bourds Rectangle to set.public int getExtendedWindowState()
public void setExtendedWindowState(int extendedWindowState)
public float getFontSize()
public void setFontSize(float fontSize)
fontSize
- The fontSize to set.public int getSplitMain()
public void setSplitMain(int splitMain)
splitMain
- The location of the main divider to set.public int getSplitSummary()
public void setSplitSummary(int splitSummary)
splitSummary
- The location of the summar divider to set.public int getSplitTop()
public void setSplitTop(int splitTop)
splitTop
- The location of the top divider to set.public int getSplitTreeComments()
public void setSplitTreeComments(int splitTreeComments)
splitTreeComments
- The location of the tree-comments divider to set.public void setPluginsEnabled(java.util.List<java.lang.String> enabledPlugins, java.util.List<java.lang.String> disabledPlugins)
public void setPluginEnabled(java.lang.String url)
public java.util.List<java.lang.String> getEnabledPlugins()
public java.util.Collection<java.net.URI> getCustomPlugins()
public boolean addCustomPlugin(java.net.URL u)
public java.util.List<java.lang.String> getDisabledPlugins()
public boolean removeCustomPlugin(java.net.URL pluginId)
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.