JBoss Tools SVN: r7471 - trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2008-04-09 12:04:10 -0400 (Wed, 09 Apr 2008)
New Revision: 7471
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeEditorPart.java
Log:
JBIDE-1809 VPE doesn't shows anything when we open file from local edition history
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeEditorPart.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeEditorPart.java 2008-04-09 16:04:03 UTC (rev 7470)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeEditorPart.java 2008-04-09 16:04:10 UTC (rev 7471)
@@ -41,6 +41,7 @@
import org.eclipse.ui.IPartListener;
import org.eclipse.ui.IPropertyListener;
import org.eclipse.ui.IReusableEditor;
+import org.eclipse.ui.IStorageEditorInput;
import org.eclipse.ui.IWorkbenchPart;
import org.eclipse.ui.IWorkbenchPartConstants;
import org.eclipse.ui.IWorkbenchWindow;
@@ -55,8 +56,10 @@
import org.jboss.tools.common.model.XModelObject;
import org.jboss.tools.common.model.event.XModelTreeEvent;
import org.jboss.tools.common.model.event.XModelTreeListener;
+import org.jboss.tools.common.model.ui.editor.IModelObjectEditorInput;
import org.jboss.tools.common.model.ui.util.ModelUtilities;
import org.jboss.tools.jst.jsp.editor.IVisualEditor;
+import org.jboss.tools.jst.jsp.jspeditor.StorageRevisionEditorInputAdapter;
import org.jboss.tools.jst.jsp.preferences.VpePreference;
import org.jboss.tools.vpe.IVpeHelpContextIds;
import org.jboss.tools.vpe.VpePlugin;
@@ -507,7 +510,11 @@
VpeEditorPart.this.firePropertyChange(propId);
}
});
- sourceEditor.init(getEditorSite(), getEditorInput());
+ IEditorInput input = getEditorInput();
+ if (!( input instanceof IModelObjectEditorInput) && input instanceof IStorageEditorInput) {
+ input = new StorageRevisionEditorInputAdapter((IStorageEditorInput) input);
+ }
+ sourceEditor.init(getEditorSite(), input);
if (sourceContent != null) {
sourceEditor.createPartControl(sourceContent);
17 years, 8 months
JBoss Tools SVN: r7470 - trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2008-04-09 12:04:03 -0400 (Wed, 09 Apr 2008)
New Revision: 7470
Added:
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/StorageRevisionEditorInputAdapter.java
Log:
JBIDE-1809 VPE doesn't shows anything when we open file from local edition history
Added: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/StorageRevisionEditorInputAdapter.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/StorageRevisionEditorInputAdapter.java (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/StorageRevisionEditorInputAdapter.java 2008-04-09 16:04:03 UTC (rev 7470)
@@ -0,0 +1,79 @@
+package org.jboss.tools.jst.jsp.jspeditor;
+
+import java.io.InputStream;
+
+import org.eclipse.core.resources.IStorage;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IPath;
+import org.eclipse.jface.resource.ImageDescriptor;
+import org.eclipse.ui.IPersistableElement;
+import org.eclipse.ui.IStorageEditorInput;
+
+public class StorageRevisionEditorInputAdapter implements IStorageEditorInput {
+
+ private IStorageEditorInput parent;
+ private IStorage storage;
+ public StorageRevisionEditorInputAdapter(IStorageEditorInput parent) {
+ this.parent = parent;
+ }
+
+ public IStorage getStorage() throws CoreException {
+ if (storage == null)
+ storage = new StorageAdapter(parent.getStorage());
+ return storage;
+ }
+
+ public boolean exists() {
+ return parent.exists();
+ }
+
+ public ImageDescriptor getImageDescriptor() {
+ return parent.getImageDescriptor();
+ }
+
+ public String getName() {
+ return parent.getName();
+ }
+
+ public IPersistableElement getPersistable() {
+ return parent.getPersistable();
+ }
+
+ public String getToolTipText() {
+ return parent.getToolTipText();
+ }
+
+ public Object getAdapter(Class adapter) {
+ return parent.getAdapter(adapter);
+ }
+
+ private class StorageAdapter implements IStorage {
+
+ private IStorage storage;
+
+ public StorageAdapter(IStorage storage) {
+ this.storage = storage;
+ }
+
+ public InputStream getContents() throws CoreException {
+ return storage.getContents();
+ }
+
+ public IPath getFullPath() {
+ return storage.getFullPath();
+ }
+
+ public String getName() {
+ return storage.getFullPath().toString();
+ }
+
+ public boolean isReadOnly() {
+ return storage.isReadOnly();
+ }
+
+ public Object getAdapter(Class adapter) {
+ return storage.getAdapter(adapter);
+ }
+
+ }
+}
17 years, 8 months
JBoss Tools SVN: r7469 - in trunk/jsf/docs: jsf_tools_tutorial/en/modules and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: tromanovich
Date: 2008-04-09 11:10:29 -0400 (Wed, 09 Apr 2008)
New Revision: 7469
Modified:
trunk/jsf/docs/jsf_tools_ref_guide/en/modules/jsf_config_file.xml
trunk/jsf/docs/jsf_tools_ref_guide/en/modules/jsf_support.xml
trunk/jsf/docs/jsf_tools_ref_guide/en/modules/projects.xml
trunk/jsf/docs/jsf_tools_tutorial/en/modules/introduction.xml
trunk/jsf/docs/userguide/en/modules/JSFStruts_tools.xml
trunk/jsf/docs/userguide/en/modules/Visual_Web_Tools.xml
trunk/jsf/docs/userguide/en/modules/editors.xml
Log:
http://jira.jboss.com/jira/browse/JBDS-140 links in docs should be relative
Changed external links between documents
Modified: trunk/jsf/docs/jsf_tools_ref_guide/en/modules/jsf_config_file.xml
===================================================================
--- trunk/jsf/docs/jsf_tools_ref_guide/en/modules/jsf_config_file.xml 2008-04-09 14:52:17 UTC (rev 7468)
+++ trunk/jsf/docs/jsf_tools_ref_guide/en/modules/jsf_config_file.xml 2008-04-09 15:10:29 UTC (rev 7469)
@@ -213,7 +213,7 @@
</figure>
<para>The JSF configuration editor also comes with a very useful <link
- linkend="../../../jsf/en/html_single/index.html#OpenOnSelection4Hyperlinknavigation">OpenOn</link> selection feature.</para>
+ linkend="../../jsf/html_single/index.html#OpenOnSelection4Hyperlinknavigation">OpenOn</link> selection feature.</para>
</section>
<section id="ErrorReporting3324">
Modified: trunk/jsf/docs/jsf_tools_ref_guide/en/modules/jsf_support.xml
===================================================================
--- trunk/jsf/docs/jsf_tools_ref_guide/en/modules/jsf_support.xml 2008-04-09 14:52:17 UTC (rev 7468)
+++ trunk/jsf/docs/jsf_tools_ref_guide/en/modules/jsf_support.xml 2008-04-09 15:10:29 UTC (rev 7469)
@@ -190,7 +190,7 @@
<title>Facelets components</title>
<para>ss</para>
- <para>The <link linkend="../../../jsf/en/html_single/index.html#palette">JBoss Tools Palette</link> comes with the
+ <para>The <link linkend="../../jsf/html_single/index.html#palette">JBoss Tools Palette</link> comes with the
Facelets components ready to use. A useful tip appears when you
hover the mouse cursor over the tag, the tip includes a detailed
description of the tag component, the syntax and available
Modified: trunk/jsf/docs/jsf_tools_ref_guide/en/modules/projects.xml
===================================================================
--- trunk/jsf/docs/jsf_tools_ref_guide/en/modules/projects.xml 2008-04-09 14:52:17 UTC (rev 7468)
+++ trunk/jsf/docs/jsf_tools_ref_guide/en/modules/projects.xml 2008-04-09 15:10:29 UTC (rev 7469)
@@ -256,7 +256,7 @@
<para>For detailed information on migration projects to JBoss
Developer Studio see <ulink
- url="../../../Exadel-migration/en/html_single/index.html"
+ url="../../Exadel-migration/html_single/index.html"
>Migration Guide</ulink>. </para>
</section>
Modified: trunk/jsf/docs/jsf_tools_tutorial/en/modules/introduction.xml
===================================================================
--- trunk/jsf/docs/jsf_tools_tutorial/en/modules/introduction.xml 2008-04-09 14:52:17 UTC (rev 7468)
+++ trunk/jsf/docs/jsf_tools_tutorial/en/modules/introduction.xml 2008-04-09 15:10:29 UTC (rev 7469)
@@ -11,7 +11,7 @@
</chapterinfo>
<title>Introduction</title>
<para>The following chapters describe how to deal with classic/old style of JSF development. We
- recommend users to use <ulink url="../../../seam/en/html/create_new_seam.html">JBoss
+ recommend users to use <ulink url="../../seam/html/create_new_seam.html">JBoss
Seam</ulink> to simplify development, but until then you can read about classical JSF
usage here.</para>
</chapter>
Modified: trunk/jsf/docs/userguide/en/modules/JSFStruts_tools.xml
===================================================================
--- trunk/jsf/docs/userguide/en/modules/JSFStruts_tools.xml 2008-04-09 14:52:17 UTC (rev 7468)
+++ trunk/jsf/docs/userguide/en/modules/JSFStruts_tools.xml 2008-04-09 15:10:29 UTC (rev 7469)
@@ -598,7 +598,7 @@
<para>For detailed information on migration projects to JBoss
Developer Studio see <ulink
- url="../../../Exadel-migration/en/html_single/index.html"
+ url="../../Exadel-migration/html_single/index.html"
>Migration Guide</ulink>. </para>
</section>
@@ -1856,7 +1856,7 @@
<para>For detailed information on migration projects to JBoss
Developer Studio see <ulink
- url="../../../Exadel-migration/en/html_single/index.html"
+ url="../../Exadel-migration/html_single/index.html"
>Migration Guide</ulink>.</para>
</section>
Modified: trunk/jsf/docs/userguide/en/modules/Visual_Web_Tools.xml
===================================================================
--- trunk/jsf/docs/userguide/en/modules/Visual_Web_Tools.xml 2008-04-09 14:52:17 UTC (rev 7468)
+++ trunk/jsf/docs/userguide/en/modules/Visual_Web_Tools.xml 2008-04-09 15:10:29 UTC (rev 7469)
@@ -68,39 +68,39 @@
<row>
<entry>JSF and Facelets support</entry>
<entry>Step-by-step wizards for creating new JSF and Facelets projects with a number of predefined templates, importing existing ones and adding JSF capabilities to non-jsf web projects.</entry>
- <entry><link linkend="../../../jsf_tools_ref_guide/en/html_single/index.html#jsf_support">jsf support</link></entry>
+ <entry><link linkend="../../jsf_tools_ref_guide/html_single/index.html#jsf_support">jsf support</link></entry>
</row>
<row>
<entry>Flexible and customizable project template management</entry>
<entry>Jump-start development with out-of-the-box templates or easily customized templates
for re-use.</entry>
- <entry><link linkend="../../../jsf_tools_ref_guide/en/html_single/index.html#projects">working with projects</link></entry>
+ <entry><link linkend="../../jsf_tools_ref_guide/html_single/index.html#projects">working with projects</link></entry>
</row>
<row>
<entry>Support for Managed Beans</entry>
<entry>Adding new managed beans, generating code for attributes, properties and getter/setter methods.</entry>
- <entry><link linkend="../../../jsf_tools_ref_guide/en/html_single/index.html#managed_beans">managed beans</link></entry>
+ <entry><link linkend="../../jsf_tools_ref_guide/html_single/index.html#managed_beans">managed beans</link></entry>
</row>
<row>
<entry>OpenOn</entry>
<entry>Easy navigation between views and other parts of your projects.</entry>
- <entry><link linkend="../../../jsf_tools_ref_guide/en/html_single/index.html#FaceletsSupport865">facelets support</link></entry>
+ <entry><link linkend="../../jsf_tools_ref_guide/html_single/index.html#FaceletsSupport865">facelets support</link></entry>
</row>
<row>
<entry>Content Assist</entry>
<entry>Code completion proposals while working in java, xml, jsp, xhtml, xhtml, seam project and jsf configuration files. Content assist based on project data (dynamic code assist); with graphical editor. Code completion for values from property files, beans attributes and methods, navigation rule outcomes and jsf variables.</entry>
- <entry><link linkend="../../../jsf_tools_ref_guide/en/html_single/index.html#ContentAssist976">content assist</link></entry>
+ <entry><link linkend="../../jsf_tools_ref_guide/html_single/index.html#ContentAssist976">content assist</link></entry>
</row>
<row>
<entry>Support for Custom Converters and Validators</entry>
<entry>Fast creating of custom converters and validators with tree view of faces-config.xml file.</entry>
- <entry><link linkend="../../../jsf_tools_ref_guide/en/html_single/index.html#CreateAndRegisterACustomConverter94230">converters and validators</link></entry>
+ <entry><link linkend="../../jsf_tools_ref_guide/html_single/index.html#CreateAndRegisterACustomConverter94230">converters and validators</link></entry>
</row>
<row>
<entry>Verification and Validation</entry>
<entry>All occuring errors will be immediately reported by verification feature, no matter in what view you are working. Constant validation and errors checking allows to catch many of the errors during development process that significantly reduces development time.</entry>
- <entry><link linkend="../../../jsf_tools_ref_guide/en/html_single/index.html#jsf_project_verification">verification and validation</link></entry>
+ <entry><link linkend="../../jsf_tools_ref_guide/html_single/index.html#jsf_project_verification">verification and validation</link></entry>
</row>
<row>
@@ -111,13 +111,13 @@
<row>
<entry>Struts Support</entry>
<entry>Step-by-step wizards for creating a new struts project with a number of predefined templates, importing existing ones and adding struts capabilities to non-struts web projects.</entry>
- <entry><link linkend="../../../struts_tools_ref_guide/en/html_single/index.html#projects">struts support</link></entry>
+ <entry><link linkend="../../struts_tools_ref_guide/html_single/index.html#projects">struts support</link></entry>
</row>
<row>
<entry>Support for JSF and Struts Configuration Files</entry>
<entry>Working on files using three modes: diagram, tree and source. Synchronization between the modes and full control over the code. Easy moving around the diagram using the Diagram Navigator. Working with struts projects that have multiple modules. Possibility to use Struts configuration file debugger allowing to set break points on struts diagram and then launch the server in debug mode.</entry>
- <entry><link linkend="../../../jsf_tools_ref_guide/en/html_single/index.html#jsf_config_file">graphical editor for jsf</link> <link linkend="../../../struts_tools_ref_guide/en/html_single/index.html#struts_config_editor">graphical editor for struts</link> </entry>
+ <entry><link linkend="../../jsf_tools_ref_guide/html_single/index.html#jsf_config_file">graphical editor for jsf</link> <link linkend="../../struts_tools_ref_guide/html_single/index.html#struts_config_editor">graphical editor for struts</link> </entry>
</row>
<row>
<entry>Rich Faces Support</entry>
Modified: trunk/jsf/docs/userguide/en/modules/editors.xml
===================================================================
--- trunk/jsf/docs/userguide/en/modules/editors.xml 2008-04-09 14:52:17 UTC (rev 7468)
+++ trunk/jsf/docs/userguide/en/modules/editors.xml 2008-04-09 15:10:29 UTC (rev 7469)
@@ -12,10 +12,10 @@
<title>Editors</title>
<para>In previous chapters you had possibility to read about Graphical Editor for
- <link linkend="../../../jsf_tools_ref_guide/en/html_single/index.html#jsf_config_file">JSF</link> and
- <link linkend="../../../struts_tools_ref_guide/en/html_single/index.html#struts_config_editor">Struts</link> configuration files,
- <link linkend="../../../struts_tools_ref_guide/en/html_single/index.html#GraphicalEditorForTilesFiles132">Graphical Editor for Tiles Files</link>,
- <link linkend="../../../struts_tools_ref_guide/en/html_single/index.html#GraphicalEditorForStrutsValidationFiles86">Graphical Editor for Struts Validation Files</link>.
+ <link linkend="../../jsf_tools_ref_guide/html_single/index.html#jsf_config_file">JSF</link> and
+ <link linkend="../../struts_tools_ref_guide/html_single/index.html#struts_config_editor">Struts</link> configuration files,
+ <link linkend="../../struts_tools_ref_guide/html_single/index.html#GraphicalEditorForTilesFiles132">Graphical Editor for Tiles Files</link>,
+ <link linkend="../../struts_tools_ref_guide/html_single/index.html#GraphicalEditorForStrutsValidationFiles86">Graphical Editor for Struts Validation Files</link>.
All these editors have <link linkend="OpenOnSelection4Hyperlinknavigation"><property>OpenOn</property></link> and
<link linkend="CodeAssistAndDynamicCodeAssist42BasedOnProjectData"><property>Content Assist</property></link> features,
they are described more detail in this chapter. In addition you get to know a <link linkend="visual_page">Visual Page Editor</link> for combined visual and source editing
@@ -150,7 +150,7 @@
<itemizedlist>
<listitem>
<para>
- <ulink url="../../../seam/en/html_single/index.html#ContentAssist">Seam project files</ulink>
+ <ulink url="../../seam/html_single/index.html#ContentAssist">Seam project files</ulink>
</para>
</listitem>
17 years, 8 months
JBoss Tools SVN: r7468 - trunk/documentation/jboss-tools-docs.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2008-04-09 10:52:17 -0400 (Wed, 09 Apr 2008)
New Revision: 7468
Modified:
trunk/documentation/jboss-tools-docs/all-guides.xml
Log:
http://jira.jboss.com/jira/browse/JBQA-1524 - now index page is automatically copied to the generated folder with all guides
Modified: trunk/documentation/jboss-tools-docs/all-guides.xml
===================================================================
--- trunk/documentation/jboss-tools-docs/all-guides.xml 2008-04-09 14:46:31 UTC (rev 7467)
+++ trunk/documentation/jboss-tools-docs/all-guides.xml 2008-04-09 14:52:17 UTC (rev 7468)
@@ -22,6 +22,19 @@
-->
<fileSets>
<fileSet>
+ <directory>.</directory>
+ <outputDirectory>/</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>index.html</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0444</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+ <fileSet>
<directory>../guides/Exadel-migration/target/docbook/</directory>
<outputDirectory>/Exadel-migration</outputDirectory>
<filtered>false</filtered>
17 years, 8 months
JBoss Tools SVN: r7467 - trunk/documentation/jboss-tools-docs.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2008-04-09 10:46:31 -0400 (Wed, 09 Apr 2008)
New Revision: 7467
Modified:
trunk/documentation/jboss-tools-docs/index.html
Log:
http://jira.jboss.com/jira/browse/JBDS-250
the page is updated according to changes in its position relatively to guides
Modified: trunk/documentation/jboss-tools-docs/index.html
===================================================================
--- trunk/documentation/jboss-tools-docs/index.html 2008-04-09 14:40:34 UTC (rev 7466)
+++ trunk/documentation/jboss-tools-docs/index.html 2008-04-09 14:46:31 UTC (rev 7467)
@@ -11,25 +11,25 @@
<ul class="linkage">
- <li>Getting Started with JBoss Developer Studio Guide <a href="target/en/GettingStartedGuide/html/index.html">(html)</a> <a href="target/en/GettingStartedGuide/html_single/index.html">(html single)</a> <a href="target/en/GettingStartedGuide/pdf/Getting_Started_Guide.pdf">(pdf)</a></li>
+ <li>Getting Started with JBoss Developer Studio Guide <a href="GettingStartedGuide/html/index.html">(html)</a> <a href="GettingStartedGuide/html_single/index.html">(html single)</a> <a href="GettingStartedGuide/pdf/Getting_Started_Guide.pdf">(pdf)</a></li>
- <li>Seam Dev Tools Reference Guide<a href="target/en/seam/html/index.html">(html)</a> <a href="target/en/seam/html_single/index.html">(html single)</a> <a href="target/en/seam/pdf/Seam_Reference_Guide.pdf">(pdf)</a></li>
+ <li>Seam Dev Tools Reference Guide<a href="seam/html/index.html">(html)</a> <a href="seam/html_single/index.html">(html single)</a> <a href="seam/pdf/Seam_Reference_Guide.pdf">(pdf)</a></li>
- <li>Visual Web Tools Reference Guide <a href="target/en/jsf/html/index.html">(html)</a> <a href="target/en/jsf/html_single/index.html">(html single)</a> <a href="target/en/jsf/pdf/Visual_Web_Tools_Reference_Guide.pdf">(pdf)</a></li>
+ <li>Visual Web Tools Reference Guide <a href="jsf/html/index.html">(html)</a> <a href="jsf/html_single/index.html">(html single)</a> <a href="jsf/pdf/Visual_Web_Tools_Reference_Guide.pdf">(pdf)</a></li>
- <li>JBoss Server Manager Reference Guide<a href="target/en/as/html/index.html">(html)</a> <a href="target/en/as/html_single/index.html">(html single)</a> <a href="target/en/as/pdf/AS_Reference_Guide.pdf">(pdf)</a></li>
+ <li>JBoss Server Manager Reference Guide<a href="as/html/index.html">(html)</a> <a href="as/html_single/index.html">(html single)</a> <a href="as/pdf/AS_Reference_Guide.pdf">(pdf)</a></li>
- <li>jBPM Tools Reference Guide<a href="target/en/jbpm/html/index.html">(html)</a> <a href="target/en/jbpm/html_single/index.html">(html single)</a> <a href="target/en/jbpm/pdf/jBPM_Reference_Guide.pdf">(pdf)</a></li>
+ <li>jBPM Tools Reference Guide<a href="jbpm/html/index.html">(html)</a> <a href="jbpm/html_single/index.html">(html single)</a> <a href="jbpm/pdf/jBPM_Reference_Guide.pdf">(pdf)</a></li>
- <li>Hibernate Tools Reference Guide<a href="target/en/hibernatetools/html/index.html">(html)</a> <a href="target/en/hibernatetools/html_single/index.html">(html single)</a> <a href="target/en/hibernatetools/pdf/Hibernatetools_Reference_Guide.pdf">(pdf)</a></li>
+ <li>Hibernate Tools Reference Guide<a href="hibernatetools/html/index.html">(html)</a> <a href="hibernatetools/html_single/index.html">(html single)</a> <a href="hibernatetools/pdf/Hibernatetools_Reference_Guide.pdf">(pdf)</a></li>
- <li>JSF Tools Reference Guide<a href="target/en/jsf_tools_ref_guide/html/index.html">(html)</a> <a href="target/en/jsf_tools_ref_guide/html_single/index.html">(html single)</a> <a href="target/en/jsf_tools_ref_guide/pdf/JSF_Tools_Reference_Guide.pdf">(pdf)</a></li>
- <li>JSF Tools Tutorial<a href="target/en/jsf_tools_tutorial/html/index.html">(html)</a> <a href="target/en/jsf_tools_tutorial/html_single/index.html">(html single)</a> <a href="target/en/jsf_tools_tutorial/pdf/JSF_Tools_Tutorial.pdf">(pdf)</a></li>
+ <li>JSF Tools Reference Guide<a href="jsf_tools_ref_guide/html/index.html">(html)</a> <a href="jsf_tools_ref_guide/html_single/index.html">(html single)</a> <a href="jsf_tools_ref_guide/pdf/JSF_Tools_Reference_Guide.pdf">(pdf)</a></li>
+ <li>JSF Tools Tutorial<a href="jsf_tools_tutorial/html/index.html">(html)</a> <a href="jsf_tools_tutorial/html_single/index.html">(html single)</a> <a href="jsf_tools_tutorial/pdf/JSF_Tools_Tutorial.pdf">(pdf)</a></li>
- <li>Struts Tools Reference Guide<a href="target/en/struts_tools_ref_guide/html/index.html">(html)</a> <a href="target/en/struts_tools_ref_guide/html_single/index.html">(html single)</a> <a href="target/en/Struts_tools_ref_guide/pdf/Struts_Tools_Reference_Guide.pdf">(pdf)</a></li>
- <li>Struts Tools Tutorial<a href="target/en/struts_tools_tutorial/html/index.html">(html)</a> <a href="target/en/struts_tools_tutorial/html_single/index.html">(html single)</a> <a href="target/en/struts_tools_tutorial/pdf/Struts_Tools_Tutorial.pdf">(pdf)</a></li>
+ <li>Struts Tools Reference Guide<a href="struts_tools_ref_guide/html/index.html">(html)</a> <a href="struts_tools_ref_guide/html_single/index.html">(html single)</a> <a href="Struts_tools_ref_guide/pdf/Struts_Tools_Reference_Guide.pdf">(pdf)</a></li>
+ <li>Struts Tools Tutorial<a href="struts_tools_tutorial/html/index.html">(html)</a> <a href="struts_tools_tutorial/html_single/index.html">(html single)</a> <a href="struts_tools_tutorial/pdf/Struts_Tools_Tutorial.pdf">(pdf)</a></li>
- <li>Exadel Studio Migration Guide <a href="target/en/Exadel-migration/html/index.html">(html)</a> <a href="target/en/Exadel-migration/html_single/index.html">(html single)</a> <a href="target/en/Exadel-migration/pdf/Exadel_Studio_Migration_Guide.pdf">(pdf)</a></li>
+ <li>Exadel Studio Migration Guide <a href="Exadel-migration/html/index.html">(html)</a> <a href="Exadel-migration/html_single/index.html">(html single)</a> <a href="Exadel-migration/pdf/Exadel_Studio_Migration_Guide.pdf">(pdf)</a></li>
</ul>
17 years, 8 months
JBoss Tools SVN: r7466 - trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2008-04-09 10:40:34 -0400 (Wed, 09 Apr 2008)
New Revision: 7466
Modified:
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPMultiPageContributor.java
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPMultiPageSelectionProvider.java
Log:
JBIDE-1065
Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPMultiPageContributor.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPMultiPageContributor.java 2008-04-09 14:34:07 UTC (rev 7465)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPMultiPageContributor.java 2008-04-09 14:40:34 UTC (rev 7466)
@@ -36,10 +36,7 @@
*
*/
public class JSPMultiPageContributor extends AbstractMultiPageContributor {
- protected RetargetTextEditorAction fShowTooltipAction = null; // show
- protected RetargetTextEditorAction fContentAssist = null;
-
public JSPMultiPageContributor() {
fToggleOccurencesMarkUp = new ToggleOccurencesMarkUpAction();
}
@@ -49,19 +46,6 @@
initEditMenu(bars);
ResourceBundle resourceBundle = ResourceHandler.getResourceBundle();
- fShowTooltipAction = new RetargetTextEditorAction(resourceBundle,
- StructuredTextEditorActionConstants.ACTION_NAME_INFORMATION
- + StructuredTextEditorActionConstants.DOT);
- fShowTooltipAction
- .setActionDefinitionId(ActionDefinitionIds.INFORMATION);
-
- fContentAssist = new RetargetTextEditorAction(
- resourceBundle,
- StructuredTextEditorActionConstants.ACTION_NAME_CONTENTASSIST_PROPOSALS
- + StructuredTextEditorActionConstants.DOT);
- fContentAssist
- .setActionDefinitionId(ITextEditorActionDefinitionIds.CONTENT_ASSIST_PROPOSALS);
-
//TODO-3.3: keep checking if 'quick fix' action appears in WTP
// fQuickFix = new RetargetTextEditorAction(resourceBundle,
// StructuredTextEditorActionConstants.ACTION_NAME_QUICK_FIX
@@ -72,18 +56,22 @@
protected void createAssistObjects() {
ResourceBundle resourceBundle = ResourceHandler.getResourceBundle();
- fContentAssistProposal = new RetargetTextEditorAction(
+ if(fContentAssistProposal == null) {
+ fContentAssistProposal = new RetargetTextEditorAction(
resourceBundle,
StructuredTextEditorActionConstants.ACTION_NAME_CONTENTASSIST_PROPOSALS
- + StructuredTextEditorActionConstants.DOT);
- fContentAssistProposal
+ + StructuredTextEditorActionConstants.UNDERSCORE);
+ fContentAssistProposal
.setActionDefinitionId(ITextEditorActionDefinitionIds.CONTENT_ASSIST_PROPOSALS);
+ }
- fContentAssistTip = new RetargetTextEditorAction(resourceBundle,
- StructuredTextEditorActionConstants.ACTION_NAME_INFORMATION
- + StructuredTextEditorActionConstants.DOT);
- fContentAssistTip
+ if(fContentAssistTip == null) {
+ fContentAssistTip = new RetargetTextEditorAction(resourceBundle,
+ StructuredTextEditorActionConstants.ACTION_NAME_INFORMATION
+ + StructuredTextEditorActionConstants.UNDERSCORE);
+ fContentAssistTip
.setActionDefinitionId(ActionDefinitionIds.INFORMATION);
+ }
}
public void setActiveEditor(IEditorPart part) {
@@ -148,14 +136,6 @@
actionBars.setGlobalActionHandler(ActionFactory.SAVE.getId(),
getAction(editor, ITextEditorActionConstants.SAVE));
- fShowTooltipAction
- .setAction(getAction(
- editor,
- StructuredTextEditorActionConstants.ACTION_NAME_INFORMATION));
- fContentAssist
- .setAction(getAction(
- editor,
- StructuredTextEditorActionConstants.ACTION_NAME_CONTENTASSIST_PROPOSALS));
//TODO-3.3: keep checking if 'quick fix' action appears in WTP
// fQuickFix
// .setAction(getAction(
@@ -176,13 +156,13 @@
}
if (editor != null && handler != null) {
// editor
- registerKeyBindings(handler, ACTIONS_2, editor);
+// registerKeyBindings(handler, ACTIONS_2, editor);
String[] ACTIONS_3 = {
- StructuredTextEditorActionConstants.ACTION_NAME_INFORMATION,
- StructuredTextEditorActionConstants.ACTION_NAME_CONTENTASSIST_PROPOSALS,
+// StructuredTextEditorActionConstants.ACTION_NAME_INFORMATION,
+// StructuredTextEditorActionConstants.ACTION_NAME_CONTENTASSIST_PROPOSALS,
// TODO-3.3 StructuredTextEditorActionConstants.ACTION_NAME_QUICK_FIX
};
- registerKeyBindings(handler, ACTIONS_3, editor);
+// registerKeyBindings(handler, ACTIONS_3, editor);
}
}
cleanActionBarStatus();
@@ -224,10 +204,7 @@
super.dispose();
fActiveEditorPart=null;
mainPart=null;
- fContentAssist=null;
fContentAssistProposal=null;
fContentAssistTip=null;
- fShowTooltipAction=null;
-
}
}
Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPMultiPageSelectionProvider.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPMultiPageSelectionProvider.java 2008-04-09 14:34:07 UTC (rev 7465)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPMultiPageSelectionProvider.java 2008-04-09 14:40:34 UTC (rev 7466)
@@ -63,7 +63,6 @@
if (activeEditor != null) {
ISelectionProvider selectionProvider = activeEditor.getSite()
.getSelectionProvider();
- System.out.println(selectionProvider);
if (selectionProvider != null)
return selectionProvider.getSelection();
}
17 years, 8 months
JBoss Tools SVN: r7465 - trunk/documentation/guides/Exadel-migration/en.
by jbosstools-commits@lists.jboss.org
Author: afedosik
Date: 2008-04-09 10:34:07 -0400 (Wed, 09 Apr 2008)
New Revision: 7465
Modified:
trunk/documentation/guides/Exadel-migration/en/master.xml
Log:
http://jira.jboss.com/jira/browse/JBDS-292 guide version update according to beta1 release
Modified: trunk/documentation/guides/Exadel-migration/en/master.xml
===================================================================
--- trunk/documentation/guides/Exadel-migration/en/master.xml 2008-04-09 14:27:06 UTC (rev 7464)
+++ trunk/documentation/guides/Exadel-migration/en/master.xml 2008-04-09 14:34:07 UTC (rev 7465)
@@ -12,12 +12,14 @@
<bookinfo>
<title>Exadel Studio Migration Guide</title>
+ <pubdate>April 2008</pubdate>
<copyright>
<year>2007</year>
- <holder>Red Hat</holder>
+ <year>2008</year>
+ <holder>JBoss, a division of Red Hat Inc.</holder>
</copyright>
<releaseinfo>
-<para>Version: 1.0.0.GA</para>
+<para>Version: 1.1.0.Beta1</para>
</releaseinfo>
</bookinfo>
17 years, 8 months
JBoss Tools SVN: r7464 - trunk/documentation/guides/GettingStartedGuide/en.
by jbosstools-commits@lists.jboss.org
Author: afedosik
Date: 2008-04-09 10:27:06 -0400 (Wed, 09 Apr 2008)
New Revision: 7464
Modified:
trunk/documentation/guides/GettingStartedGuide/en/master.xml
Log:
http://jira.jboss.com/jira/browse/JBDS-292 guide version update according to beta1 release
Modified: trunk/documentation/guides/GettingStartedGuide/en/master.xml
===================================================================
--- trunk/documentation/guides/GettingStartedGuide/en/master.xml 2008-04-09 14:25:50 UTC (rev 7463)
+++ trunk/documentation/guides/GettingStartedGuide/en/master.xml 2008-04-09 14:27:06 UTC (rev 7464)
@@ -15,12 +15,14 @@
<bookinfo>
<title>Getting Started with JBoss Developer Studio</title>
+ <pubdate>April 2008</pubdate>
<copyright>
<year>2007</year>
- <holder>Red Hat</holder>
+ <year>2008</year>
+ <holder>JBoss, a division of Red Hat Inc.</holder>
</copyright>
<releaseinfo>
-<para>Version: 1.0.0.GA</para>
+<para>Version: 1.1.0.Beta1</para>
</releaseinfo>
</bookinfo>
17 years, 8 months
JBoss Tools SVN: r7463 - in trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui: wizard and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2008-04-09 10:25:50 -0400 (Wed, 09 Apr 2008)
New Revision: 7463
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/preferences/SeamSettingsPreferencePage.java
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamWizardFactory.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1994 Fixed
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/preferences/SeamSettingsPreferencePage.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/preferences/SeamSettingsPreferencePage.java 2008-04-09 14:22:54 UTC (rev 7462)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/preferences/SeamSettingsPreferencePage.java 2008-04-09 14:25:50 UTC (rev 7463)
@@ -142,7 +142,7 @@
IFieldEditor seamRuntimeEditor =
SeamWizardFactory.createSeamRuntimeSelectionFieldEditor(
getSeamVersions(),
- getSeamRuntimeName());
+ getSeamRuntimeName(), true);
seamRuntimeEditor.addPropertyChangeListener(new PropertyChangeListener() {
public void propertyChange(PropertyChangeEvent evt) {
Object value = evt.getNewValue();
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamWizardFactory.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamWizardFactory.java 2008-04-09 14:22:54 UTC (rev 7462)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamWizardFactory.java 2008-04-09 14:25:50 UTC (rev 7463)
@@ -162,12 +162,30 @@
* @return Editor to select seam runtime
*/
public static IFieldEditor createSeamRuntimeSelectionFieldEditor(SeamVersion[] seamVersions, String defaultValue, NewSeamRuntimeAction action) {
+ return createSeamRuntimeSelectionFieldEditor(seamVersions, defaultValue, action, false);
+ }
+
+ /**
+ * @param seamVersions Array of seam runtime versions. If length == 0 then use all versions
+ * @param defaultSelection
+ * @param action
+ * @param canBeEmpty
+ * @return Editor to select seam runtime
+ */
+ public static IFieldEditor createSeamRuntimeSelectionFieldEditor(SeamVersion[] seamVersions, String defaultValue, NewSeamRuntimeAction action, boolean canBeEmpty) {
if(seamVersions.length==0) {
seamVersions = SeamVersion.ALL_VERSIONS;
}
+ List<String> names = getRuntimeNames(seamVersions);
+ if(defaultValue!=null && defaultValue.trim().length()>0 && !names.contains(defaultValue)) {
+ names.add(0, defaultValue);
+ }
+ if(canBeEmpty) {
+ names.add(0, "");
+ }
IFieldEditor jBossSeamRuntimeEditor = IFieldEditorFactory.INSTANCE
.createComboWithButton(ISeamFacetDataModelProperties.SEAM_RUNTIME_NAME,
- SeamUIMessages.SEAM_INSTALL_WIZARD_PAGE_SEAM_RUNTIME, getRuntimeNames(seamVersions),
+ SeamUIMessages.SEAM_INSTALL_WIZARD_PAGE_SEAM_RUNTIME, names,
defaultValue,
true, action, (IValidator)null);
return jBossSeamRuntimeEditor;
@@ -376,8 +394,18 @@
* @return Editor to select seam runtime
*/
public static IFieldEditor createSeamRuntimeSelectionFieldEditor(SeamVersion[] seamVersions, String defaultValue) {
+ return createSeamRuntimeSelectionFieldEditor(seamVersions, defaultValue, false);
+ }
+
+ /**
+ * @param seamVersions Array of seam runtime versions. If length == 0 then use all versions
+ * @param defaultSelection
+ * @param canBeEmpty
+ * @return Editor to select seam runtime
+ */
+ public static IFieldEditor createSeamRuntimeSelectionFieldEditor(SeamVersion[] seamVersions, String defaultValue, boolean canBeEmpty) {
DefaultNewSeamRuntimeAction action = new DefaultNewSeamRuntimeAction(seamVersions);
- IFieldEditor jBossSeamRuntimeEditor = createSeamRuntimeSelectionFieldEditor(seamVersions, defaultValue, action);
+ IFieldEditor jBossSeamRuntimeEditor = createSeamRuntimeSelectionFieldEditor(seamVersions, defaultValue, action, canBeEmpty);
action.setRuntimeSelectionEditor(jBossSeamRuntimeEditor);
return jBossSeamRuntimeEditor;
}
@@ -387,10 +415,7 @@
* @return Editor to select seam runtime of all versions
*/
public static IFieldEditor createSeamRuntimeSelectionFieldEditor(String defaultValue) {
- DefaultNewSeamRuntimeAction action = new DefaultNewSeamRuntimeAction(new SeamVersion[0]);
- IFieldEditor jBossSeamRuntimeEditor = createSeamRuntimeSelectionFieldEditor(new SeamVersion[0], defaultValue, action);
- action.setRuntimeSelectionEditor(jBossSeamRuntimeEditor);
- return jBossSeamRuntimeEditor;
+ return createSeamRuntimeSelectionFieldEditor(new SeamVersion[0], defaultValue, false);
}
private static List<String> getRuntimeNames(SeamVersion[] seamVersions) {
17 years, 8 months
JBoss Tools SVN: r7462 - trunk/struts/docs/struts_tools_tutorial/en.
by jbosstools-commits@lists.jboss.org
Author: afedosik
Date: 2008-04-09 10:22:54 -0400 (Wed, 09 Apr 2008)
New Revision: 7462
Modified:
trunk/struts/docs/struts_tools_tutorial/en/master.xml
Log:
http://jira.jboss.com/jira/browse/JBDS-292 guide version update according to beta1 release
Modified: trunk/struts/docs/struts_tools_tutorial/en/master.xml
===================================================================
--- trunk/struts/docs/struts_tools_tutorial/en/master.xml 2008-04-09 14:12:46 UTC (rev 7461)
+++ trunk/struts/docs/struts_tools_tutorial/en/master.xml 2008-04-09 14:22:54 UTC (rev 7462)
@@ -12,13 +12,15 @@
<bookinfo>
<title>Struts Tools Tutorial</title>
+ <pubdate>April 2008</pubdate>
<copyright>
<year>2007</year>
- <holder>Red Hat</holder>
+ <year>2008</year>
+ <holder>JBoss, a division of Red Hat Inc.</holder>
</copyright>
<releaseinfo>
-<para>Version: 1.0.0.GA</para>
+<para>Version: 2.1.0.Beta1</para>
</releaseinfo>
</bookinfo>
17 years, 8 months