Java Doc for JRefactory.java in  » UML » jrefactory » org » acm » seguin » ide » netbeans » 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 » UML » jrefactory » org.acm.seguin.ide.netbeans 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.acm.seguin.ide.netbeans.JRefactory

JRefactory
public class JRefactory extends TopComponent implements IDEInterface(Code)

author:
   Mike Atkinson (
author:
   Mike@ladyshot.demon.co.uk
)
version:
   $Version: $
since:
   1.0

Inner Class :public static class MySerObject implements java.io.Serializable

Field Summary
final public static  StringDEFAULT_TILE_MINSIZE_PROPERTY
    
public static  StringJAVASTYLE_DIR
    
final public static  StringNAME
    
final public static  StringOPTION_RULES_PREFIX
    
final public static  StringOPTION_UI_DIRECTORY_POPUP
    
public static  FilePRETTY_SETTINGS_FILE
    

Constructor Summary
public  JRefactory()
    
public  JRefactory(Frame view)
    

Method Summary
public  voidaddAnnotation(Frame view, Object buffer, int type, int lineNo, String description)
     Adds an annotation to an ide buffer.
public  booleanbufferContainsJavaSource(Frame view, Object buffer)
     Does the buffer contain Java source code.
public  voidbufferNavigatorTree(Frame view, Object buffer, TreeNode node)
     Indicates that a buffer has been parsed and that a navigator tree of the source is available.
public  voidbufferParsed(Frame view, Object buffer, net.sourceforge.jrefactory.ast.Node compilationUnit)
     Indicates that a buffer has been parsed and that an Abstract Syntax Tree is available.
public  voidcheckAllOpenBuffers(Frame view)
    
public  voidcheckBuffer(Frame view, Object buffer)
    
public  voidcheckDirectory(Frame view, boolean recursive)
    
public  voidclearAnnotations(Frame view, Object buffer, int type)
     Clears all annotation for an ide buffer.
public  voidcpdAllOpenBuffers(Frame view)
    
public  voidcpdBuffer(Frame view, Object buffer)
    
public  voidcpdDir(Frame view, boolean recursive)
    
public static  voiddeleteProperty(String key)
    
public static  voidensureVisible()
    
public  CodingStandardsViewergetCodingStandardsViewer()
    
public  ObjectgetCurrentBuffer(Frame view)
     Get the current (atcive) buffer.
Parameters:
  view - The frame containing the IDE.
public  FramegetEditorFrame()
     Returns the frame that contains the editor.
public  FilegetFile(Frame view, Object buffer)
    
public  StringgetFilePathForBuffer(Object buffer)
    
public  FramegetFrame()
    
public  String[]getIDEProjects(Frame parent)
    
public  StringgetIDEProperty(String prop)
    
public  StringgetIDEProperty(String prop, String deflt)
    
public static  FramegetJRefactoryFrame()
    
public  intgetLineCount(Object buffer)
    
public  intgetLineEndOffset(Object buffer, int end)
    
public  intgetLineNumber(Frame view, Object buffer)
     Get the line number of the cursor within the current buffer.
public  intgetLineStartOffset(Object buffer, int begin)
    
public  intgetPersistenceType()
    
public  StringgetProjectName(Frame view, Object buffer)
    
public static  StringgetProjectName(Frame view)
    
public  PropertiesFilegetProperties(String type, String project)
    
public static  StringgetSettingsDirectory()
    
public  StringgetText(Frame view, Object buffer)
    
public  voidgetUserSelection()
    
public  voidgoToBuffer(Frame view, Object buffer)
    
public  voidhideWaitCursor(Frame parent)
    
public  voidinitComponents()
     Create a new JRefactory.
public  IconloadIcon(String name)
     Load an icon from the IDE
Parameters:
  name - The name of the icon.
public  voidlog(int urgency, Object source, Object message)
    
public static  voidlog(Object message)
    
public  voidmoveCaretPosition(Frame view, Object buffer, int start)
    
public  ObjectopenFile(Frame view, String fileName)
    
public  StringpreferredID()
    
public  voidreadExternal(java.io.ObjectInput oi)
    
public  voidrunInAWTThread(Runnable runnable)
    
public  voidsaveProperties()
    
public  voidsetBuffer(Frame view, Object fileName)
    
public  voidsetLineNumber(Frame view, Object buffer, int lineNumber)
    
public static  voidsetProperty(String key, String value)
    
public  voidsetSelection(Frame view, Object buffer, int start, int end)
    
public  voidsetText(Frame view, Object buffer, String value)
    
public  voidsetView(Frame view)
    
public  voidshowCPDTab()
    
public  voidshowCSTab()
    
public  voidshowJRefactoryTab()
    
public  voidshowWaitCursor(Frame parent)
    
public  voidwriteExternal(java.io.ObjectOutput oo)
    

Field Detail
DEFAULT_TILE_MINSIZE_PROPERTY
final public static String DEFAULT_TILE_MINSIZE_PROPERTY(Code)
Description of the Field



JAVASTYLE_DIR
public static String JAVASTYLE_DIR(Code)
Description of the Field



NAME
final public static String NAME(Code)
Description of the Field



OPTION_RULES_PREFIX
final public static String OPTION_RULES_PREFIX(Code)
Description of the Field



OPTION_UI_DIRECTORY_POPUP
final public static String OPTION_UI_DIRECTORY_POPUP(Code)
Description of the Field



PRETTY_SETTINGS_FILE
public static File PRETTY_SETTINGS_FILE(Code)
Description of the Field




Constructor Detail
JRefactory
public JRefactory()(Code)
Constructor for the JRefactory object



JRefactory
public JRefactory(Frame view)(Code)
Constructor for the JRefactory object
Parameters:
  view - Description of Parameter




Method Detail
addAnnotation
public void addAnnotation(Frame view, Object buffer, int type, int lineNo, String description)(Code)
Adds an annotation to an ide buffer.
Parameters:
  view - The frame containing the IDE.
Parameters:
  buffer - The buffer (containing Java Source) that has beenparsed.
Parameters:
  type - either CODING_STANDARDS or CUT_AND_PASTE_DETECTION
Parameters:
  lineNo - The line number of the annotation.
Parameters:
  description - The annotation



bufferContainsJavaSource
public boolean bufferContainsJavaSource(Frame view, Object buffer)(Code)
Does the buffer contain Java source code.
Parameters:
  view - The frame containing the IDE.
Parameters:
  buffer - Description of Parameter true if the buffer contains Java source code,false otherwise.



bufferNavigatorTree
public void bufferNavigatorTree(Frame view, Object buffer, TreeNode node)(Code)
Indicates that a buffer has been parsed and that a navigator tree of the source is available.
Parameters:
  view - The frame containing the IDE.
Parameters:
  buffer - The buffer (containing Java Source) that has been parsed.
Parameters:
  node - The root node of the tree.



bufferParsed
public void bufferParsed(Frame view, Object buffer, net.sourceforge.jrefactory.ast.Node compilationUnit)(Code)
Indicates that a buffer has been parsed and that an Abstract Syntax Tree is available.
Parameters:
  view - The frame containing the IDE.
Parameters:
  buffer - The buffer (containing Java Source) that has beenparsed.
Parameters:
  compilationUnit - The root node of the AST.



checkAllOpenBuffers
public void checkAllOpenBuffers(Frame view)(Code)
Description of the Method
Parameters:
  view - Description of Parameter



checkBuffer
public void checkBuffer(Frame view, Object buffer)(Code)
Description of the Method
Parameters:
  view - Description of Parameter
Parameters:
  buffer - Description of Parameter



checkDirectory
public void checkDirectory(Frame view, boolean recursive)(Code)
Description of the Method
Parameters:
  view - Description of Parameter
Parameters:
  recursive - Description of Parameter



clearAnnotations
public void clearAnnotations(Frame view, Object buffer, int type)(Code)
Clears all annotation for an ide buffer.
Parameters:
  view - The frame containing the IDE.
Parameters:
  buffer - The buffer (containing Java Source) that has been parsed.
Parameters:
  type - either CODING_STANDARDS or CUT_AND_PASTE_DETECTION



cpdAllOpenBuffers
public void cpdAllOpenBuffers(Frame view) throws IOException(Code)
Description of the Method
Parameters:
  view - Description of Parameter
exception:
  IOException - Description of Exception



cpdBuffer
public void cpdBuffer(Frame view, Object buffer) throws IOException(Code)
Description of the Method
Parameters:
  view - Description of Parameter
Parameters:
  buffer - Description of Parameter
exception:
  IOException - Description of Exception



cpdDir
public void cpdDir(Frame view, boolean recursive) throws IOException(Code)
Description of the Method
Parameters:
  view - Description of Parameter
Parameters:
  recursive - Description of Parameter
exception:
  IOException - Description of Exception



deleteProperty
public static void deleteProperty(String key)(Code)
Description of the Method
Parameters:
  key - Description of Parameter



ensureVisible
public static void ensureVisible()(Code)
Description of the Method



getCodingStandardsViewer
public CodingStandardsViewer getCodingStandardsViewer()(Code)
Gets the CodingStandardsViewer attribute of the JRefactory object The CodingStandardsViewer value



getCurrentBuffer
public Object getCurrentBuffer(Frame view)(Code)
Get the current (atcive) buffer.
Parameters:
  view - The frame containing the IDE. The active buffer or null if no active buffer.



getEditorFrame
public Frame getEditorFrame()(Code)
Returns the frame that contains the editor. If this is not available or you want dialog boxes to be centered on the screen return null from this operation. the frame



getFile
public File getFile(Frame view, Object buffer)(Code)
Gets the file that is being edited
Parameters:
  view - Description of Parameter
Parameters:
  buffer - Description of Parameter The File value



getFilePathForBuffer
public String getFilePathForBuffer(Object buffer)(Code)
Description of the Method
Parameters:
  buffer - Description of Parameter The File path for this buffer



getFrame
public Frame getFrame()(Code)
Gets the Frame attribute of the JRefactory object The Frame value



getIDEProjects
public String[] getIDEProjects(Frame parent)(Code)
Gets the IDEProjects attribute of the IDEInterface object
Parameters:
  parent - Description of Parameter The IDEProjects value



getIDEProperty
public String getIDEProperty(String prop)(Code)
Gets the IDEProperty attribute of the IDEInterface object
Parameters:
  prop - Description of Parameter The IDEProperty value



getIDEProperty
public String getIDEProperty(String prop, String deflt)(Code)
Gets the IDEProperty attribute of the IDEInterface object
Parameters:
  prop - Description of Parameter
Parameters:
  deflt - Description of Parameter The IDEProperty value



getJRefactoryFrame
public static Frame getJRefactoryFrame()(Code)
Gets the JRefactoryFrame attribute of the JRefactory class The JRefactoryFrame value



getLineCount
public int getLineCount(Object buffer)(Code)
Description of the Method
Parameters:
  buffer - Description of Parameter The LineEndOffset value



getLineEndOffset
public int getLineEndOffset(Object buffer, int end)(Code)
Description of the Method
Parameters:
  buffer - Description of Parameter
Parameters:
  end - Description of Parameter The LineEndOffset value



getLineNumber
public int getLineNumber(Frame view, Object buffer)(Code)
Get the line number of the cursor within the current buffer. x:String Description of Parameter
Parameters:
  buffer - Description of Parameter The line number of the cursor in the current buffer, or-1 if no current buffer.



getLineStartOffset
public int getLineStartOffset(Object buffer, int begin)(Code)
Description of the Method
Parameters:
  buffer - Description of Parameter
Parameters:
  begin - Description of Parameter The BeginLine value



getPersistenceType
public int getPersistenceType()(Code)
Gets the PersistenceType attribute of the JRefactory object The PersistenceType value



getProjectName
public String getProjectName(Frame view, Object buffer)(Code)
Description of the Method
Parameters:
  view - Description of Parameter
Parameters:
  buffer - Description of Parameter The ProjectName value



getProjectName
public static String getProjectName(Frame view)(Code)
Sets the projectData attribute of the JEditPrettyPrinter object
Parameters:
  view - Description of Parameter The projectName value



getProperties
public PropertiesFile getProperties(String type, String project)(Code)
Gets the Properties attribute of the JavaStylePlugin class
Parameters:
  type - Description of Parameter
Parameters:
  project - Description of Parameter The Properties value



getSettingsDirectory
public static String getSettingsDirectory()(Code)
Gets the SettingsDirectory attribute of the JRefactory class The SettingsDirectory value



getText
public String getText(Frame view, Object buffer)(Code)
Description of the Method
Parameters:
  view - Description of Parameter
Parameters:
  buffer - Description of Parameter The Text value



getUserSelection
public void getUserSelection()(Code)
Gets the userSelection attribute of the JRefactory object



goToBuffer
public void goToBuffer(Frame view, Object buffer)(Code)
Description of the Method
Parameters:
  view - Description of Parameter
Parameters:
  buffer - Description of Parameter



hideWaitCursor
public void hideWaitCursor(Frame parent)(Code)
Description of the Method
Parameters:
  parent - Description of Parameter



initComponents
public void initComponents()(Code)
Create a new JRefactory.



loadIcon
public Icon loadIcon(String name)(Code)
Load an icon from the IDE
Parameters:
  name - The name of the icon. An icon (or null if the icon cannot be found).



log
public void log(int urgency, Object source, Object message)(Code)
Description of the Method
Parameters:
  urgency - Description of Parameter
Parameters:
  source - Description of Parameter
Parameters:
  message - Description of Parameter



log
public static void log(Object message)(Code)
Description of the Method
Parameters:
  message - Description of Parameter



moveCaretPosition
public void moveCaretPosition(Frame view, Object buffer, int start)(Code)
Description of the Method
Parameters:
  view - Description of Parameter
Parameters:
  buffer - Description of Parameter
Parameters:
  start - Description of Parameter



openFile
public Object openFile(Frame view, String fileName) throws IOException(Code)
Description of the Method
Parameters:
  view - Description of Parameter
Parameters:
  fileName - Description of Parameter Description of the Returned Value
exception:
  IOException - Description of Exception



preferredID
public String preferredID()(Code)
Description of the Method Description of the Returned Value



readExternal
public void readExternal(java.io.ObjectInput oi) throws ClassNotFoundException, IOException(Code)
Description of the Method
Parameters:
  oi - Description of Parameter
exception:
  IOException - Description of Exception
exception:
  ClassNotFoundException - Description of Exception



runInAWTThread
public void runInAWTThread(Runnable runnable)(Code)
Description of the Method
Parameters:
  runnable - Description of Parameter



saveProperties
public void saveProperties()(Code)
write new settings



setBuffer
public void setBuffer(Frame view, Object fileName)(Code)
Description of the Method
Parameters:
  view - Description of Parameter
Parameters:
  fileName - The new Buffer value



setLineNumber
public void setLineNumber(Frame view, Object buffer, int lineNumber)(Code)
Sets the line number
Parameters:
  view - The new LineNumber value
Parameters:
  buffer - The new LineNumber value
Parameters:
  lineNumber - The new lineNumber value



setProperty
public static void setProperty(String key, String value)(Code)
Sets the Property attribute of the JavaStylePlugin class
Parameters:
  key - The new Property value
Parameters:
  value - The new Property value



setSelection
public void setSelection(Frame view, Object buffer, int start, int end)(Code)
Description of the Method
Parameters:
  view - Description of Parameter
Parameters:
  buffer - The new Selection value
Parameters:
  start - The new Selection value
Parameters:
  end - The new Selection value



setText
public void setText(Frame view, Object buffer, String value)(Code)
Sets the string in the IDE
Parameters:
  view - The frame containing the IDE.
Parameters:
  buffer - Description of Parameter
Parameters:
  value - The new file contained in a string



setView
public void setView(Frame view)(Code)
Sets the View attribute of the JRefactory object
Parameters:
  view - The new View value



showCPDTab
public void showCPDTab()(Code)
Description of the Method



showCSTab
public void showCSTab()(Code)
Description of the Method



showJRefactoryTab
public void showJRefactoryTab()(Code)
Description of the Method



showWaitCursor
public void showWaitCursor(Frame parent)(Code)
Description of the Method
Parameters:
  parent - Description of Parameter



writeExternal
public void writeExternal(java.io.ObjectOutput oo) throws IOException(Code)
Description of the Method
Parameters:
  oo - Description of Parameter
exception:
  IOException - Description of Exception



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