Java Doc for IntroExtensionContent.java in  » IDE-Eclipse » ui » org » eclipse » ui » internal » intro » impl » model » 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 » org.eclipse.ui.internal.intro.impl.model 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.eclipse.ui.internal.intro.impl.model.AbstractIntroElement
      org.eclipse.ui.internal.intro.impl.model.IntroExtensionContent

IntroExtensionContent
public class IntroExtensionContent extends AbstractIntroElement (Code)
An intro container extension. If the content attribute is defined, then it is assumed that we have XHTML content in an external file. Load content from external DOM. No need to worry about caching here because this is a transient model class. It is used and then disregarded from the model.
Just like in a page, the styles and altStyles strings can be a comma separated list of styles. Handle this by storing styles just like pages.


Field Summary
final protected static  StringATT_ID
    
final protected static  StringATT_PATH
    
final protected static  StringTAG_CONTAINER_EXTENSION
    
final protected static  StringTAG_CONTAINER_REPLACE
    
final public static  intTYPE_CONTRIBUTION
    
final public static  intTYPE_REPLACEMENT
    

Constructor Summary
 IntroExtensionContent(Element element, Bundle bundle, String base, IConfigurationElement configExtElement)
    

Method Summary
protected  voidaddAltStyle(String altStyle, Bundle bundle)
     Adds the given style to the list.Style is not added if it already exists in the list.
protected  voidaddStyle(String style)
     Adds the given style to the list.
protected  HashtablegetAltStyles()
    
public  StringgetBase()
    
protected  Element[]getChildren()
    
public  StringgetContent()
    
public  Element[]getElements()
     Returns the elements loaded from the content attribute.
public  intgetExtensionType()
     Returns the extension type; either contribution into an anchor or replacement of an element.
public  StringgetId()
    
public  StringgetPath()
    
protected  String[]getStyles()
    
public  intgetType()
    
public  booleanisXHTMLContent()
    

Field Detail
ATT_ID
final protected static String ATT_ID(Code)



ATT_PATH
final protected static String ATT_PATH(Code)



TAG_CONTAINER_EXTENSION
final protected static String TAG_CONTAINER_EXTENSION(Code)



TAG_CONTAINER_REPLACE
final protected static String TAG_CONTAINER_REPLACE(Code)



TYPE_CONTRIBUTION
final public static int TYPE_CONTRIBUTION(Code)



TYPE_REPLACEMENT
final public static int TYPE_REPLACEMENT(Code)




Constructor Detail
IntroExtensionContent
IntroExtensionContent(Element element, Bundle bundle, String base, IConfigurationElement configExtElement)(Code)




Method Detail
addAltStyle
protected void addAltStyle(String altStyle, Bundle bundle)(Code)
Adds the given style to the list.Style is not added if it already exists in the list.
Parameters:
  altStyle -



addStyle
protected void addStyle(String style)(Code)
Adds the given style to the list. Style is not added if it already exists in the list.
Parameters:
  style -



getAltStyles
protected Hashtable getAltStyles()(Code)
Returns the altStyle.



getBase
public String getBase()(Code)



getChildren
protected Element[] getChildren()(Code)



getContent
public String getContent()(Code)
Returns the content.



getElements
public Element[] getElements()(Code)
Returns the elements loaded from the content attribute. This is the content that should be inserted for the extension. If it is a file, all child elements of body are returned. If it is a file with an id, only the element with the id is returned. the elements to be inserted



getExtensionType
public int getExtensionType()(Code)
Returns the extension type; either contribution into an anchor or replacement of an element.



getId
public String getId()(Code)



getPath
public String getPath()(Code)
Returns the path.



getStyles
protected String[] getStyles()(Code)
Returns the style.



getType
public int getType()(Code)



isXHTMLContent
public boolean isXHTMLContent()(Code)



Fields inherited from org.eclipse.ui.internal.intro.impl.model.AbstractIntroElement
final public static int ABSTRACT_CONTAINER(Code)(Java Doc)
final public static int ABSTRACT_PAGE(Code)(Java Doc)
final public static int ABSTRACT_TEXT(Code)(Java Doc)
final public static int ANCHOR(Code)(Java Doc)
final public static int BASE_ELEMENT(Code)(Java Doc)
final public static int CONTAINER_EXTENSION(Code)(Java Doc)
final public static int CONTENT_PROVIDER(Code)(Java Doc)
final public static int ELEMENT(Code)(Java Doc)
final public static int GROUP(Code)(Java Doc)
final public static int HEAD(Code)(Java Doc)
final public static int HOME_PAGE(Code)(Java Doc)
final public static int HR(Code)(Java Doc)
final public static int HTML(Code)(Java Doc)
final public static int ID_ELEMENT(Code)(Java Doc)
final public static int IMAGE(Code)(Java Doc)
final public static int INCLUDE(Code)(Java Doc)
final public static int INJECTED_IFRAME(Code)(Java Doc)
final public static int LAUNCH_BAR(Code)(Java Doc)
final public static int LAUNCH_BAR_SHORTCUT(Code)(Java Doc)
final public static int LINK(Code)(Java Doc)
final public static int MODEL_ROOT(Code)(Java Doc)
final public static int PAGE(Code)(Java Doc)
final public static int PAGE_TITLE(Code)(Java Doc)
final public static int PRESENTATION(Code)(Java Doc)
final public static int TEXT(Code)(Java Doc)
final public static int THEME(Code)(Java Doc)

Methods inherited from org.eclipse.ui.internal.intro.impl.model.AbstractIntroElement
final public static boolean allElementsAreOfType(AbstractIntroElement[] elements, int elementMask)(Code)(Java Doc)
public Object clone() throws CloneNotSupportedException(Code)(Java Doc)
protected String getAttribute(Element element, String att)(Code)(Java Doc)
protected String[] getAttributeList(Element element, String att)(Code)(Java Doc)
public Bundle getBundle()(Code)(Java Doc)
public IConfigurationElement getCfgElement()(Code)(Java Doc)
public Element getElement()(Code)(Java Doc)
public String getMixinStyle()(Code)(Java Doc)
public IntroModelRoot getModelRoot()(Code)(Java Doc)
public AbstractIntroElement getParent()(Code)(Java Doc)
public AbstractIntroPage getParentPage()(Code)(Java Doc)
abstract public int getType()(Code)(Java Doc)
public boolean isOfType(int elementMask)(Code)(Java Doc)
protected void loadFromParent()(Code)(Java Doc)
public void setBundle(Bundle bundle)(Code)(Java Doc)
public void setMixinStyle(String mixinStyle)(Code)(Java Doc)
public void setParent(AbstractIntroElement parent)(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)

w___w___w_.j__a__v__a___2___s._c_o___m___ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.