Project Properties"

From Documentation
(update for zkstudio 2.0.0 release)
 
(8 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{ZKStudioEssentialsPageHeader}}
 
{{ZKStudioEssentialsPageHeader}}
In the Project Explorer, Package Explorer, Navigator view of Eclipse, select Dynamic Web Project or Pure Java Project, right click and select '''Properties'''. According to the kind of project you selected, there will be different preference pages.
 
  
== ZK Project (Dynamic Web Project with ZK support) ==
 
===ZK===
 
  
[[Image:ProjectPreferenceZK.png]]
 
  
This preference page lists the version number, library location, and the add-ons currently available for the current project's ZK package.
 
  
The '''Refresh ZK Library''' button is used to refresh add-on list in case any library jar files in this project were out of sync.
+
In the Project Explorer, Package Explorer, or Navigator view of Eclipse, right click a project and select "Properties" to open the project's '''Properties''' window. Expand the item '''ZK''', you can see several preference pages depending in which type of project you select. If the selected project is a dynamic web project with ZK support enabled in Project Facets, you can see all preference pages described below. Otherwise, '''Package Setting''' page is invisible.
  
 +
=ZK=
  
===Package Setting===
+
[[Image:studio-project-preference-zk.png | center | 700px]]
  
[[Image:ProjectPreferencePackageSetting.png|800px]]
+
This preference page lists the version number, library location, and the add-ons currently available for the current project's ZK package.
  
This preference page allows the user to change the project's ZK Library. To change the project's  ZK library, select a different ZK Package on the list and click Apply.
+
The '''Refresh the ZK Library''' button is used to refresh add-on list in case any library jar files in this project is out of sync.
  
*'''re-associate sources jar files Button'''
+
==Package Setting==
:Clicking this button will associate zk sources jar files (of the selected ZK Packages ) with the binary jar files of current project. For example, zk-sources.jar will be associated with zk.jar, and so on. This feature will link all zk jar files to its' source. Before using this feature, make sure you have *-sources.jar files in the ''ZK_Package_folder/libsrc'' in ZKs, eg. ''/Zks/Packages/3.5.2/libsrc/zk-sources.jar''.
 
  
*'''Force override project's existing resources when copying data'''
+
[[Image:studio-project-preference-package.png | center | 700px]]
:When you change the project's applied '''ZK Package''', this option controls whether Eclipse will overwrite all ZK library files .
 
  
===Visual Editor===
+
This preference page allows the user to change the project's ZK package. To change the project's  ZK package, select a different ZK Package on the list and click Apply.
  
This preference page allows you to configure the ZK Library used by the ZUL Visual Editor to generate previews.
+
*'''re-associate sources jar files''' button
 +
:Clicking this button will associate zk sources jar files (of the selected ZK Packages ) with the binary jar files of current project. For example, zk-sources.jar will be associated with zk.jar, and so on. This feature will link all zk jar files to its source. Before using this feature, make sure you have *-sources.jar files in the ''ZK_Package_folder/libsrc'' in ZKs, eg. ''/Zks/Packages/3.5.2/libsrc/zk-sources.jar''.
  
[[Image:ProjectPreferenceVusalEditor.png|800px]]
+
*'''Force override project's existing resources when copying data'''
 +
:When you change the project's applied '''ZK Package''', this option controls whether Eclipse will overwrite all ZK library files .
  
*'''Startup Library'''
+
==ZUL Editor==
 +
This preference page lists some of the options you can turn on/off to improve the performance of the ZUL Editor.
  
:This option lets the user configure which ZK Library should be used by the ZUL Visual Editor to generate previews. Select '''Use WEB-INF / lib''' to use the ZK library configured for this project; Select '''Use ZK Storage''' to use the ZK Packages installed in Eclipse which are listed in Global Preferences.
+
[[Image:studio-project-preference-editor.png | center | 700px]]
 
 
*'''Allowed Library List'''
 
:The list allows the user to configure which ZK library can be loaded when the visual editor starts. Not all the jar files inside '''WEB-INF/lib''' or '''ZKs''' will be loaded.
 
 
 
[[Image:zk_studio_094_ve_allowed_library.png|800px]]
 
 
 
===ZUL Editor===
 
This preference page lists some options you can turn on/off to improve the performance of the ZUL Editor.
 
 
 
[[Image:ProjectPreferenceZULEditor.png]]
 
  
 
*'''Enable mark occurrence'''
 
*'''Enable mark occurrence'''
Line 55: Line 42:
  
 
:Checking this option will enable Hyperlink Navigation within ZUL Editor. Turn this off for a performance boost.
 
:Checking this option will enable Hyperlink Navigation within ZUL Editor. Turn this off for a performance boost.
 
== Dynamic Web Project without the ZK Library ==
 
When not using the ZK Library you will find you have no '''Package Setting''' preference page. To enable this page you must install the '''ZK Supports''', which can be done using the project's preference window.
 
 
'''Visual Editor'''
 
 
This preference page allows you to configure the ZK Library used by the ZUL Visual Editor to generate previews.
 
 
[[Image:ProjectPreferenceVusalEditorOnlyDynamic.png|800px]]
 
 
*'''Startup Library'''
 
 
:This option lets the user configure which ZK Library is used by the ZUL Visual Editor to generate previews. Select '''Use WEB-INF / lib''' to use the ZK library configured for this project; Select '''Use ZKs''' to use the ZK Packages installed in Eclipse which are listed in Global Preferences.
 
  
  
'''ZUL Editor'''
 
  
This preference page lists some options you can turn on/off to improve the performance of ZUL Editor.
 
  
[[Image:ProjectPreferenceZULEditorOnlyDynamic.png|800px]]
 
  
*'''Enable mark occurrence'''
 
 
:Checking this option will enable the Mark Occurrence feature within the ZUL Editor. Turn this off for a performance boost.
 
 
*'''Enable syntax check'''
 
 
:Checking this option will enable syntax checking within ZUL Editor. Turn this off for a performance boost.
 
 
*'''Enable hyperlinking'''
 
 
:Checking this option will enable Hyperlink Navigation within ZUL Editor. Turn this off for a performance boost.
 
 
== Pure Java Project ==
 
When the ZK Library is not in use, you will find yourself that you do not have a '''Package Setting''' preference page. To enable this page you must use a Dynamic Web Project instead of pure Java project.
 
 
'''Visual Editor'''
 
 
This preference page allows the user to configure which ZK library is used to generate preview result in the Visual Editor.
 
 
[[Image:ProjectPreferenceVusalEditorPureJava.png]]
 
 
*'''Startup Library'''
 
:This option lets the user configure which ZK Library is used by the ZUL Visual Editor to generate previews. However, if the project is a pure Java Project, only the ZK Packages installed in Eclipse are applicable.
 
 
*'''Web Content'''
 
 
:Set the desired '''WebContent''' folder for this project.
 
 
'''Tips:''' The WebContent folder contains the file(s) you need to deploy to the server for this Web application.
 
 
 
'''ZUL Editor'''
 
 
This preference page lists some options you can turn on/off to improve the performance of ZUL Editor.
 
 
[[Image:ProjectPreferenceZULEditor.png]]
 
 
*'''Enable mark occurrence'''
 
 
:Checking this option will enable the Mark Occurrence feature within the ZUL Editor. Turn this off for a performance boost.
 
 
*'''Enable syntax check'''
 
 
:Checking this option will enable syntax checking within ZUL Editor. Turn this off for a performance boost.
 
 
*'''Enable hyperlinking'''
 
 
:Checking this option will enable Hyperlink Navigation within ZUL Editor. Turn this off for a performance boost.
 
  
 
[[Category:ZK Studio]]
 
[[Category:ZK Studio]]

Latest revision as of 07:41, 9 April 2013





In the Project Explorer, Package Explorer, or Navigator view of Eclipse, right click a project and select "Properties" to open the project's Properties window. Expand the item ZK, you can see several preference pages depending in which type of project you select. If the selected project is a dynamic web project with ZK support enabled in Project Facets, you can see all preference pages described below. Otherwise, Package Setting page is invisible.

ZK

Studio-project-preference-zk.png

This preference page lists the version number, library location, and the add-ons currently available for the current project's ZK package.

The Refresh the ZK Library button is used to refresh add-on list in case any library jar files in this project is out of sync.

Package Setting

Studio-project-preference-package.png

This preference page allows the user to change the project's ZK package. To change the project's ZK package, select a different ZK Package on the list and click Apply.

  • re-associate sources jar files button
Clicking this button will associate zk sources jar files (of the selected ZK Packages ) with the binary jar files of current project. For example, zk-sources.jar will be associated with zk.jar, and so on. This feature will link all zk jar files to its source. Before using this feature, make sure you have *-sources.jar files in the ZK_Package_folder/libsrc in ZKs, eg. /Zks/Packages/3.5.2/libsrc/zk-sources.jar.
  • Force override project's existing resources when copying data
When you change the project's applied ZK Package, this option controls whether Eclipse will overwrite all ZK library files .

ZUL Editor

This preference page lists some of the options you can turn on/off to improve the performance of the ZUL Editor.

Studio-project-preference-editor.png
  • Enable mark occurrence
Checking this option will enable the Mark Occurrence feature within the ZUL Editor. Turn this off for a performance boost.
  • Enable syntax check
Checking this option will enable syntax checking within ZUL Editor. Turn this off for a performance boost.
  • Enable hyperlinking
Checking this option will enable Hyperlink Navigation within ZUL Editor. Turn this off for a performance boost.



Last Update : 2013/04/09

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.