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


java.lang.Object
   org.eclipse.ui.views.markers.internal.Util

Util
final public class Util (Code)
The Util class is the class of general utilities used by the marker support.


Field Summary
final static  MarkerNode[]EMPTY_MARKER_ARRAY
    
static  StringEMPTY_STRING
    
static  StringLINE_FEED_AND_TAB
    
final static  intLONG_DELAY
    
final static  intSHORT_DELAY
    
static  StringTWO_LINE_FEED
    
final static  StringTYPE_MARKER_GROUPING_ID
    


Method Summary
public static  booleanallConcreteSelection(IStructuredSelection selection)
     Return whether or not all of the elements in the selection are concrete.
public static  IStatuserrorStatus(Throwable exception)
     Return an error status for the given exception.
public static  StringgetContainerName(IMarker marker)
     Get the name of the container.
public static  StringgetCreationTime(long timestamp)
    
public static  StringgetCreationTime(IMarker marker)
     Get the human readable creation time from the marker.
public static  ImagegetImage(int severity)
     Get the image for the severity if it can be identified.
public static  StringgetProperty(String property, IMarker marker)
     Get the propery called property from the marker.
public static  StringgetResourceName(IMarker marker)
     Get the name of the element.
public static  StringgetShortContainerName(IMarker marker)
    
public static  booleanisEditable(IMarker marker)
     Return whether or not the marker is editable.
static  booleanisSingleConcreteSelection(IStructuredSelection selection)
     Return whether or not the selection has one element that is concrete.
public static  voidlog(CoreException exception)
     Log the exception.

Field Detail
EMPTY_MARKER_ARRAY
final static MarkerNode[] EMPTY_MARKER_ARRAY(Code)



EMPTY_STRING
static String EMPTY_STRING(Code)



LINE_FEED_AND_TAB
static String LINE_FEED_AND_TAB(Code)



LONG_DELAY
final static int LONG_DELAY(Code)



SHORT_DELAY
final static int SHORT_DELAY(Code)



TWO_LINE_FEED
static String TWO_LINE_FEED(Code)



TYPE_MARKER_GROUPING_ID
final static String TYPE_MARKER_GROUPING_ID(Code)





Method Detail
allConcreteSelection
public static boolean allConcreteSelection(IStructuredSelection selection)(Code)
Return whether or not all of the elements in the selection are concrete.
Parameters:
  selection - code if all of the elements are concrete.



errorStatus
public static IStatus errorStatus(Throwable exception)(Code)
Return an error status for the given exception.
Parameters:
  exception - IStatus



getContainerName
public static String getContainerName(IMarker marker)(Code)
Get the name of the container. If the marker has the MarkerViewUtil#PATH_ATTRIBUTE set use that. Otherwise use the path of the parent resource.
Parameters:
  marker - String



getCreationTime
public static String getCreationTime(long timestamp)(Code)
Get the human readable creation time from the timestamp
Parameters:
  timestamp - String



getCreationTime
public static String getCreationTime(IMarker marker)(Code)
Get the human readable creation time from the marker.
Parameters:
  marker - String



getImage
public static Image getImage(int severity)(Code)
Get the image for the severity if it can be identified.
Parameters:
  severity - Image or null



getProperty
public static String getProperty(String property, IMarker marker)(Code)
Get the propery called property from the marker. If it is not found return the empty string.
Parameters:
  property -
Parameters:
  marker - String



getResourceName
public static String getResourceName(IMarker marker)(Code)
Get the name of the element. If the marker has the MarkerViewUtil#NAME_ATTRIBUTE set use that. Otherwise use the name of the resource.
Parameters:
  marker - String



getShortContainerName
public static String getShortContainerName(IMarker marker)(Code)
Get the short name for the container
Parameters:
  marker - String



isEditable
public static boolean isEditable(IMarker marker)(Code)
Return whether or not the marker is editable.
Parameters:
  marker - boolean true if it is editable



isSingleConcreteSelection
static boolean isSingleConcreteSelection(IStructuredSelection selection)(Code)
Return whether or not the selection has one element that is concrete.
Parameters:
  selection - code if the selection has one element that isconcrete.



log
public static void log(CoreException exception)(Code)
Log the exception.
Parameters:
  exception -



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.