Java Doc for IntroPartPresentation.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.IntroPartPresentation

IntroPartPresentation
public class IntroPartPresentation extends AbstractIntroElement (Code)
This class models the presentation element contributed to a config extension point. The Presentation class delegates UI creation to the actual Implementation class, and passes the IntroPart along to this implementation class. Also, dynamic awarness is honored here.

Rules:

  • There is no model class for the "implementation" markup element. This presentation class inherits information from the implementation class that is picked (based on OS, ...).
  • ID attribute of this model class is the id of the picked implementation element.
  • Style attribute in this model class is the style of the picked implementation element.
  • HTMLHeadContent in this model class is the HEAD element under the picked implementation element, only if the implementation element is a Browser implmenetation.
  • The UI model class, AbstractIntroPartImplementation, that represents the IntroPart implementation is cached here for quick access. It is used by intro url actions for manipulation of UI.
    INTRO:This really should be in a UI model class.


Field Summary
final protected static  StringATT_HOME_PAGE_ID
    
final protected static  StringATT_STANDBY_PAGE_ID
    
final public static  StringBROWSER_IMPL_KIND
    
final public static  StringFORMS_IMPL_KIND
    
final protected static  StringTAG_PRESENTATION
    

Constructor Summary
 IntroPartPresentation(IConfigurationElement element)
    

Method Summary
public  voidcreatePartControl(Composite parent)
     Creates the UI based on the implementation class.
public  voiddispose()
     Called when the IntroPart is disposed.
public  IntroHeadgetHead()
    
public  StringgetHomePageId()
    
public  StringgetImplementationKind()
     Returns the type attribute of the implementation picked by this presentation.
public  String[]getImplementationStyles()
     Returns the styles associated with the Presentation.
public  IIntroPartgetIntroPart()
     Returns the the Customizable Intro Part.
public  AbstractIntroPartImplementationgetIntroPartImplementation()
    
public  IntroLaunchBarElementgetLaunchBarElement()
     Returns the launch bar element if defined in this presentation, or null otherwise.
public  StringgetSharedStyle(String kind)
     Util method to load shared style from given kind.
public  StringgetStandbyPageId()
    
public  intgetType()
    
public  voidinit(IIntroPart introPart, IMemento memento)
    
public  booleannavigateBackward()
    
public  booleannavigateForward()
    
public  booleannavigateHome()
    
public  voidregistryChanged(IRegistryChangeEvent event)
     Support dynamic awarness.
public  voidsaveState(IMemento memento)
     Save the current state of the intro.
public  voidsetFocus()
    
public  voidstandbyStateChanged(boolean standby, boolean isStandbyPartNeeded)
    
public  voidupdateHistory(AbstractIntroPage page)
    

Field Detail
ATT_HOME_PAGE_ID
final protected static String ATT_HOME_PAGE_ID(Code)



ATT_STANDBY_PAGE_ID
final protected static String ATT_STANDBY_PAGE_ID(Code)



BROWSER_IMPL_KIND
final public static String BROWSER_IMPL_KIND(Code)



FORMS_IMPL_KIND
final public static String FORMS_IMPL_KIND(Code)



TAG_PRESENTATION
final protected static String TAG_PRESENTATION(Code)




Constructor Detail
IntroPartPresentation
IntroPartPresentation(IConfigurationElement element)(Code)




Method Detail
createPartControl
public void createPartControl(Composite parent)(Code)
Creates the UI based on the implementation class.
See Also:   org.eclipse.ui.IWorkbenchPart.createPartControl(org.eclipse.swt.widgets.Composite)



dispose
public void dispose()(Code)
Called when the IntroPart is disposed. Forwards the call to the implementation class.



getHead
public IntroHead getHead()(Code)
Returns the HTML head conttent to be added to each dynamic html page in thispresentation..



getHomePageId
public String getHomePageId()(Code)
Returns the homePageId.



getImplementationKind
public String getImplementationKind()(Code)
Returns the type attribute of the implementation picked by this presentation. Returns the implementationKind.



getImplementationStyles
public String[] getImplementationStyles()(Code)
Returns the styles associated with the Presentation. May be null if no shared presentation style is needed, or in the case of static HTML OOBE. Returns the array of styles or null if not defined.



getIntroPart
public IIntroPart getIntroPart()(Code)
Returns the the Customizable Intro Part. may return null if init() has not been called yet on the presentation. Returns the introPart.



getIntroPartImplementation
public AbstractIntroPartImplementation getIntroPartImplementation()(Code)



getLaunchBarElement
public IntroLaunchBarElement getLaunchBarElement()(Code)
Returns the launch bar element if defined in this presentation, or null otherwise.
since:
   3.1



getSharedStyle
public String getSharedStyle(String kind)(Code)
Util method to load shared style from given kind.



getStandbyPageId
public String getStandbyPageId()(Code)
Returns the homePageId.



getType
public int getType()(Code)



init
public void init(IIntroPart introPart, IMemento memento)(Code)

Parameters:
  introPart -



navigateBackward
public boolean navigateBackward()(Code)



navigateForward
public boolean navigateForward()(Code)



navigateHome
public boolean navigateHome()(Code)



registryChanged
public void registryChanged(IRegistryChangeEvent event)(Code)
Support dynamic awarness. Clear cached models first, then update UI by delegating to implementation.
See Also:   org.eclipse.core.runtime.IRegistryChangeListener.registryChanged(org.eclipse.core.runtime.IRegistryChangeEvent)



saveState
public void saveState(IMemento memento)(Code)
Save the current state of the intro. Delegate to the implementation to do the work, as different implementations may have different requirements.
Parameters:
  memento - the memento in which to store state information



setFocus
public void setFocus()(Code)



standbyStateChanged
public void standbyStateChanged(boolean standby, boolean isStandbyPartNeeded)(Code)



updateHistory
public void updateHistory(AbstractIntroPage page)(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_va_2s__._co___m_ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.