Java Doc for GruntspudHost.java in  » Source-Control » gruntspud » gruntspud » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Source Control » gruntspud » gruntspud 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


gruntspud.GruntspudHost

All known Subclasses:   gruntspud.standalone.JDK13GruntspudHost,  gruntspud.jedit.JEditGruntspudHost,
GruntspudHost
public interface GruntspudHost (Code)
To formalise the use of Gruntspud as a plugin into other applications, the 'hosting' application must provide some basic services for Gruntspud. The services are actions that may differ in implementation depending on the 'Host'. The host must provide an implementation of this interface and pass it to the main Gruntspud class when it is constructed.
author:
   magicthize




Method Summary
public  booleancanExit()
    
public  voiddiff(File f1, String title1, File f2, String title2, String encoding)
     Perform a diff on the two files.
public  voidexit()
    
public  JComponentgetAccessoryComponent()
    
public  booleangetBooleanProperty(String key)
    
public  booleangetBooleanProperty(String key, boolean defaultValue)
    
public  StringgetDiffViewerName()
     If this host is capable of performing a diff on two files, this method should return a name for the diff viewer.
public  InsetsgetFileRendererInsets()
    
public  StringgetHTMLViewerName()
     If this host is capable of displaying HTML, this method should return a name for the HTML viewer.
public  IcongetIcon(String name)
    
public  intgetIntegerProperty(String key)
    
public  intgetIntegerProperty(String key, int defaultValue)
    
public  StringgetLocalizedString(String name, String defaultValue)
    
public  JComponentgetMainComponent()
    
public  StringgetName()
    
public  TextStylegetNodeStyle(CVSFileNode node)
    
public  PropertiesgetProperties()
    
public  StringgetProperty(String key)
    
public  StringgetProperty(String key, String defaultValue)
    
public  FilegetTmpDir()
    
public  booleanisExitActionAvailable()
    
public  booleanisGeometryStored(String key)
    
public  booleanisNodeOpenedInEditor(CVSFileNode node)
    
public  booleanisUseCanonicalPaths()
    
public  voidloadGeometry(Window component, String key)
    
public  voidopenNode(CVSFileNode node)
    
public  voidreset()
    
public  voidsaveGeometry(Window component, String key)
    
public  voidsetBooleanProperty(String key, boolean value)
    
public  voidsetCommandRunning(boolean commandRunning)
    
public  voidsetIntegerProperty(String key, int value)
    
public  voidsetProperty(String key, String value)
    
public  voidshowException(Throwable t)
    
public  voidshowException(Throwable t, String message)
    
public  voidshowHelp(String resource)
    
public  voidshowPreferences()
     Implement to show a dialog containing the preferences for Gruntspud.
public  voidunsetProperty(String key)
    
public  voidupdateComponentTreeUI()
    
public  voidviewHTML(URL u)
     View some HTML given a URL.
public  voidwriteToConsole(TextStyle style, String message)
    
public  voidwriteToInfoLine(Color text, String message, Icon icon)
    
public  voidwriteToStatusLine(Color text, String message, Icon icon)
    



Method Detail
canExit
public boolean canExit()(Code)



diff
public void diff(File f1, String title1, File f2, String title2, String encoding)(Code)
Perform a diff on the two files. This will only be called if the host declared itself to be capable of performing a diff by returning a value other than null from the getDiffViewerName() method
Parameters:
  f1 - Description of the Parameter
Parameters:
  f2 - Description of the Parameter



exit
public void exit()(Code)



getAccessoryComponent
public JComponent getAccessoryComponent()(Code)
Gets the property attribute of the JEditPlugin object
Parameters:
  key - Description of the Parameter
Parameters:
  defaultValue - Description of the Parameter The property value



getBooleanProperty
public boolean getBooleanProperty(String key)(Code)
Gets the booleanProperty attribute of the GruntspudHost object
Parameters:
  key - Description of the Parameter The booleanProperty value



getBooleanProperty
public boolean getBooleanProperty(String key, boolean defaultValue)(Code)
Gets the booleanProperty attribute of the GruntspudHost object
Parameters:
  key - Description of the Parameter
Parameters:
  defaultValue - Description of the Parameter The booleanProperty value



getDiffViewerName
public String getDiffViewerName()(Code)
If this host is capable of performing a diff on two files, this method should return a name for the diff viewer. This will be presented when the user requests a diff as one of the 'viewers' that can be used to provided the differences. the name of the diff viewer



getFileRendererInsets
public Insets getFileRendererInsets()(Code)



getHTMLViewerName
public String getHTMLViewerName()(Code)
If this host is capable of displaying HTML, this method should return a name for the HTML viewer. the name of the diff viewer



getIcon
public Icon getIcon(String name)(Code)



getIntegerProperty
public int getIntegerProperty(String key)(Code)
Gets the booleanProperty attribute of the GruntspudHost object
Parameters:
  key - Description of the Parameter The booleanProperty value



getIntegerProperty
public int getIntegerProperty(String key, int defaultValue)(Code)
Gets the booleanProperty attribute of the GruntspudHost object
Parameters:
  key - Description of the Parameter The booleanProperty value



getLocalizedString
public String getLocalizedString(String name, String defaultValue)(Code)
Gets the localizedString attribute of the GruntspudHost object
Parameters:
  name - Description of the Parameter
Parameters:
  defaultValue - Description of the Parameter The localizedString value



getMainComponent
public JComponent getMainComponent()(Code)
Gets the property attribute of the JEditPlugin object
Parameters:
  key - Description of the Parameter
Parameters:
  defaultValue - Description of the Parameter The property value



getName
public String getName()(Code)
Return the name of the host
Parameters:
  f - Description of the Parameter
exception:
  IOException - Description of the Exception



getNodeStyle
public TextStyle getNodeStyle(CVSFileNode node)(Code)



getProperties
public Properties getProperties()(Code)
Gets the property attribute of the JEditPlugin object
Parameters:
  key - Description of the Parameter
Parameters:
  defaultValue - Description of the Parameter The property value



getProperty
public String getProperty(String key)(Code)
Return the value of a property
Parameters:
  key - Description of the Parameter The property value



getProperty
public String getProperty(String key, String defaultValue)(Code)
Gets the property attribute of the GruntspudHost object
Parameters:
  key - Description of the Parameter
Parameters:
  defaultValue - Description of the Parameter The property value



getTmpDir
public File getTmpDir()(Code)
Return a directory that may be used for temporary storage The tmpDir value



isExitActionAvailable
public boolean isExitActionAvailable()(Code)



isGeometryStored
public boolean isGeometryStored(String key)(Code)
DOCUMENT ME!
Parameters:
  key - DOCUMENT ME! DOCUMENT ME!



isNodeOpenedInEditor
public boolean isNodeOpenedInEditor(CVSFileNode node)(Code)



isUseCanonicalPaths
public boolean isUseCanonicalPaths()(Code)
Gets the useCanonicalPaths attribute of the GruntspudHost object The useCanonicalPaths value



loadGeometry
public void loadGeometry(Window component, String key)(Code)
Description of the Method
Parameters:
  component - Description of the Parameter
Parameters:
  key - Description of the Parameter



openNode
public void openNode(CVSFileNode node) throws IOException(Code)
Description of the Method
Parameters:
  f - Description of the Parameter
exception:
  IOException - Description of the Exception



reset
public void reset()(Code)
Gets the property attribute of the JEditPlugin object
Parameters:
  key - Description of the Parameter
Parameters:
  defaultValue - Description of the Parameter The property value



saveGeometry
public void saveGeometry(Window component, String key)(Code)
Description of the Method
Parameters:
  component - Description of the Parameter
Parameters:
  key - Description of the Parameter



setBooleanProperty
public void setBooleanProperty(String key, boolean value)(Code)
Sets the booleanProperty attribute of the GruntspudHost object
Parameters:
  key - The new booleanProperty value
Parameters:
  value - The new booleanProperty value



setCommandRunning
public void setCommandRunning(boolean commandRunning)(Code)
Inform of when a command starts running and stops running
Parameters:
  commandRunning - command is running



setIntegerProperty
public void setIntegerProperty(String key, int value)(Code)
Sets the booleanProperty attribute of the GruntspudHost object
Parameters:
  key - The new booleanProperty value
Parameters:
  value - The new booleanProperty value



setProperty
public void setProperty(String key, String value)(Code)
Sets the property attribute of the GruntspudHost object
Parameters:
  key - The new property value
Parameters:
  value - The new property value



showException
public void showException(Throwable t)(Code)
Description of the Method
Parameters:
  t - Description of the Parameter



showException
public void showException(Throwable t, String message)(Code)
Description of the Method
Parameters:
  t - Description of the Parameter
Parameters:
  message - Description of the Parameter



showHelp
public void showHelp(String resource)(Code)
DOCUMENT ME!
Parameters:
  resource - DOCUMENT ME!



showPreferences
public void showPreferences()(Code)
Implement to show a dialog containing the preferences for Gruntspud.



unsetProperty
public void unsetProperty(String key)(Code)
Gets the property attribute of the JEditPlugin object
Parameters:
  key - Description of the Parameter
Parameters:
  defaultValue - Description of the Parameter The property value



updateComponentTreeUI
public void updateComponentTreeUI()(Code)
DOCUMENT ME!
Parameters:
  resource - DOCUMENT ME!



viewHTML
public void viewHTML(URL u)(Code)
View some HTML given a URL.
Parameters:
  u - Description of the Parameter



writeToConsole
public void writeToConsole(TextStyle style, String message)(Code)
Description of the Method
Parameters:
  text - Description of the Parameter
Parameters:
  message - Description of the Parameter



writeToInfoLine
public void writeToInfoLine(Color text, String message, Icon icon)(Code)
Description of the Method
Parameters:
  text - Description of the Parameter
Parameters:
  message - Description of the Parameter



writeToStatusLine
public void writeToStatusLine(Color text, String message, Icon icon)(Code)
Description of the Method
Parameters:
  text - Description of the Parameter
Parameters:
  message - Description of the Parameter



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.