Java Doc for Language.java in  » IDE-Netbeans » gsf » org » netbeans » modules » gsf » 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 » IDE Netbeans » gsf » org.netbeans.modules.gsf 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.netbeans.modules.gsf.Language

All known Subclasses:   org.netbeans.modules.gsf.DefaultLanguage,
Language
public interface Language (Code)

author:
   Tor Norbye




Method Summary
 BracketCompletiongetBracketCompletion()
    
 ColoringManagergetColoringManager()
    
 CompletablegetCompletionProvider()
    
 DeclarationFindergetDeclarationFinder()
    
 StringgetDisplayName()
     Return the display-name (user visible, and localized) name of this language. It should be brief (one or two words).
 Action[]getEditorActions()
     Return Actions that will be provided in the editor context menu for this language.
 String[]getExtensions()
     Return the set of common file extensions used for source files in this type of language.
 FormattergetFormatter()
    
 GsfLanguagegetGsfLanguage()
     Return a scanner (lexical analyzer, tokenizer) for use with this language.
 HintsProvidergetHintsProvider()
    
 StringgetIconBase()
     Hmmmm this is a bit rough.
 IndexergetIndexer()
    
 InstantRenamergetInstantRenamer()
    
 StringgetMimeType()
     Return the mime-type of this language.
 OccurrencesFindergetOccurrencesFinder()
    
 ParsergetParser()
     Return a parser for use with this language.
 SemanticAnalyzergetSemanticAnalyzer()
    
 StructureScannergetStructure()
    
 booleanuseCustomEditorKit()
     HACK: Some language supports may want to use their own editor kit implementation (such as Schliemann) for some services.



Method Detail
getBracketCompletion
BracketCompletion getBracketCompletion()(Code)
Get a BracketCompletion helper, if any, for helping with bracket completion



getColoringManager
ColoringManager getColoringManager()(Code)
Return the coloring manager for this language



getCompletionProvider
Completable getCompletionProvider()(Code)
Get a code completion handler, if any



getDeclarationFinder
DeclarationFinder getDeclarationFinder()(Code)
Get a Declaration finder, if any, for resolving declarations for a given identifier



getDisplayName
String getDisplayName()(Code)
Return the display-name (user visible, and localized) name of this language. It should be brief (one or two words). For example "Java", "C++", "Groovy", "Visual Basic", etc.



getEditorActions
Action[] getEditorActions()(Code)
Return Actions that will be provided in the editor context menu for this language.



getExtensions
String[] getExtensions()(Code)
Return the set of common file extensions used for source files in this type of language. It should not include the dot. For example, for Java it would be { "java" }. For C++ it might be { "cpp", "cc", "c++", "cxx" }. The first item in the array will be considered the "primary" extension that will be used when creating new files etc.



getFormatter
Formatter getFormatter()(Code)
Get an Formatter, if any, for helping indent and reformat code



getGsfLanguage
GsfLanguage getGsfLanguage()(Code)
Return a scanner (lexical analyzer, tokenizer) for use with this language.



getHintsProvider
HintsProvider getHintsProvider()(Code)
Get an associated hints provider, if any



getIconBase
String getIconBase()(Code)
Hmmmm this is a bit rough. The path would have to be relative to some resource... I guess it would be relative to the specific plugin language class? Example: "com/foo/bar/javascript.gif"



getIndexer
Indexer getIndexer()(Code)
Get an associated indexer, if any



getInstantRenamer
InstantRenamer getInstantRenamer()(Code)
Get a rename helper, if any, for instant renaming



getMimeType
String getMimeType()(Code)
Return the mime-type of this language. For example text/x-java.



getOccurrencesFinder
OccurrencesFinder getOccurrencesFinder()(Code)
Return the occurrences finder for this language



getParser
Parser getParser()(Code)
Return a parser for use with this language. A parser is optional (in which case getParser() may return null) but in that case a lot of functionality will be disabled for this language.



getSemanticAnalyzer
SemanticAnalyzer getSemanticAnalyzer()(Code)
Return the semantic analyzer for this language



getStructure
StructureScanner getStructure()(Code)
Get a structure scanner which produces navigation/outline contents



useCustomEditorKit
boolean useCustomEditorKit()(Code)
HACK: Some language supports may want to use their own editor kit implementation (such as Schliemann) for some services. By returning true here (which can be done by registering "useCustomEditorKit" on the GsfPlugin folder for the mime type) GSF will not register its own editing services for this mime type.

If you set this flag, you may need to register additional services on your own. For example, if you still want GSF "Go To Declaration" functionality, you need to register the GsfHyperlinkProvider. The ruby/rhtml/ module provides an example of this.

NOTE: Code folding doesn't work until you enable code folding for your editor kit; see GsfEditorKitFactory's reference to CODE_FOLDING_ENABLE for an example.




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