JBoss Tools SVN: r6766 - trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch.
by jbosstools-commits@lists.jboss.org
Author: dgeraskov
Date: 2008-03-07 07:56:10 -0500 (Fri, 07 Mar 2008)
New Revision: 6766
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CodeGenerationLaunchDelegate.java
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/PathHelper.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1845
Create all path segments that don't exists(even new project!) using standard ContainerCreator.
Removed unnecessary methods from PathHelper.
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CodeGenerationLaunchDelegate.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CodeGenerationLaunchDelegate.java 2008-03-07 12:54:14 UTC (rev 6765)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CodeGenerationLaunchDelegate.java 2008-03-07 12:56:10 UTC (rev 6766)
@@ -32,6 +32,7 @@
import org.eclipse.core.filebuffers.FileBuffers;
import org.eclipse.core.filebuffers.ITextFileBuffer;
+import org.eclipse.core.filebuffers.manipulation.ContainerCreator;
import org.eclipse.core.filebuffers.manipulation.FileBufferOperationRunner;
import org.eclipse.core.filebuffers.manipulation.MultiTextEditWithProgress;
import org.eclipse.core.filebuffers.manipulation.TextFileBufferOperation;
@@ -212,7 +213,8 @@
String outputPathRes = PathHelper.getLocationAsStringPath(attributes.getOutputPath());
if (outputPathRes == null){
- IFolder folder = (IFolder) PathHelper.getOrCreateFolder(attributes.getOutputPath());
+ ContainerCreator cc = new ContainerCreator(ResourcesPlugin.getWorkspace(), PathHelper.pathOrNull(outputPathRes));
+ IFolder folder = (IFolder) cc.createContainer(new NullProgressMonitor());
if (folder != null) {
outputPathRes = PathHelper.getLocation( folder ).toOSString();
}
@@ -221,7 +223,8 @@
String templatePath = PathHelper.getLocationAsStringPath(attributes.getTemplatePath());
if (templatePath == null){
- IFolder folder = (IFolder) PathHelper.getOrCreateFolder(attributes.getTemplatePath());
+ ContainerCreator cc = new ContainerCreator(ResourcesPlugin.getWorkspace(), PathHelper.pathOrNull(templatePath));
+ IFolder folder = (IFolder) cc.createContainer(new NullProgressMonitor());
if (folder != null) {
templatePath = PathHelper.getLocation( folder ).toOSString();
}
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/PathHelper.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/PathHelper.java 2008-03-07 12:54:14 UTC (rev 6765)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/PathHelper.java 2008-03-07 12:56:10 UTC (rev 6766)
@@ -3,38 +3,17 @@
import java.io.File;
import org.eclipse.core.resources.IContainer;
-import org.eclipse.core.resources.IFolder;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.resources.IWorkspaceRoot;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.core.runtime.Path;
import org.eclipse.core.variables.IStringVariableManager;
import org.eclipse.core.variables.VariablesPlugin;
// TODO: move to internal.
public class PathHelper {
-
- public static IFolder getOrCreateFolder(IPath path) {
- if (path == null) return null;
- IFolder folder = ResourcesPlugin.getWorkspace().getRoot().getFolder(path);
- if (!folder.exists()) {
- try {
- folder.create(false, true,
- new NullProgressMonitor());
- } catch (Exception ex) {
- ex.printStackTrace();
- }
- }
- return folder;
- }
-
- public static IFolder getOrCreateFolder(String path) {
- if (path == null) return null;
- return getOrCreateFolder(pathOrNull(path));
- }
public static String getLocationAsStringPath(String path) {
if(path==null) return null;
16 years, 3 months
JBoss Tools SVN: r6765 - trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/action/impl.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2008-03-07 07:54:14 -0500 (Fri, 07 Mar 2008)
New Revision: 6765
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/action/impl/SpecialWizardSupport.java
Log:
JBIDE-1692
Modified: trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/action/impl/SpecialWizardSupport.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/action/impl/SpecialWizardSupport.java 2008-03-07 12:54:06 UTC (rev 6764)
+++ trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/action/impl/SpecialWizardSupport.java 2008-03-07 12:54:14 UTC (rev 6765)
@@ -14,6 +14,7 @@
import org.jboss.tools.common.model.*;
import org.eclipse.swt.widgets.Display;
+import org.jboss.tools.common.meta.XMapping;
import org.jboss.tools.common.meta.action.*;
import org.jboss.tools.common.meta.action.impl.handlers.*;
import org.jboss.tools.common.meta.help.HelpUtil;
@@ -332,6 +333,23 @@
}
return best == null ? null : best.getAttribute().getName();
}
+
+ public String getHelpContextId() {
+ if(action == null) return null;
+ String s = action.getProperty("helpId");
+ if(s != null && s.length() == 0) return null;
+ int i = s.indexOf('%');
+ if(i < 0) return s;
+ int j = s.indexOf('%', i + 1);
+ if(j < 0) return s;
+ String vr = s.substring(i + 1, j);
+ String tail = s.substring(j + 1);
+ XMapping map = action.getMetaModel().getMapping("HelpPlugins");
+ if(map == null) return s;
+ String varValue = map.getValue(vr);
+ if(varValue == null) return s;
+ return varValue + tail;
+ }
}
16 years, 3 months
JBoss Tools SVN: r6764 - trunk/struts/plugins/org.jboss.tools.struts/resources/meta.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2008-03-07 07:54:06 -0500 (Fri, 07 Mar 2008)
New Revision: 6764
Modified:
trunk/struts/plugins/org.jboss.tools.struts/resources/meta/validator11.meta
trunk/struts/plugins/org.jboss.tools.struts/resources/meta/validator_rules.meta
Log:
JBIDE-1692
Modified: trunk/struts/plugins/org.jboss.tools.struts/resources/meta/validator11.meta
===================================================================
--- trunk/struts/plugins/org.jboss.tools.struts/resources/meta/validator11.meta 2008-03-07 12:53:58 UTC (rev 6763)
+++ trunk/struts/plugins/org.jboss.tools.struts/resources/meta/validator11.meta 2008-03-07 12:54:06 UTC (rev 6764)
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE XModelEntityGroup PUBLIC "-//Red Hat, Inc.//DTD Meta 1.0//EN" "meta.dtd">
+<!DOCTYPE XModelEntityGroup PUBLIC "-//Red Hat, Inc.//DTD Meta 1.0//EN"
+ "meta.dtd">
<XModelEntityGroup>
<VERSION DEPENDS="Model:1.0" MODULE="Struts Editor" VERSION="1.1"/>
<MAPPINGS>
@@ -24,33 +25,21 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="validation rules" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="name" xmlname="NAME">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="name" xmlname="NAME"/>
<XModelAttribute default="xml" name="extension" xmlname="EXTENSION">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute loader="ElementType" name="_lateload" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute
default="-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1.3//EN"
- name="publicId" visibility="false">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ name="publicId" visibility="false"/>
<XModelAttribute
default="http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd"
- name="systemId" visibility="false">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ name="systemId" visibility="false"/>
<XModelAttribute default="no" name="isIncorrect" visibility="false">
<Constraint loader="List">
<value name="yes"/>
@@ -58,10 +47,7 @@
</Constraint>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="incorrectBody" visibility="false">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="incorrectBody" visibility="false"/>
<XModelAttribute default="true" name="expanded" visibility="false">
<Constraint loader="List">
<value name="false"/>
@@ -70,7 +56,6 @@
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute TRIM="no" name="comment" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
<XModelAttribute default="UTF-8" name="encoding">
@@ -124,7 +109,7 @@
</XActionItem>
<XActionItem HandlerClassName="%SpecialWizard%"
ICON="action.new.validator.formset"
- PROPERTIES="support=org.jboss.tools.struts.validators.model.handlers.AddFormsetSupport"
+ PROPERTIES="support=org.jboss.tools.struts.validators.model.handlers.AddFormsetSupport;helpId=%struts%add_formset"
displayName="Add Formset..." kind="action" name="AddFormset">
<EntityData EntityName="ValidationFormset11">
<AttributeData AttributeName="language" Mandatory="no"/>
@@ -198,7 +183,7 @@
</XActionItem>
<XActionItem HandlerClassName="%SpecialWizard%"
ICON="action.new.validator.formset"
- PROPERTIES="support=org.jboss.tools.struts.validators.model.handlers.AddFormsetSupport"
+ PROPERTIES="support=org.jboss.tools.struts.validators.model.handlers.AddFormsetSupport;helpId=%struts%add_formset"
displayName="Add Formset..." kind="action" name="AddFormset">
<EntityData EntityName="ValidationFormset11">
<AttributeData AttributeName="language" Mandatory="no"/>
@@ -231,27 +216,15 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="arg0" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="arg0" loader="ElementType" name="arg">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="name" xmlname="name">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="position" xmlname="position">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="bundle" xmlname="bundle">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="name" xmlname="name"/>
+ <XModelAttribute name="position" xmlname="position"/>
+ <XModelAttribute name="bundle" xmlname="bundle"/>
<XModelAttribute PROPERTIES="save=always" name="key" xmlname="key">
- <Constraint/>
<Editor name="SelectResourceKey"/>
</XModelAttribute>
<XModelAttribute default="true" name="resource" xmlname="resource">
@@ -262,7 +235,6 @@
<Editor name="List"/>
</XModelAttribute>
<XModelAttribute TRIM="no" name="comment" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -305,20 +277,12 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="constant" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="id=true;save=always"
- name="constant-name" xmlname="constant-name.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="save=always" name="constant-value" xmlname="constant-value.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ name="constant-name" xmlname="constant-name.#text"/>
+ <XModelAttribute PROPERTIES="save=always" name="constant-value" xmlname="constant-value.#text"/>
<XModelAttribute TRIM="no" name="comment" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -368,15 +332,10 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="field" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="id=true;save=always" name="property" xmlname="property">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute PROPERTIES="id=true;save=always" name="property" xmlname="property"/>
<XModelAttribute name="depends" xmlname="depends">
- <Constraint/>
<Editor name="ValidationDependency"/>
</XModelAttribute>
<XModelAttribute name="page" xmlname="page">
@@ -385,12 +344,8 @@
</Constraint>
<Editor name="Int"/>
</XModelAttribute>
- <XModelAttribute name="indexedListProperty" xmlname="indexedListProperty">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="indexedListProperty" xmlname="indexedListProperty"/>
<XModelAttribute TRIM="no" name="comment" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -480,15 +435,10 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="form" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="save=always" name="name" xmlname="name">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute PROPERTIES="save=always" name="name" xmlname="name"/>
<XModelAttribute TRIM="no" name="comment" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -543,7 +493,6 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="formset" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute name="language" xmlname="language">
@@ -554,12 +503,8 @@
<Constraint loader="ListString"/>
<Editor name="CountriesList"/>
</XModelAttribute>
- <XModelAttribute name="variant" xmlname="variant">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="variant" xmlname="variant"/>
<XModelAttribute TRIM="no" name="comment" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -619,11 +564,9 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="global" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute TRIM="no" name="comment" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -681,15 +624,10 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="msg" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="save=always" name="name" xmlname="name">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute PROPERTIES="save=always" name="name" xmlname="name"/>
<XModelAttribute PROPERTIES="save=always" name="key" xmlname="key">
- <Constraint/>
<Editor name="SelectResourceKey"/>
</XModelAttribute>
<XModelAttribute default="true" name="resource" xmlname="resource">
@@ -700,13 +638,9 @@
<Editor name="List"/>
</XModelAttribute>
<XModelAttribute TRIM="no" name="comment" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
- <XModelAttribute name="bundle" xmlname="bundle">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="bundle" xmlname="bundle"/>
</XModelAttributes>
<XActionItem kind="list">
<XActionItem HIDE="always" HandlerClassName="%Edit%"
@@ -757,43 +691,25 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="validator" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="save=always" name="name" xmlname="name">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute PROPERTIES="save=always" name="name" xmlname="name"/>
<XModelAttribute PROPERTIES="save=always" name="classname" xmlname="classname">
- <Constraint/>
<Editor name="AccessibleJava"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="save=always" name="method" xmlname="method">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="save=always" name="methodParams" xmlname="methodParams">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute PROPERTIES="save=always" name="method" xmlname="method"/>
+ <XModelAttribute PROPERTIES="save=always" name="methodParams" xmlname="methodParams"/>
<XModelAttribute PROPERTIES="save=always" name="msg" xmlname="msg">
- <Constraint/>
<Editor name="SelectResourceKey"/>
</XModelAttribute>
<XModelAttribute name="depends" xmlname="depends">
- <Constraint/>
<Editor name="ValidationDependency"/>
</XModelAttribute>
- <XModelAttribute name="jsFunctionName" xmlname="jsFunctionName">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="jsFunctionName" xmlname="jsFunctionName"/>
<XModelAttribute TRIM="no" name="javascript" visibility="false" xmlname="javascript.CDATA">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
<XModelAttribute TRIM="no" name="comment" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -895,21 +811,11 @@
</XEntityRenderer>
<XModelAttributes>
<XModelAttribute default="var" loader="ElementType" name="element type">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="id=true" name="var-name" xmlname="var-name.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="var-value" xmlname="var-value.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="var-jstype" xmlname="var-jstype.#text">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute PROPERTIES="id=true" name="var-name" xmlname="var-name.#text"/>
+ <XModelAttribute name="var-value" xmlname="var-value.#text"/>
+ <XModelAttribute name="var-jstype" xmlname="var-jstype.#text"/>
</XModelAttributes>
<XActionItem kind="list">
<XActionItem HIDE="always" HandlerClassName="%Edit%"
Modified: trunk/struts/plugins/org.jboss.tools.struts/resources/meta/validator_rules.meta
===================================================================
--- trunk/struts/plugins/org.jboss.tools.struts/resources/meta/validator_rules.meta 2008-03-07 12:53:58 UTC (rev 6763)
+++ trunk/struts/plugins/org.jboss.tools.struts/resources/meta/validator_rules.meta 2008-03-07 12:54:06 UTC (rev 6764)
@@ -15,6 +15,9 @@
<MAPPING name="Handlers">
<PAIR name="ValidatorPaste" value="org.jboss.tools.struts.validators.model.handlers.ValidatorPasteHandler"/>
</MAPPING>
+ <MAPPING name="HelpPlugins">
+ <PAIR name="struts" value="org.jboss.tools.jsf.doc.user."/>
+ </MAPPING>
<MAPPING name="ObjectEditor">
<PAIR name="Validator" value="org.jboss.tools.struts.validator.ui.ValidationCompoundEditor"/>
</MAPPING>
@@ -159,7 +162,7 @@
</XActionItem>
<XActionItem HandlerClassName="%SpecialWizard%"
ICON="action.new.validator.formset"
- PROPERTIES="support=org.jboss.tools.struts.validators.model.handlers.AddFormsetSupport"
+ PROPERTIES="support=org.jboss.tools.struts.validators.model.handlers.AddFormsetSupport;helpId=%struts%add_formset"
displayName="Add Formset..." kind="action" name="AddFormset">
<EntityData EntityName="ValidationFormset">
<AttributeData AttributeName="language" Mandatory="no"/>
@@ -233,7 +236,7 @@
</XActionItem>
<XActionItem HandlerClassName="%SpecialWizard%"
ICON="action.new.validator.formset"
- PROPERTIES="support=org.jboss.tools.struts.validators.model.handlers.AddFormsetSupport"
+ PROPERTIES="support=org.jboss.tools.struts.validators.model.handlers.AddFormsetSupport;helpId=%struts%add_formset"
displayName="Add Formset..." kind="action" name="AddFormset">
<EntityData EntityName="ValidationFormset">
<AttributeData AttributeName="language" Mandatory="no"/>
16 years, 3 months
JBoss Tools SVN: r6763 - trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/wizards/standard.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2008-03-07 07:53:58 -0500 (Fri, 07 Mar 2008)
New Revision: 6763
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/wizards/standard/DefaultStandardWizard.java
Log:
JBIDE-1692
Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/wizards/standard/DefaultStandardWizard.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/wizards/standard/DefaultStandardWizard.java 2008-03-07 12:39:04 UTC (rev 6762)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/wizards/standard/DefaultStandardWizard.java 2008-03-07 12:53:58 UTC (rev 6763)
@@ -14,6 +14,7 @@
import org.eclipse.jface.wizard.IWizardPage;
import org.eclipse.jface.wizard.Wizard;
import org.eclipse.swt.widgets.Composite;
+import org.eclipse.ui.PlatformUI;
import org.jboss.tools.common.meta.action.XEntityData;
import org.jboss.tools.common.meta.action.impl.SpecialWizardSupport;
@@ -54,6 +55,11 @@
}
public void createPageControls(Composite pageContainer) {
+ String helpContextId = (support == null) ? null : support.getHelpContextId();
+ if(helpContextId != null) {
+ PlatformUI.getWorkbench().getHelpSystem().setHelp(pageContainer, helpContextId);
+ }
+
this.pageContainer = pageContainer;
for (int i = 0; i < steps.length; i++){
IWizardPage page = steps[i];
16 years, 3 months
JBoss Tools SVN: r6761 - trunk/documentation/guides.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2008-03-07 07:18:43 -0500 (Fri, 07 Mar 2008)
New Revision: 6761
Added:
trunk/documentation/guides/nightly-build-index.html
trunk/documentation/guides/pom.xml
Log:
http://jira.jboss.com/jira/browse/JBIDE-1703
add pom for three guides
Added: trunk/documentation/guides/nightly-build-index.html
===================================================================
--- trunk/documentation/guides/nightly-build-index.html (rev 0)
+++ trunk/documentation/guides/nightly-build-index.html 2008-03-07 12:18:43 UTC (rev 6761)
@@ -0,0 +1,9 @@
+<html>
+ <body>
+ <h1>Nightly builds of JBoss Tools documentation</h1>
+ <p>Build timestamp: @TIMESTAMP@</p>
+ <p>Getting Started with RHDS: <a href="GettingStartedGuide/en/html/index.html">Html multi pages</a>,<a href="GettingStartedGuide/en/pdf/Getting_Started_with_RHDS.pdf">PDF</a></p>
+ <p>Getting Exadel Migration: <a href="Exadel-migration/en/html/index.html">Html multi pages</a>,<a href="Exadel-migration/en/pdf/Exadel-migration.pdf">PDF</a></p>
+ <p>JSF-Struts: <a href="legacy-jsf-struts/en/html/index.html">Html multi pages</a>,<a href="legacy-jsf-struts/en/pdf/Legacy-jsf-struts.pdf">PDF</a></p>
+ </body>
+</html>
\ No newline at end of file
Added: trunk/documentation/guides/pom.xml
===================================================================
--- trunk/documentation/guides/pom.xml (rev 0)
+++ trunk/documentation/guides/pom.xml 2008-03-07 12:18:43 UTC (rev 6761)
@@ -0,0 +1,21 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>documentation-aggregator</artifactId>
+ <version>1.0</version>
+ <packaging>pom</packaging>
+
+ <name>JBoss Tools - Documentation Aggregator</name>
+ <description>Grouping of JBoss Tools Project documentation modules</description>
+
+ <modules>
+ <module>Exadel-migration</module>
+ <module>GettingStartedGuide</module>
+ <module>Legacy-jsf-struts</module>
+ </modules>
+
+</project>
16 years, 3 months
JBoss Tools SVN: r6759 - 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: dazarov
Date: 2008-03-07 06:05:36 -0500 (Fri, 07 Mar 2008)
New Revision: 6759
Added:
trunk/seam/plugins/org.jboss.tools.seam.doc.user/SeamContextHelp.xml
Modified:
trunk/seam/plugins/org.jboss.tools.seam.doc.user/plugin.xml
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamActionWizard.java
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamConversationWizard.java
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamEntityWizard.java
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamFormWizard.java
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamGenerateEnitiesWizard.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1692
Added: trunk/seam/plugins/org.jboss.tools.seam.doc.user/SeamContextHelp.xml
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.doc.user/SeamContextHelp.xml (rev 0)
+++ trunk/seam/plugins/org.jboss.tools.seam.doc.user/SeamContextHelp.xml 2008-03-07 11:05:36 UTC (rev 6759)
@@ -0,0 +1,74 @@
+<contexts>
+ <context id="new_seam_project" title="New Seam Project">
+ <description>New Seam Project Wizard</description>
+ <topic href="create_new_seam.html#standaloneSeam" label="Create standalone Seam Web Project"/>
+ <topic href="create_new_seam.html#projectFacets" label="Select the Project Facets"/>
+ <topic href="create_new_seam.html#configureWebModule" label="How to Configure Web Module Settings"/>
+ <topic href="create_new_seam.html#addJSFCapab" label="Adding JSF Capabilities"/>
+ <topic href="create_new_seam.html#seamFacet" label="Configure Seam Facet Settings"/>
+ <topic href="crud_database_application.html#d0e1343" label="How to create the CRUD Database Application with Seam"/>
+ </context>
+ <context id="new_seam_action" title="New Seam Action">
+ <description>New Seam Action Wizard</description>
+ <topic href="seam_wizards.html#seam_action" label="New Seam Action"/>
+ <topic href="testNG.html#d0e2051" label="How to use the generated Seam-test project to run Seam tests?"/>
+ </context>
+ <context id="new_seam_form" title="New Seam Form">
+ <description>New Seam Form Wizard</description>
+ <topic href="seam_wizards.html#seam_form" label="New Seam Form"/>
+ </context>
+ <context id="new_seam_conversation" title="New Seam Conversation">
+ <description>New Seam Conversation Wizard</description>
+ <topic href="seam_wizards.html#seam_conversation" label="New Seam Conversation"/>
+ </context>
+ <context id="new_seam_entity" title="New Seam Entity">
+ <description>New Seam Entity Wizard</description>
+ <topic href="seam_wizards.html#seam_entity" label="New Seam Entity"/>
+ </context>
+ <context id="generate_seam_entities" title="Generate Seam Entities">
+ <description>Generate Seam Entities Wizard</description>
+ <topic href="generate_entities.html" label="Seam Generate Entities"/>
+ <topic href="crud_database_application.html#d0e1343" label="How to create the CRUD Database Application with Seam"/>
+ </context>
+ <context id="new_server_runtime" title="New Server Runtime">
+ <description>New Server Runtime Wizard</description>
+ <topic href="create_new_seam.html#standaloneSeam" label="Create standalone Seam Web Project"/>
+ </context>
+ <context id="new_server" title="New Server">
+ <description>New Server Wizard</description>
+ <topic href="create_new_seam.html#standaloneSeam" label="Create standalone Seam Web Project"/>
+ </context>
+ <context id="create_jsf_implementation_library" title="Create JSF Implementation Library">
+ <description>Create JSF Implementation Library Wizard</description>
+ <topic href="create_new_seam.html#addJSFCapab" label="Adding JSF Capabilities"/>
+ </context>
+ <context id="new_seam_runtime" title="New Seam Runtime">
+ <description>New Seam Runtime Wizard</description>
+ <topic href="create_new_seam.html#seamFacet" label="Configure Seam Facet Settings"/>
+ </context>
+ <context id="new_connection_profile" title="New Connection Profile">
+ <description>New Connection Profile Wizard</description>
+ <topic href="create_new_seam.html#seamFacet" label="Configure Seam Facet Settings"/>
+ <topic href="crud_database_application.html#d0e1343" label="How to create the CRUD Database Application with Seam"/>
+ </context>
+ <context id="hsqldb_database" title="HSQLDB Database">
+ <description>HSQLDB Database Wizard</description>
+ <topic href="create_new_seam.html#seamFacet" label="Configure Seam Facet Settings"/>
+ </context>
+ <context id="new_jdbc_connection_profile" title="New JDBC Connection Profile">
+ <description>New JDBC Connection Profile Wizard</description>
+ <topic href="crud_database_application.html#d0e1343" label="How to create the CRUD Database Application with Seam"/>
+ </context>
+ <context id="driver_definitions" title="Driver Definitions">
+ <description>Driver Definitions Wizard</description>
+ <topic href="crud_database_application.html#d0e1343" label="How to create the CRUD Database Application with Seam"/>
+ </context>
+ <context id="edit_driver_definition" title="Edit Driver Definition">
+ <description>Edit Driver Definition Wizard</description>
+ <topic href="crud_database_application.html#d0e1343" label="How to create the CRUD Database Application with Seam"/>
+ </context>
+ <context id="run_on_server" title="Run On Server">
+ <description>Run On Server Wizard</description>
+ <topic href="crud_application_walkthrough.html#d0e1813" label="Using CRUD Application"/>
+ </context>
+</contexts>
\ No newline at end of file
Modified: trunk/seam/plugins/org.jboss.tools.seam.doc.user/plugin.xml
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.doc.user/plugin.xml 2008-03-07 10:06:32 UTC (rev 6758)
+++ trunk/seam/plugins/org.jboss.tools.seam.doc.user/plugin.xml 2008-03-07 11:05:36 UTC (rev 6759)
@@ -8,6 +8,13 @@
file="toc.xml"
primary="true">
</toc>
+ </extension>
+ <extension
+ point="org.eclipse.help.contexts">
+ <contexts
+ file="SeamContextHelp.xml"
+ plugin="org.jboss.tools.seam.doc.user">
+ </contexts>
</extension>
</plugin>
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamActionWizard.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamActionWizard.java 2008-03-07 10:06:32 UTC (rev 6758)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamActionWizard.java 2008-03-07 11:05:36 UTC (rev 6759)
@@ -33,7 +33,7 @@
public void createPageControls(Composite pageContainer) {
super.createPageControls(pageContainer);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(pageContainer, "org.jboss.tools.seam.guide.new_seam_action");
+ PlatformUI.getWorkbench().getHelpSystem().setHelp(pageContainer, "org.jboss.tools.seam.doc.user.new_seam_action");
}
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamConversationWizard.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamConversationWizard.java 2008-03-07 10:06:32 UTC (rev 6758)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamConversationWizard.java 2008-03-07 11:05:36 UTC (rev 6759)
@@ -28,7 +28,7 @@
public void createPageControls(Composite pageContainer) {
super.createPageControls(pageContainer);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(pageContainer, "org.jboss.tools.seam.guide.new_seam_conversation");
+ PlatformUI.getWorkbench().getHelpSystem().setHelp(pageContainer, "org.jboss.tools.seam.doc.user.new_seam_conversation");
}
public SeamConversationWizard() {
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamEntityWizard.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamEntityWizard.java 2008-03-07 10:06:32 UTC (rev 6758)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamEntityWizard.java 2008-03-07 11:05:36 UTC (rev 6759)
@@ -33,7 +33,7 @@
public void createPageControls(Composite pageContainer) {
super.createPageControls(pageContainer);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(pageContainer, "org.jboss.tools.seam.guide.new_seam_entity");
+ PlatformUI.getWorkbench().getHelpSystem().setHelp(pageContainer, "org.jboss.tools.seam.doc.user.new_seam_entity");
}
/**
*
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamFormWizard.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamFormWizard.java 2008-03-07 10:06:32 UTC (rev 6758)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamFormWizard.java 2008-03-07 11:05:36 UTC (rev 6759)
@@ -34,7 +34,7 @@
public void createPageControls(Composite pageContainer) {
super.createPageControls(pageContainer);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(pageContainer, "org.jboss.tools.seam.guide.new_seam_form");
+ PlatformUI.getWorkbench().getHelpSystem().setHelp(pageContainer, "org.jboss.tools.seam.doc.user.new_seam_form");
}
/**
*
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamGenerateEnitiesWizard.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamGenerateEnitiesWizard.java 2008-03-07 10:06:32 UTC (rev 6758)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamGenerateEnitiesWizard.java 2008-03-07 11:05:36 UTC (rev 6759)
@@ -52,7 +52,7 @@
public void createPageControls(Composite pageContainer) {
super.createPageControls(pageContainer);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(pageContainer, "org.jboss.tools.seam.guide.generate_seam_entities");
+ PlatformUI.getWorkbench().getHelpSystem().setHelp(pageContainer, "org.jboss.tools.seam.doc.user.generate_seam_entities");
}
public SeamGenerateEnitiesWizard() {
16 years, 3 months
JBoss Tools SVN: r6758 - in trunk/hibernatetools/plugins/org.hibernate.eclipse.console: src/org/hibernate/eclipse/console and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: dgeraskov
Date: 2008-03-07 05:06:32 -0500 (Fri, 07 Mar 2008)
New Revision: 6758
Added:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/commands/
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/commands/OpenHQLHandler.java
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.xml
Log:
http://jira.jboss.com/jira/browse/JBIDE-1668
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.xml
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.xml 2008-03-07 09:11:23 UTC (rev 6757)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.xml 2008-03-07 10:06:32 UTC (rev 6758)
@@ -654,6 +654,22 @@
</moveParticipant-->
</extension>
+ <extension
+ point="org.eclipse.ui.bindings">
+ <key
+ commandId="org.hibernate.eclipse.console.commands.openHQLHandler"
+ schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+ sequence="M1+4">
+ </key>
+ </extension>
+ <extension
+ point="org.eclipse.ui.commands">
+ <command
+ defaultHandler="org.hibernate.eclipse.console.commands.OpenHQLHandler"
+ id="org.hibernate.eclipse.console.commands.openHQLHandler"
+ name="org.hibernate.eclipse.console.openHQLHandler">
+ </command>
+ </extension>
<!-- <extension
point="org.eclipse.ui.themes">
<themeElementCategory
Added: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/commands/OpenHQLHandler.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/commands/OpenHQLHandler.java (rev 0)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/commands/OpenHQLHandler.java 2008-03-07 10:06:32 UTC (rev 6758)
@@ -0,0 +1,129 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2008 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.hibernate.eclipse.console.commands;
+
+import org.eclipse.core.commands.AbstractHandler;
+import org.eclipse.core.commands.ExecutionEvent;
+import org.eclipse.core.commands.ExecutionException;
+import org.eclipse.core.expressions.EvaluationContext;
+import org.eclipse.core.resources.IFile;
+import org.eclipse.jface.dialogs.MessageDialog;
+import org.eclipse.jface.text.BadLocationException;
+import org.eclipse.jface.text.IDocument;
+import org.eclipse.jface.text.ITextSelection;
+import org.eclipse.jface.viewers.ISelection;
+import org.eclipse.jface.viewers.ISelectionProvider;
+import org.eclipse.ui.IEditorInput;
+import org.eclipse.ui.IEditorPart;
+import org.eclipse.ui.IPropertyListener;
+import org.eclipse.ui.ISources;
+import org.eclipse.ui.part.EditorPart;
+import org.eclipse.ui.part.FileEditorInput;
+import org.eclipse.ui.texteditor.IDocumentProvider;
+import org.eclipse.ui.texteditor.ITextEditor;
+import org.hibernate.eclipse.console.AbstractQueryEditor;
+import org.hibernate.eclipse.console.HibernateConsolePlugin;
+import org.hibernate.eclipse.console.actions.OpenMappingAction;
+
+/**
+ * @author Dmitry Geraskov
+ *
+ */
+public class OpenHQLHandler extends AbstractHandler {
+
+
+ public Object execute(ExecutionEvent event) throws ExecutionException {
+ if (event.getApplicationContext() instanceof EvaluationContext) {
+ EvaluationContext evContext = (EvaluationContext) event.getApplicationContext();
+ Object activePart = evContext.getVariable(ISources.ACTIVE_PART_NAME);
+ if (activePart instanceof EditorPart) {
+ EditorPart editorPart = (EditorPart) activePart;
+ if (isAccepted(editorPart.getEditorInput())){
+ openHQLEditor(editorPart);
+ }
+ }
+ }
+ return null;
+ }
+
+ private boolean isAccepted(IEditorInput input){
+ if (input instanceof IFile){
+ IFile file = (IFile)input;
+ return "xml".equals(file.getFileExtension())
+ || "java".equals(file.getFileExtension());
+ } else if (input instanceof FileEditorInput){
+ FileEditorInput fileInput = (FileEditorInput)input;
+ return "xml".equals(fileInput.getFile().getFileExtension())
+ || "java".equals(fileInput.getFile().getFileExtension());
+ }
+ return false;
+ }
+
+ private void openHQLEditor(EditorPart editorPart){
+ ITextEditor[] textEditors = OpenMappingAction.getTextEditors(editorPart);
+ if (textEditors.length == 0) return;
+ ITextEditor fromEditor = null;
+ ISelectionProvider selectionProvider = null;
+ ITextSelection oldSelection = null;
+ for (int i = 0; i < textEditors.length; i++) {
+ selectionProvider = textEditors[i].getSelectionProvider();
+ if (selectionProvider.getSelection() instanceof ITextSelection) {
+ oldSelection = (ITextSelection) selectionProvider.getSelection();
+ fromEditor = textEditors[i];
+ break;
+ }
+ }
+ if (oldSelection != null && fromEditor != null){
+ final ITextEditor fFromEditor = fromEditor;
+ final AbstractQueryEditor editor = (AbstractQueryEditor) HibernateConsolePlugin.getDefault().openScratchHQLEditor( null, oldSelection.getText() );
+ if (editor != null) {
+ IPropertyListener pl = new IPropertyListener(){
+
+ private ITextSelection previousSelection = null;
+
+ public void propertyChanged(Object source, int propId) {
+ if (IEditorPart.PROP_DIRTY == propId && !editor.isDirty()){
+ String newString = editor.getQueryString();
+
+ //get old string
+ ISelection selection = fFromEditor.getSelectionProvider().getSelection();
+ if (selection instanceof ITextSelection) {
+ ITextSelection tSelection = (ITextSelection) selection;
+ if (previousSelection == null) previousSelection = tSelection;
+ IDocumentProvider docProvider = fFromEditor.getDocumentProvider();
+ if (docProvider == null){
+ // editor was disposed
+ editor.removePropertyListener(this);
+ return;
+ }
+ if (!tSelection.equals(previousSelection)){
+ String title = "Replace selected query";
+ String question = "Selection in the editor " + fFromEditor.getTitle() + " was changed."
+ + " Do you really want to replace new selection?";
+ if( !MessageDialog.openConfirm( null, title, question)) return;
+ }
+ IDocument doc = docProvider.getDocument( fFromEditor.getEditorInput() );
+ try {
+ // replace old string with new one and change selection
+ doc.replace(tSelection.getOffset(), tSelection.getLength(), newString);
+ fFromEditor.selectAndReveal(tSelection.getOffset(), newString.length());
+ previousSelection = (ITextSelection) fFromEditor.getSelectionProvider().getSelection();
+ } catch (BadLocationException e) {
+ HibernateConsolePlugin.getDefault().log(e);
+ }
+ }
+ }
+ }};
+ editor.addPropertyListener(pl);
+ }
+ }
+ }
+}
Property changes on: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/commands/OpenHQLHandler.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Author Id Revision Date
Name: svn:eol-style
+ native
16 years, 3 months
JBoss Tools SVN: r6757 - trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console.
by jbosstools-commits@lists.jboss.org
Author: dgeraskov
Date: 2008-03-07 04:11:23 -0500 (Fri, 07 Mar 2008)
New Revision: 6757
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ImageConstants.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1442
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ImageConstants.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ImageConstants.java 2008-03-07 09:11:19 UTC (rev 6756)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ImageConstants.java 2008-03-07 09:11:23 UTC (rev 6757)
@@ -58,9 +58,9 @@
public static final String CLOSE_DISABLED_PATH = "images/close_disabled.gif";
- public static final String CLOSE_ALL_PATH = "images/removeall.gif";
+ public static final String CLOSE_ALL_PATH = "images/xpl/removeall.gif";
- public static final String CLOSE_ALL_DISABLED_PATH = "images/removeall_disabled.gif";
+ public static final String CLOSE_ALL_DISABLED_PATH = "images/xpl/removeall_disabled.gif";
public static final String IDPROPERTY_PATH = "images/idproperty.gif";
16 years, 3 months
JBoss Tools SVN: r6756 - in trunk/hibernatetools/plugins/org.hibernate.eclipse.console/icons/images: xpl and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: dgeraskov
Date: 2008-03-07 04:11:19 -0500 (Fri, 07 Mar 2008)
New Revision: 6756
Added:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/icons/images/xpl/removeall.gif
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/icons/images/xpl/removeall_disabled.gif
Removed:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/icons/images/removeall.gif
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/icons/images/removeall_disable.gif
Log:
http://jira.jboss.com/jira/browse/JBIDE-1442
Deleted: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/icons/images/removeall.gif
===================================================================
(Binary files differ)
Deleted: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/icons/images/removeall_disable.gif
===================================================================
(Binary files differ)
Copied: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/icons/images/xpl/removeall.gif (from rev 6649, trunk/hibernatetools/plugins/org.hibernate.eclipse.console/icons/images/removeall.gif)
===================================================================
(Binary files differ)
Added: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/icons/images/xpl/removeall_disabled.gif
===================================================================
(Binary files differ)
Property changes on: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/icons/images/xpl/removeall_disabled.gif
___________________________________________________________________
Name: svn:mime-type
+ image/gif
16 years, 3 months