Java Doc for MainEditorFrame.java in  » IDE » tIDE » tide » editor » 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 » tIDE » tide.editor 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.swing.JFrame
   tide.editor.MainEditorFrame

MainEditorFrame
public class MainEditorFrame extends JFrame (Code)
The tIDE application top frame. Contains also init stuff, management and so on.


Field Summary
final public static  StringAlt1TideJarPack200URL
    
final public static  StringLicenceHTMLBodyText
    
final public static  StringOfficialTideJarPack200URL
    
final static  StringPROJ_File_Extension
    
final public static  StringTITLE
    
final public static  String_VERSION
    
public static  booleancompactUI
    
public static  booleancompileAllAtStartup
    
public static  booleandebug
    
final public  JPaneleditorControlPanel
    
final public  EditorPaneleditorPanel
    
final public  JCheckBoxMenuItemenableDotCompletion
    
public static  booleanenableExperimental
    
final public  JCheckBoxMenuItemenableParserWarnings
    
public static  FontfixedWidthFontForProcesses
    
final public  JCheckBoxMenuItemglobalDebugFlag
    
final public  AppPropertiesglobalProperties
    
final public  JCheckBoxMenuItemignoreExecutionOuputs
    
final public  JCheckBoxMenuItemincludeRAWCCTree
    
public static  MainEditorFrameinstance
    
final public  JMenujdkDocsMenu
    
final public  LibrariesPanellibrariesPanel
    
public static  booleanlowMemoryMode
    
public static  booleannoSearchTab
    
final public  OutputPanelsoutputPanels
    
final public  JCheckBoxMenuItemparseDependencies
    
public static  booleanredirectConsoleInTab
    
final public  JTabbedPanesourcesAndLibsPanel
    
final public  SourcesTreePanelsourcesTreePanel
    
final public  SyntaxTreePanelsyntaxTreePanel
    
public static  booleanuseNewAST
    

Constructor Summary
public  MainEditorFrame(String[] args)
    

Method Summary
public  voidaddProjectListener(ProjectListener pl)
    
public  voidcompileOnlyChangedFiles()
     Called on Shift F9.
public  Futurecompile_queued(List<SourceFile> sourceFiles, SourceFile rootOfBranchBuild, boolean compileAll)
     Inserts a compile command in the executor.
public static  voiddebugOut(String s)
    
public static  voiddebugOut(Throwable e)
    
public static  voiddisplayErrorMessage(Throwable t, String title)
    
public  booleaneditSettingsDialog(boolean firstCall, boolean exitIfCancelled)
     This edits the settings of the actual project.
public  voidexecute(FileItem src, boolean enableRemoteJMXAccess, String hprofCommand, String appArgs)
    
public  voidexecute(FileItem src, boolean enableRemoteJMXAccess, boolean launchDebugger, String hprofCommand, String appArgs)
     Executes the class corresponding to this src file.
public  FutureexecuteTask(Runnable r)
     This is used as the main synchronization engine for global operations like compiling, generating jar, javaDoc.
public  ProjectSettingsgetActualProject()
     Never null, contains the infos about the actual opened project, ...
public  FilegetActualProjectFile()
    
public  FileItemgetFileItem(String javaName, String fileName)
     Looks in the sources and if not found, in all libraries javaName and fileName are normally parsed from a stacktrace in the output. give empty fileName if the type has the same name.
public  TrayIcongetTideTrayIcon()
     Created at first call.
public static  voidmainmet(String[] args)
     Starts tIDE.
public  voidnotifyProjectListenersProjectClosed()
     This call may take a "medium" time to execute.
public  voidnotifyProjectListenersProjectSaving()
     All listeners saves their data when called.
public  voidreloadProject()
    
public  voidremoveProjectListener(ProjectListener pl)
    
public  voidrunAction_queued(String mainClassName, boolean enableRemoteJMXAccess, boolean launchDebugger, String hprofCommand, String applicationArguments_)
     All runs are started here.
public  voidsetFieldToView(FileItem item, String methodName)
    
public  voidsetMethodToView(FileItem item, String methodName)
     Causes a jump to the first method with the given name.
public  voidsetSourceOrItemToEditOrView(FileItem item, boolean selectInTree)
     Sourcefile or other text item.
public  voidterminateTIDE()
     Called from the export dialog, if the checkbox is selected...
public  voidwriteInternalErrorLine(String error)
     Use this to show internal tIDE errors to the user.

Field Detail
Alt1TideJarPack200URL
final public static String Alt1TideJarPack200URL(Code)



LicenceHTMLBodyText
final public static String LicenceHTMLBodyText(Code)



OfficialTideJarPack200URL
final public static String OfficialTideJarPack200URL(Code)



PROJ_File_Extension
final static String PROJ_File_Extension(Code)



TITLE
final public static String TITLE(Code)



_VERSION
final public static String _VERSION(Code)



compactUI
public static boolean compactUI(Code)



compileAllAtStartup
public static boolean compileAllAtStartup(Code)



debug
public static boolean debug(Code)



editorControlPanel
final public JPanel editorControlPanel(Code)



editorPanel
final public EditorPanel editorPanel(Code)



enableDotCompletion
final public JCheckBoxMenuItem enableDotCompletion(Code)



enableExperimental
public static boolean enableExperimental(Code)



enableParserWarnings
final public JCheckBoxMenuItem enableParserWarnings(Code)



fixedWidthFontForProcesses
public static Font fixedWidthFontForProcesses(Code)



globalDebugFlag
final public JCheckBoxMenuItem globalDebugFlag(Code)



globalProperties
final public AppProperties globalProperties(Code)



ignoreExecutionOuputs
final public JCheckBoxMenuItem ignoreExecutionOuputs(Code)



includeRAWCCTree
final public JCheckBoxMenuItem includeRAWCCTree(Code)



instance
public static MainEditorFrame instance(Code)



jdkDocsMenu
final public JMenu jdkDocsMenu(Code)



librariesPanel
final public LibrariesPanel librariesPanel(Code)



lowMemoryMode
public static boolean lowMemoryMode(Code)



noSearchTab
public static boolean noSearchTab(Code)



outputPanels
final public OutputPanels outputPanels(Code)



parseDependencies
final public JCheckBoxMenuItem parseDependencies(Code)



redirectConsoleInTab
public static boolean redirectConsoleInTab(Code)



sourcesAndLibsPanel
final public JTabbedPane sourcesAndLibsPanel(Code)



sourcesTreePanel
final public SourcesTreePanel sourcesTreePanel(Code)



syntaxTreePanel
final public SyntaxTreePanel syntaxTreePanel(Code)



useNewAST
public static boolean useNewAST(Code)




Constructor Detail
MainEditorFrame
public MainEditorFrame(String[] args)(Code)

Parameters:
  args - are the passed applications arguments




Method Detail
addProjectListener
public void addProjectListener(ProjectListener pl)(Code)



compileOnlyChangedFiles
public void compileOnlyChangedFiles()(Code)
Called on Shift F9. The displayed file is compiled.



compile_queued
public Future compile_queued(List<SourceFile> sourceFiles, SourceFile rootOfBranchBuild, boolean compileAll)(Code)
Inserts a compile command in the executor. IMPORTANT: all compilations are started from here.
Parameters:
  rootOfBranchBuild - null for a complete build
Parameters:
  sourceFiles - the sources not belonging to the project are removed !TODO: implement a mechanism that remember the state before when compilation failed,otherwise, we get rapidly growing number of recompiled files...



debugOut
public static void debugOut(String s)(Code)
toggable System.out.println(s);



debugOut
public static void debugOut(Throwable e)(Code)
toggable e.printStackTrace();



displayErrorMessage
public static void displayErrorMessage(Throwable t, String title)(Code)



editSettingsDialog
public boolean editSettingsDialog(boolean firstCall, boolean exitIfCancelled)(Code)
This edits the settings of the actual project. If none, starts a save action true if the dialog was accepted (false if cancelled)



execute
public void execute(FileItem src, boolean enableRemoteJMXAccess, String hprofCommand, String appArgs)(Code)



execute
public void execute(FileItem src, boolean enableRemoteJMXAccess, boolean launchDebugger, String hprofCommand, String appArgs)(Code)
Executes the class corresponding to this src file. Must contain a public static main(String[] a) method AND must be compiled. This action will be performed later, (just placed in the execution queue now)



executeTask
public Future executeTask(Runnable r)(Code)
This is used as the main synchronization engine for global operations like compiling, generating jar, javaDoc. This is NOT coupled with the ProcessesManager. But you can pass the returned Future in the ProcessesManager.



getActualProject
public ProjectSettings getActualProject()(Code)
Never null, contains the infos about the actual opened project, ...



getActualProjectFile
public File getActualProjectFile()(Code)
null if not already saved.



getFileItem
public FileItem getFileItem(String javaName, String fileName)(Code)
Looks in the sources and if not found, in all libraries javaName and fileName are normally parsed from a stacktrace in the output. give empty fileName if the type has the same name. (often the case). The compiler generate such paths where the name is the fileName.



getTideTrayIcon
public TrayIcon getTideTrayIcon()(Code)
Created at first call.



mainmet
public static void mainmet(String[] args)(Code)
Starts tIDE.



notifyProjectListenersProjectClosed
public void notifyProjectListenersProjectClosed()(Code)
This call may take a "medium" time to execute. Because called at end, it has to wait until all calls have been performed. (No thread are created).



notifyProjectListenersProjectSaving
public void notifyProjectListenersProjectSaving()(Code)
All listeners saves their data when called. Without thread delay. The editor, always listening saves the opened files.



reloadProject
public void reloadProject()(Code)



removeProjectListener
public void removeProjectListener(ProjectListener pl)(Code)



runAction_queued
public void runAction_queued(String mainClassName, boolean enableRemoteJMXAccess, boolean launchDebugger, String hprofCommand, String applicationArguments_)(Code)
All runs are started here. TODO: offer to start in own console window.
Parameters:
  applicationArguments_ - if null, use actualProject.getAppArgs()



setFieldToView
public void setFieldToView(FileItem item, String methodName)(Code)



setMethodToView
public void setMethodToView(FileItem item, String methodName)(Code)
Causes a jump to the first method with the given name. The mecanism goes through the syntax tree at its next refresh.



setSourceOrItemToEditOrView
public void setSourceOrItemToEditOrView(FileItem item, boolean selectInTree)(Code)
Sourcefile or other text item. The tree call this with arg selectInTree=false to avoid infinite recursion !



terminateTIDE
public void terminateTIDE()(Code)
Called from the export dialog, if the checkbox is selected... and from any progress dialog that took a long time and where the user selected it. Put in the queue, to ensure all enqueued tasks have been terminated.



writeInternalErrorLine
public void writeInternalErrorLine(String error)(Code)
Use this to show internal tIDE errors to the user. Don't abuse !



Fields inherited from javax.swing.JFrame
final public static int EXIT_ON_CLOSE(Code)(Java Doc)
protected AccessibleContext accessibleContext(Code)(Java Doc)
protected JRootPane rootPane(Code)(Java Doc)
protected boolean rootPaneCheckingEnabled(Code)(Java Doc)

Methods inherited from javax.swing.JFrame
protected void addImpl(Component comp, Object constraints, int index)(Code)(Java Doc)
protected JRootPane createRootPane()(Code)(Java Doc)
protected void frameInit()(Code)(Java Doc)
public AccessibleContext getAccessibleContext()(Code)(Java Doc)
public Container getContentPane()(Code)(Java Doc)
public int getDefaultCloseOperation()(Code)(Java Doc)
public Component getGlassPane()(Code)(Java Doc)
public Graphics getGraphics()(Code)(Java Doc)
public JMenuBar getJMenuBar()(Code)(Java Doc)
public JLayeredPane getLayeredPane()(Code)(Java Doc)
public JRootPane getRootPane()(Code)(Java Doc)
public TransferHandler getTransferHandler()(Code)(Java Doc)
public static boolean isDefaultLookAndFeelDecorated()(Code)(Java Doc)
protected boolean isRootPaneCheckingEnabled()(Code)(Java Doc)
protected String paramString()(Code)(Java Doc)
protected void processWindowEvent(WindowEvent e)(Code)(Java Doc)
public void remove(Component comp)(Code)(Java Doc)
public void repaint(long time, int x, int y, int width, int height)(Code)(Java Doc)
public void setContentPane(Container contentPane)(Code)(Java Doc)
public void setDefaultCloseOperation(int operation)(Code)(Java Doc)
public static void setDefaultLookAndFeelDecorated(boolean defaultLookAndFeelDecorated)(Code)(Java Doc)
public void setGlassPane(Component glassPane)(Code)(Java Doc)
public void setIconImage(Image image)(Code)(Java Doc)
public void setJMenuBar(JMenuBar menubar)(Code)(Java Doc)
public void setLayeredPane(JLayeredPane layeredPane)(Code)(Java Doc)
public void setLayout(LayoutManager manager)(Code)(Java Doc)
protected void setRootPane(JRootPane root)(Code)(Java Doc)
protected void setRootPaneCheckingEnabled(boolean enabled)(Code)(Java Doc)
public void setTransferHandler(TransferHandler newHandler)(Code)(Java Doc)
public void update(Graphics g)(Code)(Java Doc)

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