Java Doc for JarPackageWizardPage.java in  » IDE-Eclipse » jdt » org » eclipse » jdt » internal » ui » jarpackager » 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 Eclipse » jdt » org.eclipse.jdt.internal.ui.jarpackager 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.eclipse.jdt.internal.ui.jarpackager.JarPackageWizardPage

JarPackageWizardPage
class JarPackageWizardPage extends WizardExportResourcesPage implements IJarPackageWizardPage(Code)
Page 1 of the JAR Package wizard



Constructor Summary
public  JarPackageWizardPage(JarPackageData jarPackage, IStructuredSelection selection)
    

Method Summary
public  voidcreateControl(Composite parent)
    
protected  voidcreateDestinationGroup(Composite parent)
    
protected  voidcreateExportTypeGroup(Composite parent)
     Creates the export type controls.
protected  IFilecreateFileHandle(IPath filePath)
     Creates a file resource handle for the file with the given workspace path.
protected  voidcreateInputGroup(Composite parent)
     Creates the checkbox tree and list for selecting resources.
protected  voidcreateOptionsGroup(Composite parent)
     Create the export options specification widgets.
protected  booleanensureTargetFileIsValid(File targetFile)
     Returns a boolean indicating whether the passed File handle is is valid and available for use.
protected  IResourcefindResource(IPath path)
     Returns the resource for the specified path.
public  voidfinish()
    
protected  StringgetDestinationLabel()
    
protected  StringgetDestinationValue()
     Answer the contents of the destination specification widget.
protected  StringgetOutputSuffix()
     Answer the suffix that files exported from this wizard must have.
 Object[]getSelectedElementsWithoutContainedChildren()
    
protected  IteratorgetSelectedResourcesIterator()
     Returns an iterator over this page's collection of currently-specified elements to be exported.
protected  voidgiveFocusToDestination()
    
protected  voidhandleDestinationBrowseButtonPressed()
    
public  voidhandleEvent(Event e)
    
protected  voidinitializeJarPackage()
     Initializes the JAR package from last used wizard page values.
protected  voidinternalSaveWidgetValues()
     Hook method for subclasses to persist their settings.
public  booleanisPageComplete()
    
protected  voidopenRefactoringDialog()
     Opens the dialog to configure refactorings.
protected  voidrestoreWidgetValues()
     Hook method for restoring widget values to the values that they held last time this wizard was used to completion.
final public  voidsaveWidgetValues()
     Persists resource specification control setting that are to be restored in the next instance of this page.
public  voidsetPreviousPage(IWizardPage page)
    
protected  voidsetupBasedOnInitialSelections()
    
protected  voidupdate()
    
protected  voidupdateModel()
     Stores the widget values in the JAR package.
protected  voidupdatePageCompletion()
    
protected  voidupdateRefactoringMessage()
    
protected  voidupdateWidgetEnablements()
     Updates the enablement of this page's controls.
protected  booleanvalidateDestinationGroup()
    
protected  booleanvalidateOptionsGroup()
    
protected  booleanvalidateSourceGroup()
    


Constructor Detail
JarPackageWizardPage
public JarPackageWizardPage(JarPackageData jarPackage, IStructuredSelection selection)(Code)
Create an instance of this class




Method Detail
createControl
public void createControl(Composite parent)(Code)



createDestinationGroup
protected void createDestinationGroup(Composite parent)(Code)



createExportTypeGroup
protected void createExportTypeGroup(Composite parent)(Code)
Creates the export type controls.
Parameters:
  parent - the parent control



createFileHandle
protected IFile createFileHandle(IPath filePath)(Code)
Creates a file resource handle for the file with the given workspace path. This method does not create the file resource; this is the responsibility of createFile.
Parameters:
  filePath - the path of the file resource to create a handle for the new file resource handle



createInputGroup
protected void createInputGroup(Composite parent)(Code)
Creates the checkbox tree and list for selecting resources.
Parameters:
  parent - the parent control



createOptionsGroup
protected void createOptionsGroup(Composite parent)(Code)
Create the export options specification widgets.
Parameters:
  parent - org.eclipse.swt.widgets.Composite



ensureTargetFileIsValid
protected boolean ensureTargetFileIsValid(File targetFile)(Code)
Returns a boolean indicating whether the passed File handle is is valid and available for use. boolean



findResource
protected IResource findResource(IPath path)(Code)
Returns the resource for the specified path.
Parameters:
  path - the path for which the resource should be returned the resource specified by the path or null



finish
public void finish()(Code)



getDestinationLabel
protected String getDestinationLabel()(Code)
Answer the string to display in self as the destination type java.lang.String



getDestinationValue
protected String getDestinationValue()(Code)
Answer the contents of the destination specification widget. If this value does not have the required suffix then add it first. java.lang.String



getOutputSuffix
protected String getOutputSuffix()(Code)
Answer the suffix that files exported from this wizard must have. If this suffix is a file extension (which is typically the case) then it must include the leading period character. java.lang.String



getSelectedElementsWithoutContainedChildren
Object[] getSelectedElementsWithoutContainedChildren()(Code)



getSelectedResourcesIterator
protected Iterator getSelectedResourcesIterator()(Code)
Returns an iterator over this page's collection of currently-specified elements to be exported. This is the primary element selection facility accessor for subclasses. an iterator over the collection of elements currently selected for export



giveFocusToDestination
protected void giveFocusToDestination()(Code)
Set the current input focus to self's destination entry field



handleDestinationBrowseButtonPressed
protected void handleDestinationBrowseButtonPressed()(Code)
Open an appropriate destination browser so that the user can specify a source to import from



handleEvent
public void handleEvent(Event e)(Code)



initializeJarPackage
protected void initializeJarPackage()(Code)
Initializes the JAR package from last used wizard page values.



internalSaveWidgetValues
protected void internalSaveWidgetValues()(Code)
Hook method for subclasses to persist their settings.



isPageComplete
public boolean isPageComplete()(Code)



openRefactoringDialog
protected void openRefactoringDialog()(Code)
Opens the dialog to configure refactorings.



restoreWidgetValues
protected void restoreWidgetValues()(Code)
Hook method for restoring widget values to the values that they held last time this wizard was used to completion.



saveWidgetValues
final public void saveWidgetValues()(Code)
Persists resource specification control setting that are to be restored in the next instance of this page. Subclasses wishing to persist settings for their controls should extend the hook method internalSaveWidgetValues.



setPreviousPage
public void setPreviousPage(IWizardPage page)(Code)



setupBasedOnInitialSelections
protected void setupBasedOnInitialSelections()(Code)



update
protected void update()(Code)



updateModel
protected void updateModel()(Code)
Stores the widget values in the JAR package.



updatePageCompletion
protected void updatePageCompletion()(Code)



updateRefactoringMessage
protected void updateRefactoringMessage()(Code)



updateWidgetEnablements
protected void updateWidgetEnablements()(Code)
Updates the enablement of this page's controls. Subclasses may extend.



validateDestinationGroup
protected boolean validateDestinationGroup()(Code)



validateOptionsGroup
protected boolean validateOptionsGroup()(Code)



validateSourceGroup
protected boolean validateSourceGroup()(Code)



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