blob: 02e04939f0cb570ed913648bc0060b1542f76fb5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
|
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>
<extension
point="org.eclipse.ui.preferencePages">
<page
category="org.eclipse.jst.jsf.ui.JSFRootPage"
class="org.eclipse.jst.jsf.facesconfig.ui.preference.GEMPreferences"
id="org.eclipse.jst.jsf.facesconfig.ui.preference.GEMPreferences"
name="%preferencepage.jsffacesconfigui.name"/>
</extension>
<extension point="org.eclipse.ui.editors">
<editor
class="org.eclipse.jst.jsf.facesconfig.ui.FacesConfigEditor"
contributorClass="org.eclipse.jst.jsf.facesconfig.ui.FacesConfigActionBarContributor"
default="false"
icon="icons/facesconfig/FacesConfig_Plugin.gif"
id="org.eclipse.jst.jsf.facesconfig.ui.FacesConfigEditor"
name="%facesConfigEditor">
<contentTypeBinding
contentTypeId="org.eclipse.jst.jsf.facesconfig.facesConfigFile" />
</editor>
</extension>
<!-- ********** Introduction Page of PageFlow editor************** -->
<extension id="org.eclipse.jst.jsf.facesconfig.ui.FacesConfigEditor"
name="%pageflow.editor.intro.name"
point="org.eclipse.jst.jsf.common.ui.introductionPage">
<introductionpage name="%pageflow.editor.intro.name"
description="%pageflow.editor.intro.description">
<introductionelement icon="icons/FacesConfig_Introduction.gif"
heading="%pageflow.editor.intro.section.heading"
text="%pageflow.editor.intro.section.description"/>
<introductionelement
actionparameters="org.eclipse.jst.jsf.facesconfig.ui.pageflow.PageflowEditor"
icon="icons/FacesConfig_GotoEditor.gif"
hyperlinkaction="org.eclipse.jst.jsf.common.ui.internal.actions.OpenPageAction"
text="%pageflow.editor.intro.start.text"
hyperlink="%pageflow.editor.intro.start.link"/>
<introductionelement
actionparameters="FacesConfigEditor.CheatSheet"
icon="icons/FacesConfig_Tutorial.gif"
hyperlinkaction="org.eclipse.jst.jsf.common.ui.internal.actions.LoadCheatSheetAction"
text="%pageflow.editor.intro.cheatsheets.text"
hyperlink="%pageflow.editor.intro.cheatsheets.link"/>
<introductionelement actionparameters="org.eclipse.jst.jsf.facesconfig.ui.use_facesconfig_editor"
icon="icons/overview_obj.gif"
hyperlinkaction="org.eclipse.jst.jsf.common.ui.internal.actions.LoadHelpAction"
text="%pageflow.editor.intro.help.text"
hyperlink="%pageflow.editor.intro.help.link"/>
</introductionpage>
</extension>
<!-- ********** End Introduction Page ************** -->
<!-- ************* properties view ************** -->
<extension point="org.eclipse.ui.views.properties.tabbed.propertyTabs">
<propertyTabs
contributorId="org.eclipse.jst.jsf.facesconfig.ui.FacesConfigEditor">
<propertyTab label="%propertyTab.attribute" category="attribute"
id="org.eclipse.jst.jsf.facesconfig.ui.pageflow.properties.attribute"/>
<propertyTab label="%propertyTab.general" category="general"
id="org.eclipse.jst.jsf.facesconfig.ui.pageflow.properties.general"/>
</propertyTabs>
</extension>
<extension point="org.eclipse.ui.views.properties.tabbed.propertyContributor">
<propertyContributor
sectionDescriptorProvider="org.eclipse.jst.jsf.facesconfig.ui.pageflow.properties.PageflowSectionDescriptorProvider"
contributorId="org.eclipse.jst.jsf.facesconfig.ui.FacesConfigEditor"
labelProvider="org.eclipse.jst.jsf.facesconfig.ui.pageflow.properties.PageflowSectionLabelProvider">
<propertyCategory category="attribute" />
<propertyCategory category="general"/>
</propertyContributor>
</extension>
<extension
point="org.eclipse.ui.cheatsheets.cheatSheetContent">
<cheatsheet
category="org.eclipse.jst.jsf"
composite="false"
contentFile="$nl$/cheatsheets/facesconfigeditor.xml"
id="FacesConfigEditor.CheatSheet"
name="%cheatsheet.jsf.facesconfig.title"/>
<category
id="org.eclipse.jst.jsf"
name="%cheatsheet.jsf.title">
</category>
</extension>
<!--<extension
point="org.eclipse.ui.views.properties.tabbed.propertyContributor">
<propertyContributor
contributorId="org.eclipse.jst.jsf.facesconfig.ui.FacesConfigEditor"
labelProvider="org.eclipse.jst.jsf.facesconfig.ui.pageflow.properties.PageflowSectionLabelProvider">
<propertyCategory category="attribute"/>
<propertyCategory category="general"/>
</propertyContributor>
</extension>
<extension
point="org.eclipse.ui.views.properties.tabbed.propertyTabs">
<propertyTabs contributorId="org.eclipse.jst.jsf.facesconfig.ui.FacesConfigEditor">
<propertyTab
category="attribute"
id="org.eclipse.jst.jsf.facesconfig.ui.pageflow.properties.attribute"
label="%propertyTab.attribute"/>
<propertyTab
category="general"
id="org.eclipse.jst.jsf.facesconfig.ui.pageflow.properties.general"
label="%propertyTab.general"/>
</propertyTabs>
</extension>-->
<!-- Context for Faces Config Editor. This is activated in FacesConfigEditor.init() -->
<extension point="org.eclipse.ui.contexts">
<context description="%editor.binding.context.description"
id="org.eclipse.jst.jsf.facesconfig.editorContext"
name="%editor.binding.context.name"
parentId="org.eclipse.ui.textEditorScope" />
</extension>
<!-- Key-binding for Next Page in the multi-page Faces Config Editor -->
<extension point="org.eclipse.ui.bindings">
<key sequence="M1+F5"
commandId="org.eclipse.ui.part.nextPage"
contextId="org.eclipse.jst.jsf.facesconfig.editorContext"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" />
</extension>
<!-- Key-binding for Previous Page in the multi-page Facesd Config Editor -->
<extension point="org.eclipse.ui.bindings">
<key sequence="M1+M2+F5"
commandId="org.eclipse.ui.part.previousPage"
contextId="org.eclipse.jst.jsf.facesconfig.editorContext"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" />
</extension>
</plugin>
|