| java.lang.Object gruntspud.DefaultGruntspudContext
Method Summary | |
public void | cleanUp() | public ConnectionProfileModel | getConnectionProfileModel() | public Encrypter | getEncrypter() Implement to return the current Encrypter , or
null if none is registered. | public FileTypeMappingModel | getFileTypeMappingModel() | public CVSFileFilterModel | getFilterModel() | public GruntspudHost | getHost() | public File | getPluginDirectory() | public String | getPluginHostName() | public PluginVersion | getPluginHostVersion() | public PluginManager | getPluginManager() | public URL | getPluginUpdatesResource() | public String | getPreference(String key, String def) | public ProjectListModel | getProjectListModel() | public URL | getStandardPluginsResource() | public TextStyleModel | getTextStyleModel() Implement to return the text style model. | public ViewManager | getViewManager() | public boolean | isDebugEnabled() | public void | log(int d, String mesg) | public void | log(int d, String mesg, Throwable throwable) | public void | log(int d, Throwable throwable) | public void | openFile(File file, int action) | public void | openNode(CVSFileNode node, int action) | public void | openURL(URL url) | public Iterator | optionsTabs() | public void | putPreference(String key, String val) | public void | registerOptionsTab(Class optionsTabClass) Register option tab. | public void | runApplicationForFile(String application, File file) | public void | setEncrypter(Encrypter encrypter) Implement to register an Encrypter implementation. | public void | viewEvent(ViewEvent evt) |
DefaultGruntspudContext | public DefaultGruntspudContext(GruntspudHost host)(Code) | | Creates a new DefaultGruntspudContext object.
Parameters: host - DOCUMENT ME! |
cleanUp | public void cleanUp()(Code) | | DOCUMENT ME!
|
getEncrypter | public Encrypter getEncrypter()(Code) | | Implement to return the current Encrypter , or
null if none is registered.
the encrypter |
getPluginDirectory | public File getPluginDirectory()(Code) | | |
getPluginHostVersion | public PluginVersion getPluginHostVersion()(Code) | | |
getPluginManager | public PluginManager getPluginManager()(Code) | | Return the plugin manager
|
getPluginUpdatesResource | public URL getPluginUpdatesResource()(Code) | | |
getStandardPluginsResource | public URL getStandardPluginsResource()(Code) | | |
getTextStyleModel | public TextStyleModel getTextStyleModel()(Code) | | Implement to return the text style model.
text style mode |
isDebugEnabled | public boolean isDebugEnabled()(Code) | | Return if debugging is turned on
|
openFile | public void openFile(File file, int action)(Code) | | |
openNode | public void openNode(CVSFileNode node, int action)(Code) | | DOCUMENT ME!
Parameters: node - DOCUMENT ME! Parameters: action - DOCUMENT ME! |
optionsTabs | public Iterator optionsTabs()(Code) | | Return an iterator of Class of all registered options tab classes
registered options tab classes |
registerOptionsTab | public void registerOptionsTab(Class optionsTabClass)(Code) | | Register option tab. Plugins may use this to place a tab in the options
pane. The class must extend AbstractOptionsTab and have an
empty constructor to be able to be registered. An new instance of the class
is created whenever the options dialog is opened.
Parameters: optionsTabClass - class of options tab. |
runApplicationForFile | public void runApplicationForFile(String application, File file) throws IOException(Code) | | DOCUMENT ME!
Parameters: application - DOCUMENT ME! Parameters: file - DOCUMENT ME! throws: IOException - DOCUMENT ME! |
setEncrypter | public void setEncrypter(Encrypter encrypter) throws Exception(Code) | | Implement to register an Encrypter implementation. The
password manager may use this to encrypt the password list. Only one
implementation can be registered, subsequent attempts will thrown an an
exception.
Parameters: encrypter - the encrypter implementation |
viewEvent | public void viewEvent(ViewEvent evt)(Code) | | DOCUMENT ME!
Parameters: evt - DOCUMENT ME! |
|
|