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


java.lang.Object
   org.netbeans.modules.cnd.makewizard.MakefileWizard

All known Subclasses:   org.netbeans.modules.cnd.makewizard.MakefileWizardSharedLib,  org.netbeans.modules.cnd.makewizard.MakefileWizardComplex,  org.netbeans.modules.cnd.makewizard.MakefileWizardExecutable,  org.netbeans.modules.cnd.makewizard.MakefileWizardStaticLib,
MakefileWizard
public class MakefileWizard implements TemplateWizard.Iterator(Code)


Field Summary
protected  LinkedListcomplexPanels
    
protected  Object[]normalPanels
     Array of panels for all types except MakefileData.COMPLEX_MAKEFILE_TYPE.
protected  Object[]panels
    
protected  TemplateWizardwd
    

Constructor Summary
public  MakefileWizard()
     Constructor Note: A panel object gets created for each panel in this constructor.

Method Summary
final public  voidaddChangeListener(ChangeListener l)
    
public static  voidaddMakefileWizardListener(MakefileWizardListener l)
    
public  intaddTarget(int type, String name, int key)
    
public  voidchangeTarget(int key, String name, int type)
    
public  WizardDescriptor.Panelcurrent()
     The current panel.
public  voiddeleteTarget(int key)
    
public  voiddeleteTarget(int key, boolean doUpdate)
    
public  voidexecuteWizard()
     Returns whether the wizard has been completed and the code should be generated.
final protected  voidfireChangeEvent()
    
protected static  voidfireMakefileWizardEvent(MakefileWizardEvent e)
    
public  JButtongetCancelButton()
    
public  intgetCurrentTargetKey()
    
public  JButtongetFinishButton()
    
public  StringgetFinishLabel()
    
public  intgetFinishMnemonic()
    
final public  MakefileDatagetMakefileData()
    
final public static  MakefileWizardgetMakefileWizard()
    
public  JButtongetNextButton()
    
public  TemplateWizardgetTemplateWizard()
    
public  booleanhasNext()
    
public  booleanhasPrevious()
    
public  voidinitDirPaths()
    
public  voidinitMakefileName()
    
public  voidinitialize(TemplateWizard wiz)
    
public  Setinstantiate(TemplateWizard wiz)
    
public  Stringname()
    
public synchronized  voidnextPanel()
     Moves to the next panel.
public  booleanonFinish()
    
public synchronized  voidpreviousPanel()
     Moves to previous panel.
final public  voidremoveChangeListener(ChangeListener l)
    
public static  voidremoveMakefileWizardListener(MakefileWizardListener l)
    
public  voidsetFinishClosingEnabled(boolean b)
     Will enable the finish button to close the dialog or not.
public  voidsetFinishEnabled(boolean tf)
     We need to reenable often because each button press disables the Finish button.
final public  voidsetTitle(String title)
    
public static  voidshowWizard()
    
public  booleantargetExists(int key)
    
public  voidunexecuteWizard()
    
public  voiduninitialize(TemplateWizard wiz)
    
public  voidupdatePanels(int type)
     Set the current Makefile type.
public  voidupdateState()
    
public  voidupdateStateHack()
    
public  ArrayListvalidateAllData()
     Toplevel validation method.

Field Detail
complexPanels
protected LinkedList complexPanels(Code)
LinkedList of panels for MakefileData.COMPLEX_MAKEFILE_TYPE



normalPanels
protected Object[] normalPanels(Code)
Array of panels for all types except MakefileData.COMPLEX_MAKEFILE_TYPE.



panels
protected Object[] panels(Code)
Current array of panels



wd
protected TemplateWizard wd(Code)




Constructor Detail
MakefileWizard
public MakefileWizard()(Code)
Constructor Note: A panel object gets created for each panel in this constructor. However, the object creation is very light-weight (mainly just creating the subtitle) and the real creation is deffered until the panel is displayed for the first time.




Method Detail
addChangeListener
final public void addChangeListener(ChangeListener l)(Code)



addMakefileWizardListener
public static void addMakefileWizardListener(MakefileWizardListener l)(Code)



addTarget
public int addTarget(int type, String name, int key)(Code)
Create new panels for a target, based on the target type



changeTarget
public void changeTarget(int key, String name, int type)(Code)
Change the panel name for the specified target



current
public WizardDescriptor.Panel current()(Code)
The current panel.



deleteTarget
public void deleteTarget(int key)(Code)
Delete the panels for the specified target



deleteTarget
public void deleteTarget(int key, boolean doUpdate)(Code)
Delete the panels for the specified target



executeWizard
public void executeWizard()(Code)
Returns whether the wizard has been completed and the code should be generated.



fireChangeEvent
final protected void fireChangeEvent()(Code)



fireMakefileWizardEvent
protected static void fireMakefileWizardEvent(MakefileWizardEvent e)(Code)
----------------------------------------------------



getCancelButton
public JButton getCancelButton()(Code)
Getter for Cancel button



getCurrentTargetKey
public int getCurrentTargetKey()(Code)
Used to determine the current target's TargetData



getFinishButton
public JButton getFinishButton()(Code)
Getter for Finish button



getFinishLabel
public String getFinishLabel()(Code)
Getter for Finish label



getFinishMnemonic
public int getFinishMnemonic()(Code)
Getter for Finish mnemonic



getMakefileData
final public MakefileData getMakefileData()(Code)
Getter for the data associated with a panel



getMakefileWizard
final public static MakefileWizard getMakefileWizard()(Code)



getNextButton
public JButton getNextButton()(Code)
Getter for Next button



getTemplateWizard
public TemplateWizard getTemplateWizard()(Code)



hasNext
public boolean hasNext()(Code)
Is there a next panel? true if so



hasPrevious
public boolean hasPrevious()(Code)
Is there a previous panel? true if so



initDirPaths
public void initDirPaths()(Code)
Set initial data in dialog



initMakefileName
public void initMakefileName()(Code)
Update MakefileData if the data was changed



initialize
public void initialize(TemplateWizard wiz)(Code)



instantiate
public Set instantiate(TemplateWizard wiz) throws IOException(Code)



name
public String name()(Code)
Current name of the panel



nextPanel
public synchronized void nextPanel()(Code)
Moves to the next panel. If the index points to a StepHeader then skip that and show the next panel.
exception:
  NoSuchElementException - if the panel does not exist



onFinish
public boolean onFinish()(Code)



previousPanel
public synchronized void previousPanel()(Code)
Moves to previous panel.
exception:
  NoSuchElementException - if the panel does not exist



removeChangeListener
final public void removeChangeListener(ChangeListener l)(Code)



removeMakefileWizardListener
public static void removeMakefileWizardListener(MakefileWizardListener l)(Code)



setFinishClosingEnabled
public void setFinishClosingEnabled(boolean b)(Code)
Will enable the finish button to close the dialog or not. The cancel button always closes the dialog.



setFinishEnabled
public void setFinishEnabled(boolean tf)(Code)
We need to reenable often because each button press disables the Finish button.



setTitle
final public void setTitle(String title)(Code)
Setter for the title string



showWizard
public static void showWizard()(Code)



targetExists
public boolean targetExists(int key)(Code)
Does a target with this key exist?



unexecuteWizard
public void unexecuteWizard()(Code)



uninitialize
public void uninitialize(TemplateWizard wiz)(Code)



updatePanels
public void updatePanels(int type)(Code)
Set the current Makefile type. This has the side affect of changing the array of panels wizard uses and the steps shown.



updateState
public void updateState()(Code)
Updates button state



updateStateHack
public void updateStateHack()(Code)
Updates button state



validateAllData
public ArrayList validateAllData()(Code)
Toplevel validation method. Gathers warnings from all panels



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.