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


org.eclipse.jdt.ui.wizards.NewElementWizardPage
   org.eclipse.jdt.ui.wizards.NewContainerWizardPage
      org.eclipse.jdt.ui.wizards.NewPackageWizardPage

NewPackageWizardPage
public class NewPackageWizardPage extends NewContainerWizardPage (Code)
Wizard page to create a new package.

Note: This class is not intended to be subclassed, but clients can instantiate. To implement a different kind of a new package wizard page, extend NewContainerWizardPage.


since:
   2.0



Constructor Summary
public  NewPackageWizardPage()
    

Method Summary
public  voidcreateControl(Composite parent)
    
public  voidcreatePackage(IProgressMonitor monitor)
     Creates the new package using the entered field values.
Parameters:
  monitor - a progress monitor to report progress.
public  IResourcegetModifiedResource()
     Returns the resource handle that corresponds to the element to was created or will be created.
public  IPackageFragmentgetNewPackageFragment()
     Returns the created package fragment.
public  StringgetPackageText()
     Returns the content of the package input field.
public  IRunnableWithProgressgetRunnable()
     Returns a runnable that creates a package using the current settings.
protected  voidhandleFieldChanged(String fieldName)
    
public  voidinit(IStructuredSelection selection)
     The wizard owning this page is responsible for calling this method with the current selection.
protected  voidsetFocus()
     Sets the focus to the package name input field.
public  voidsetPackageText(String str, boolean canBeModified)
     Sets the content of the package input field to the given value.
public  voidsetVisible(boolean visible)
    


Constructor Detail
NewPackageWizardPage
public NewPackageWizardPage()(Code)
Creates a new NewPackageWizardPage




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



createPackage
public void createPackage(IProgressMonitor monitor) throws CoreException, InterruptedException(Code)
Creates the new package using the entered field values.
Parameters:
  monitor - a progress monitor to report progress. The progressmonitor must not be null
throws:
  CoreException - Thrown if creating the package failed.
throws:
  InterruptedException - Thrown when the operation has been canceled.
since:
   2.1



getModifiedResource
public IResource getModifiedResource()(Code)
Returns the resource handle that corresponds to the element to was created or will be created. A resource or null if the page contains illegal values.
since:
   3.0



getNewPackageFragment
public IPackageFragment getNewPackageFragment()(Code)
Returns the created package fragment. This method only returns a valid value after getRunnable or createPackage have been executed. the created package fragment



getPackageText
public String getPackageText()(Code)
Returns the content of the package input field. the content of the package input field



getRunnable
public IRunnableWithProgress getRunnable()(Code)
Returns a runnable that creates a package using the current settings. the runnable that creates the new package



handleFieldChanged
protected void handleFieldChanged(String fieldName)(Code)



init
public void init(IStructuredSelection selection)(Code)
The wizard owning this page is responsible for calling this method with the current selection. The selection is used to initialize the fields of the wizard page.
Parameters:
  selection - used to initialize the fields



setFocus
protected void setFocus()(Code)
Sets the focus to the package name input field.



setPackageText
public void setPackageText(String str, boolean canBeModified)(Code)
Sets the content of the package input field to the given value.
Parameters:
  str - the new package input field text
Parameters:
  canBeModified - if true the package inputfield can be modified; otherwise it is read-only.



setVisible
public void setVisible(boolean visible)(Code)

See Also:   org.eclipse.jface.dialogs.IDialogPage.setVisible(boolean)



Fields inherited from org.eclipse.jdt.ui.wizards.NewContainerWizardPage
final protected static String CONTAINER(Code)(Java Doc)
protected IStatus fContainerStatus(Code)(Java Doc)

Methods inherited from org.eclipse.jdt.ui.wizards.NewContainerWizardPage
protected IPackageFragmentRoot chooseContainer()(Code)(Java Doc)
protected IStatus containerChanged()(Code)(Java Doc)
protected void createContainerControls(Composite parent, int nColumns)(Code)(Java Doc)
protected String getContainerLabel()(Code)(Java Doc)
protected ITextSelection getCurrentTextSelection()(Code)(Java Doc)
protected IJavaElement getInitialJavaElement(IStructuredSelection selection)(Code)(Java Doc)
public IJavaProject getJavaProject()(Code)(Java Doc)
protected int getMaxFieldWidth()(Code)(Java Doc)
public IPackageFragmentRoot getPackageFragmentRoot()(Code)(Java Doc)
public String getPackageFragmentRootText()(Code)(Java Doc)
protected IWorkspaceRoot getWorkspaceRoot()(Code)(Java Doc)
protected void handleFieldChanged(String fieldName)(Code)(Java Doc)
protected void initContainerPage(IJavaElement elem)(Code)(Java Doc)
protected void setFocusOnContainer()(Code)(Java Doc)
public void setPackageFragmentRoot(IPackageFragmentRoot root, boolean canBeModified)(Code)(Java Doc)

Methods inherited from org.eclipse.jdt.ui.wizards.NewElementWizardPage
public void setVisible(boolean visible)(Code)(Java Doc)
protected void updateStatus(IStatus status)(Code)(Java Doc)
protected void updateStatus(IStatus[] status)(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.