Java Doc for CmsToolDialog.java in  » Content-Management-System » opencms » org » opencms » workplace » tools » 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 » Content Management System » opencms » org.opencms.workplace.tools 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.opencms.workplace.CmsWorkplace
      org.opencms.workplace.tools.CmsToolDialog

All known Subclasses:   org.opencms.workplace.administration.CmsAdminFrameset,  org.opencms.workplace.administration.CmsAdminMenu,  org.opencms.workplace.CmsDialog,
CmsToolDialog
public class CmsToolDialog extends CmsWorkplace (Code)
Helper class that encapsulates all the code for the "new" style of the administration dialogs.


author:
   Michael Moossen
version:
   $Revision: 1.39 $
since:
   6.0.0



Field Summary
final public static  StringPARAM_BASE
     Request parameter name for the base tool path in the navegation, should be a parent tool of path.
final public static  StringPARAM_PATH
     Request parameter name for the tool path, should be an accesible tool under the given root.
final public static  StringPARAM_ROOT
     Request parameter name for the root tool path.
final public static  StringPARAM_STYLE
     Request parameter name for the style type.
final public static  StringSTYLE_NEW
     Request parameter value for the 'new' dialog style.

Constructor Summary
public  CmsToolDialog(CmsJspActionElement jsp)
    

Method Summary
public  StringdialogScriptSubmit()
    
public  StringdialogTitle()
    
public  CmsToolgetAdminTool()
    
public  StringgetCurrentToolPath()
    
public  StringgetParamBase()
    
public  StringgetParamPath()
    
public  StringgetParamRoot()
    
public  StringgetParamStyle()
    
public  StringgetParentPath()
    
public  CmsToolManagergetToolManager()
    
public  StringiconsBlockArea(int segment, String headline)
    
public  StringiconsBlockAreaEnd()
    
public  StringiconsBlockAreaStart(String headline)
    
public  MapinitAdminTool()
    
protected  voidinitWorkplaceRequestValues(CmsWorkplaceSettings settings, HttpServletRequest request)
    
public  StringpageBody(int segment, String className, String parameters)
    
public  StringpageHtmlStyle(int segment, String title, String stylesheet)
    
public  voidsetParamBase(String paramBase)
    
public  voidsetParamPath(String paramPath)
    
public  voidsetParamRoot(String paramRoot)
    
public  voidsetParamStyle(String paramStyle)
    
public  booleanuseNewStyle()
    

Field Detail
PARAM_BASE
final public static String PARAM_BASE(Code)
Request parameter name for the base tool path in the navegation, should be a parent tool of path.



PARAM_PATH
final public static String PARAM_PATH(Code)
Request parameter name for the tool path, should be an accesible tool under the given root.



PARAM_ROOT
final public static String PARAM_ROOT(Code)
Request parameter name for the root tool path.



PARAM_STYLE
final public static String PARAM_STYLE(Code)
Request parameter name for the style type.



STYLE_NEW
final public static String STYLE_NEW(Code)
Request parameter value for the 'new' dialog style.




Constructor Detail
CmsToolDialog
public CmsToolDialog(CmsJspActionElement jsp)(Code)
Default Constructor.


Parameters:
  jsp - the jsp action element





Method Detail
dialogScriptSubmit
public String dialogScriptSubmit()(Code)
Builds the standard javascript for submitting the dialog.

Should only be used by the CmsDialog.dialogScriptSubmit method.

the standard javascript for submitting the dialog




dialogTitle
public String dialogTitle()(Code)
Generates the standard new style dialog title row, and tool grouping.

It is called by the org.opencms.workplace.CmsDialog.dialog(intString) method.

a dialog window start / end segment




getAdminTool
public CmsTool getAdminTool()(Code)
Returns the admin tool.

the admin tool




getCurrentToolPath
public String getCurrentToolPath()(Code)
Returns the current tool path.

the current tool path




getParamBase
public String getParamBase()(Code)
Returns the value for the base parameter.

the value for the base parameter




getParamPath
public String getParamPath()(Code)
Returns the path parameter value.

the path parameter value




getParamRoot
public String getParamRoot()(Code)
Returns the root parameter value.

the root parameter value




getParamStyle
public String getParamStyle()(Code)
Returns the style parameter value.

the style parameter value




getParentPath
public String getParentPath()(Code)
Returns the path to the parent tool.

tha path to the parent tool




getToolManager
public CmsToolManager getToolManager()(Code)
Returns the tool manager.

the tool manager




iconsBlockArea
public String iconsBlockArea(int segment, String headline)(Code)
Builds an block area for icons.


Parameters:
  segment - the HTML segment (START / END)
Parameters:
  headline - the headline String for the block block area start / end segment
See Also:   CmsDialog.dialogBlock(intStringboolean)




iconsBlockAreaEnd
public String iconsBlockAreaEnd()(Code)
Builds the end HTML for a block area with border in the dialog content area.

block area end segment
See Also:   CmsDialog.dialogBlockEnd




iconsBlockAreaStart
public String iconsBlockAreaStart(String headline)(Code)
Builds the start HTML for a block area with border and optional subheadline in the dialog content area.


Parameters:
  headline - the headline String for the block block area start segment
See Also:   CmsDialog.dialogBlockStart(String)




initAdminTool
public Map initAdminTool() throws CmsRoleViolationException(Code)
Initializes the admin tool main view.

the new modified params array
throws:
  CmsRoleViolationException - in case the dialog is opened by a user without the necessary privileges




initWorkplaceRequestValues
protected void initWorkplaceRequestValues(CmsWorkplaceSettings settings, HttpServletRequest request)(Code)

See Also:   org.opencms.workplace.CmsWorkplace.initWorkplaceRequestValues(org.opencms.workplace.CmsWorkplaceSettingsjavax.servlet.http.HttpServletRequest)



pageBody
public String pageBody(int segment, String className, String parameters)(Code)

See Also:   org.opencms.workplace.CmsWorkplace.pageBody(intjava.lang.Stringjava.lang.String)



pageHtmlStyle
public String pageHtmlStyle(int segment, String title, String stylesheet)(Code)

See Also:   org.opencms.workplace.CmsWorkplace.pageHtmlStyle(intjava.lang.Stringjava.lang.String)



setParamBase
public void setParamBase(String paramBase)(Code)
Sets the value of the base parameter.


Parameters:
  paramBase - the value of the base parameter to set




setParamPath
public void setParamPath(String paramPath)(Code)
Sets the path parameter value.


Parameters:
  paramPath - the path parameter value to set




setParamRoot
public void setParamRoot(String paramRoot)(Code)
Sets the root parameter value.


Parameters:
  paramRoot - the root parameter value to set




setParamStyle
public void setParamStyle(String paramStyle)(Code)
Sets the style parameter value.


Parameters:
  paramStyle - the style parameter value to set




useNewStyle
public boolean useNewStyle()(Code)
Tests if we are working with the new administration dialog style.

The default is the new style, this param is not intented for external use.

true if using the new style




Fields inherited from org.opencms.workplace.CmsWorkplace
final public static boolean DEBUG(Code)(Java Doc)
final public static String DEFAULT_LANGUAGE(Code)(Java Doc)
final public static Locale DEFAULT_LOCALE(Code)(Java Doc)
final public static String DIALOG_PATH_COMMON(Code)(Java Doc)
final public static String FILE_DIALOG_CLOSE(Code)(Java Doc)
final public static String FILE_DIALOG_SCREEN_CONFIRM(Code)(Java Doc)
final public static String FILE_DIALOG_SCREEN_ERROR(Code)(Java Doc)
final public static String FILE_DIALOG_SCREEN_ERRORPAGE(Code)(Java Doc)
final public static String FILE_DIALOG_SCREEN_WAIT(Code)(Java Doc)
final public static String FILE_EXPLORER_FILELIST(Code)(Java Doc)
final public static String FILE_REPORT_OUTPUT(Code)(Java Doc)
final public static int HTML_END(Code)(Java Doc)
final public static int HTML_START(Code)(Java Doc)
final public static String PARAM_WP_EXPLORER_RESOURCE(Code)(Java Doc)
final public static String PARAM_WP_PROJECT(Code)(Java Doc)
final public static String PARAM_WP_SITE(Code)(Java Doc)
final public static String PATH_DIALOGS(Code)(Java Doc)
final public static String PATH_WORKPLACE(Code)(Java Doc)
final protected static String REQUEST_ATTRIBUTE_MULTIPART(Code)(Java Doc)
final protected static String REQUEST_ATTRIBUTE_RELOADTREE(Code)(Java Doc)
final public static String RFS_PATH_RESOURCES(Code)(Java Doc)
final protected static String SESSION_WORKPLACE_CLASS(Code)(Java Doc)
final public static String TEMP_FILE_PREFIX(Code)(Java Doc)
final public static String VFS_DIR_DEFAULTBODIES(Code)(Java Doc)
final public static String VFS_DIR_TEMPLATES(Code)(Java Doc)
final public static String VFS_PATH_COMMONS(Code)(Java Doc)
final public static String VFS_PATH_EDITORS(Code)(Java Doc)
final public static String VFS_PATH_GALLERIES(Code)(Java Doc)
final public static String VFS_PATH_LOCALES(Code)(Java Doc)
final public static String VFS_PATH_MODULES(Code)(Java Doc)
final public static String VFS_PATH_RESOURCES(Code)(Java Doc)
final public static String VFS_PATH_SYSTEM(Code)(Java Doc)
final public static String VFS_PATH_VIEWS(Code)(Java Doc)
final public static String VFS_PATH_WORKPLACE(Code)(Java Doc)

Methods inherited from org.opencms.workplace.CmsWorkplace
protected void addMessages(CmsMessages messages)(Code)(Java Doc)
protected void addMessages(String bundleName)(Code)(Java Doc)
protected Map allParamValues()(Code)(Java Doc)
public String allParamsAsHidden()(Code)(Java Doc)
public String allParamsAsRequest()(Code)(Java Doc)
public String bodyEnd()(Code)(Java Doc)
public String bodyStart(String className)(Code)(Java Doc)
public String bodyStart(String className, String parameters)(Code)(Java Doc)
public static String buildSelect(String parameters, List options, List values, int selected, boolean useLineFeed)(Code)(Java Doc)
public String buildSelect(String parameters, List options, List values, int selected)(Code)(Java Doc)
public String button(String href, String target, String image, String label, int type)(Code)(Java Doc)
public String button(String href, String target, String image, String label, int type, String imagePath)(Code)(Java Doc)
public String buttonBar(int segment)(Code)(Java Doc)
public String buttonBar(int segment, String attributes)(Code)(Java Doc)
public String buttonBarHorizontalLine()(Code)(Java Doc)
public String buttonBarLabel(String label)(Code)(Java Doc)
public String buttonBarLabel(String label, String className)(Code)(Java Doc)
public String buttonBarLine(int leftPixel, int rightPixel, String className)(Code)(Java Doc)
public String buttonBarLineSpacer(int pixel)(Code)(Java Doc)
public String buttonBarSeparator(int leftPixel, int rightPixel)(Code)(Java Doc)
public String buttonBarSpacer(int width)(Code)(Java Doc)
public String buttonBarStartTab(int leftPixel, int rightPixel)(Code)(Java Doc)
public void checkLock(String resource) throws CmsException(Code)(Java Doc)
public void checkLock(String resource, CmsLockType type) throws CmsException(Code)(Java Doc)
protected void checkRole() throws CmsRoleViolationException(Code)(Java Doc)
protected String decodeParamValue(String paramName, String paramValue)(Code)(Java Doc)
public void fillParamValues(CmsWorkplaceSettings settings, HttpServletRequest request)(Code)(Java Doc)
public void fillParamValues(HttpServletRequest request)(Code)(Java Doc)
public String getBroadcastMessageString()(Code)(Java Doc)
public CmsObject getCms()(Code)(Java Doc)
public String getEncoding()(Code)(Java Doc)
public String getExplorerFileListFullUri()(Code)(Java Doc)
public String getFrameSource(String frameName, String uri)(Code)(Java Doc)
public CmsJspActionElement getJsp()(Code)(Java Doc)
public Locale getLocale()(Code)(Java Doc)
public CmsMacroResolver getMacroResolver()(Code)(Java Doc)
public CmsMessages getMessages()(Code)(Java Doc)
public List getMultiPartFileItems()(Code)(Java Doc)
protected Map getParameterMap()(Code)(Java Doc)
public static String getResourceUri(String resourceName)(Code)(Java Doc)
public String getResourceUri()(Code)(Java Doc)
public HttpSession getSession()(Code)(Java Doc)
public CmsWorkplaceSettings getSettings()(Code)(Java Doc)
public static String getSkinUri()(Code)(Java Doc)
public static String getStyleUri(CmsJspActionElement jsp)(Code)(Java Doc)
public static String getStyleUri(CmsJspActionElement jsp, String filename)(Code)(Java Doc)
public String getStyleUri(String filename)(Code)(Java Doc)
public static String getTemporaryFileName(String resourceName)(Code)(Java Doc)
public String htmlEnd()(Code)(Java Doc)
public String htmlStart(String title)(Code)(Java Doc)
protected void initMessages()(Code)(Java Doc)
public boolean initSettings(CmsWorkplaceSettings settings, HttpServletRequest request)(Code)(Java Doc)
protected void initTimeWarp(CmsUserSettings settings, HttpSession session)(Code)(Java Doc)
public static CmsWorkplaceSettings initUserSettings(CmsObject cms, CmsWorkplaceSettings settings, boolean update)(Code)(Java Doc)
protected void initWorkplaceMembers(CmsJspActionElement jsp)(Code)(Java Doc)
abstract protected void initWorkplaceRequestValues(CmsWorkplaceSettings settings, HttpServletRequest request)(Code)(Java Doc)
public static synchronized CmsWorkplaceSettings initWorkplaceSettings(CmsObject cms, CmsWorkplaceSettings settings, boolean update)(Code)(Java Doc)
public boolean isForwarded()(Code)(Java Doc)
public boolean isHelpEnabled()(Code)(Java Doc)
public boolean isSubElement()(Code)(Java Doc)
public static boolean isTemporaryFile(CmsResource resource)(Code)(Java Doc)
public static boolean isTemporaryFileName(String resourceName)(Code)(Java Doc)
public String key(String keyName)(Code)(Java Doc)
public String key(String keyName, Object[] params)(Code)(Java Doc)
public String keyDefault(String keyName, String defaultValue)(Code)(Java Doc)
public String nullToEmpty(String value)(Code)(Java Doc)
public String pageBody(int segment, String className, String parameters)(Code)(Java Doc)
public String pageHtml(int segment, String title)(Code)(Java Doc)
public String pageHtmlStyle(int segment, String title, String stylesheet)(Code)(Java Doc)
protected Map paramValues()(Code)(Java Doc)
public String paramsAsHidden()(Code)(Java Doc)
public String paramsAsHidden(Collection excludes)(Code)(Java Doc)
public Map paramsAsParameterMap()(Code)(Java Doc)
public String paramsAsRequest()(Code)(Java Doc)
public String resolveMacros(String input)(Code)(Java Doc)
public void sendCmsRedirect(String location) throws IOException(Code)(Java Doc)
public void sendForward(String location, Map params) throws IOException, ServletException(Code)(Java Doc)
public void setForwarded(boolean forwarded)(Code)(Java Doc)
public String shortKey(String keyName)(Code)(Java Doc)
protected void switchToCurrentProject() throws CmsException(Code)(Java Doc)
protected CmsUUID switchToTempProject() throws CmsException(Code)(Java Doc)

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.