All Classes Namespaces Files Functions Variables
javafxmlpackage.wizards.PackageWizard Class Reference

Wizard, joka luo jyu ohj2 kurssin mukaisen javaFXML packagen. More...

Inheritance diagram for javafxmlpackage.wizards.PackageWizard:

Public Member Functions

 PackageWizard ()
 Constructor for PackageWizard.
 
void addPages ()
 Adding the page to the wizard.
 
boolean performFinish ()
 This method is called when 'Finish' button is pressed in the wizard.
 
void init (IWorkbench workbench, IStructuredSelection select)
 We will accept the selection in the workbench to see if we can initialize from it.
 

Protected Member Functions

void doFinish (String containerName, String packageName, String fileName, IProgressMonitor monitor) throws CoreException
 Luodaan tiedostot.
 

Private Member Functions

void tarkistaProjekti (IContainer cont, IProgressMonitor monitor) throws CoreException
 
StringBuilder getStringBuilder (InputStream stream) throws IOException
 muutetaa inputstream stringiksi, jotta voidaan muokkaa sitä
 
InputStream openContentStream (int monesko, String packageName, String fileName, String alkupFileName)
 Filujen sisältö...
 
InputStream openFxprojektStream (IContainer cont)
 
void throwCoreException (String message) throws CoreException
 

Private Attributes

PackageWizardPage page
 
ISelection selection
 

Detailed Description

Wizard, joka luo jyu ohj2 kurssin mukaisen javaFXML packagen.

Definition at line 25 of file PackageWizard.java.

Constructor & Destructor Documentation

javafxmlpackage.wizards.PackageWizard.PackageWizard ( )
inline

Constructor for PackageWizard.

Definition at line 32 of file PackageWizard.java.

Member Function Documentation

void javafxmlpackage.wizards.PackageWizard.addPages ( )
inline

Adding the page to the wizard.

Definition at line 42 of file PackageWizard.java.

void javafxmlpackage.wizards.PackageWizard.doFinish ( String  containerName,
String  packageName,
String  fileName,
IProgressMonitor  monitor 
) throws CoreException
inlineprotected

Luodaan tiedostot.

Parameters
containerNameprojektin src folder
packageNamepaketin nimi
fileNameohjelman nimi
monitoreclipse monitori
Exceptions
CoreExceptioneclipse joku core exception varmaanki

Definition at line 93 of file PackageWizard.java.

StringBuilder javafxmlpackage.wizards.PackageWizard.getStringBuilder ( InputStream  stream) throws IOException
inlineprivate

muutetaa inputstream stringiksi, jotta voidaan muokkaa sitä

Parameters
streamis
Returns
is -> string
Exceptions
IOException

Definition at line 294 of file PackageWizard.java.

void javafxmlpackage.wizards.PackageWizard.init ( IWorkbench  workbench,
IStructuredSelection  select 
)
inline

We will accept the selection in the workbench to see if we can initialize from it.

See Also
IWorkbenchWizard::init(IWorkbench, IStructuredSelection)

Definition at line 421 of file PackageWizard.java.

InputStream javafxmlpackage.wizards.PackageWizard.openContentStream ( int  monesko,
String  packageName,
String  fileName,
String  alkupFileName 
)
inlineprivate

Filujen sisältö...

tää ny siin plugin wizardis oli tehty tällei, että tehää samalla tavalla pienellä omalla jollai.. - iha varmuuden vuoks

monesko - 1 = .css tiedosto, 2 = Controller tiedosto, 3 = .java tiedosto, 4 = xml tiedosto

Definition at line 314 of file PackageWizard.java.

InputStream javafxmlpackage.wizards.PackageWizard.openFxprojektStream ( IContainer  cont)
inlineprivate

Definition at line 396 of file PackageWizard.java.

boolean javafxmlpackage.wizards.PackageWizard.performFinish ( )
inline

This method is called when 'Finish' button is pressed in the wizard.

We will create an operation and run it using wizard as execution context.

Definition at line 53 of file PackageWizard.java.

void javafxmlpackage.wizards.PackageWizard.tarkistaProjekti ( IContainer  cont,
IProgressMonitor  monitor 
) throws CoreException
inlineprivate

Definition at line 215 of file PackageWizard.java.

void javafxmlpackage.wizards.PackageWizard.throwCoreException ( String  message) throws CoreException
inlineprivate

Definition at line 409 of file PackageWizard.java.

Member Data Documentation

PackageWizardPage javafxmlpackage.wizards.PackageWizard.page
private

Definition at line 26 of file PackageWizard.java.

ISelection javafxmlpackage.wizards.PackageWizard.selection
private

Definition at line 27 of file PackageWizard.java.


The documentation for this class was generated from the following file: