JBoss Tools SVN: r7290 - trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el.
by jbosstools-commits@lists.jboss.org
Author: vrubezhny
Date: 2008-04-03 10:37:08 -0400 (Thu, 03 Apr 2008)
New Revision: 7290
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamELOperandTokenizerForward.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1860 Seam find references is not using the right extensionpoint/shortcut
Fixed a bug in tokenizer
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamELOperandTokenizerForward.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamELOperandTokenizerForward.java 2008-04-03 14:35:45 UTC (rev 7289)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamELOperandTokenizerForward.java 2008-04-03 14:37:08 UTC (rev 7290)
@@ -204,8 +204,6 @@
// read the method parameters
skipMethodParameters(); // Do not use the return value (not a matter)
- // broken/unfinished a method - return part of the method
- releaseChar();
return (index - startOfToken> 0 ? new ELOperandToken(startOfToken, index - startOfToken, getCharSequence(startOfToken, index - startOfToken), ELOperandToken.EL_METHOD_TOKEN) : ELOperandToken.EOF);
}
}
16 years, 9 months
JBoss Tools SVN: r7289 - trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el.
by jbosstools-commits@lists.jboss.org
Author: vrubezhny
Date: 2008-04-03 10:35:45 -0400 (Thu, 03 Apr 2008)
New Revision: 7289
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/ElVarSearcher.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1860 Seam find references is not using the right extensionpoint/shortcut
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/ElVarSearcher.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/ElVarSearcher.java 2008-04-03 14:31:35 UTC (rev 7288)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/ElVarSearcher.java 2008-04-03 14:35:45 UTC (rev 7289)
@@ -10,12 +10,17 @@
******************************************************************************/
package org.jboss.tools.seam.internal.core.el;
+import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.core.resources.IFile;
+import org.eclipse.core.runtime.CoreException;
import org.eclipse.jface.text.BadLocationException;
import org.eclipse.jface.text.ITextViewer;
+import org.eclipse.wst.sse.core.StructuredModelManager;
+import org.eclipse.wst.sse.core.internal.provisional.IModelManager;
+import org.eclipse.wst.sse.core.internal.provisional.IStructuredModel;
import org.eclipse.wst.sse.core.internal.provisional.IndexedRegion;
import org.eclipse.wst.sse.ui.internal.contentassist.ContentAssistUtils;
import org.eclipse.wst.xml.core.internal.provisional.document.IDOMAttr;
@@ -79,6 +84,66 @@
}
/**
+ * @param viewer
+ * @param offset
+ * @return
+ */
+
+ public static Node getNode(IFile file, int offset) {
+ IndexedRegion treeNode = getNodeAt(file, offset);
+ if(treeNode instanceof Node) {
+ return (Node)treeNode;
+ }
+ return null;
+ }
+
+ /**
+ * Returns the closest IndexedRegion for the offset and viewer allowing
+ * for differences between viewer offsets and model positions. note: this
+ * method returns an IndexedRegion for read only
+ *
+ * @param file
+ * the file whose document is used to compute the proposals
+ * @param documentOffset
+ * an offset within the document for which completions should
+ * be computed
+ * @return an IndexedRegion
+ */
+
+ public static IndexedRegion getNodeAt(IFile file, int documentOffset) {
+
+ if (file == null)
+ return null;
+
+ IndexedRegion node = null;
+ IModelManager mm = StructuredModelManager.getModelManager();
+ IStructuredModel model = null;
+ if (mm != null) {
+ try {
+ model = mm.getModelForRead(file);
+ } catch (IOException e) {
+ return null;
+ } catch (CoreException e) {
+ return null;
+ }
+ }
+ try {
+ if (model != null) {
+ int lastOffset = documentOffset;
+ node = model.getIndexedRegion(documentOffset);
+ while (node == null && lastOffset >= 0) {
+ lastOffset--;
+ node = model.getIndexedRegion(lastOffset);
+ }
+ }
+ } finally {
+ if (model != null)
+ model.releaseFromRead();
+ }
+ return node;
+ }
+
+ /**
* @param node
* @return All var/value that can be used in this position and null if can't find anyone.
*/
@@ -92,6 +157,18 @@
/**
* @param node
+ * @return All var/value that can be used in this position and null if can't find anyone.
+ */
+ public static List<Var> findAllVars(IFile file, int offset) {
+ Node node = getNode(file, offset);
+ if(node!=null) {
+ return findAllVars(node);
+ }
+ return null;
+ }
+
+ /**
+ * @param node
* @return All var/value that can be used in node and null if can't find anyone.
*/
public static List<Var> findAllVars(Node node) {
@@ -111,6 +188,19 @@
}
/**
+ * @param node
+ * @return found var/value that can be used in this position and null if can't find anyone.
+ */
+ public static Var findVar(IFile file, int offset) {
+ Node node = getNode(file, offset);
+ if(node!=null) {
+ return findVar(node);
+ }
+ return null;
+ }
+
+
+ /**
* Finds var/value attribute in node
* @param node
* @param vars
@@ -310,6 +400,25 @@
public int getDeclarationLength() {
return declLength;
}
-
+
+ @Override
+ public boolean equals(Object obj) {
+ if (obj instanceof Var) {
+ Var compare = (Var)obj;
+ String str = getName();
+ if (str != null) {
+ if (!str.equals(compare.getName()))
+ return false;
+ } else {
+ if (compare.getName() != null)
+ return false;
+ }
+ str = getValue();
+ return (str != null ?
+ str.equals(compare.getValue()) :
+ compare.getValue() == null);
+ }
+ return false;
+ }
}
}
\ No newline at end of file
16 years, 9 months
JBoss Tools SVN: r7288 - trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard.
by jbosstools-commits@lists.jboss.org
Author: max.andersen(a)jboss.com
Date: 2008-04-03 10:31:35 -0400 (Thu, 03 Apr 2008)
New Revision: 7288
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamBaseOperation.java
Log:
catch other exceptions to get them in log!
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamBaseOperation.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamBaseOperation.java 2008-04-03 14:27:10 UTC (rev 7287)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamBaseOperation.java 2008-04-03 14:31:35 UTC (rev 7288)
@@ -144,7 +144,10 @@
result = new Status(IStatus.ERROR,SeamGuiPlugin.PLUGIN_ID,e.getMessage(),e);
} catch (CoreException e) {
result = new Status(IStatus.ERROR,SeamGuiPlugin.PLUGIN_ID,e.getMessage(),e);
- } finally {
+ } catch(Exception e) {
+ result = new Status(IStatus.ERROR,SeamGuiPlugin.PLUGIN_ID,e.getMessage(),e);
+ }
+ finally {
try {
// ComponentCore is used to handle case when user changes
// default WebContent folder to another one in
16 years, 9 months
JBoss Tools SVN: r7287 - trunk/hibernatetools/features/org.hibernate.eclipse.feature.
by jbosstools-commits@lists.jboss.org
Author: max.andersen(a)jboss.com
Date: 2008-04-03 10:27:10 -0400 (Thu, 03 Apr 2008)
New Revision: 7287
Added:
trunk/hibernatetools/features/org.hibernate.eclipse.feature/feature.properties
Log:
missing commit for JBIDE-1971 Hibernate and Seam branding and proper build.properties
Added: trunk/hibernatetools/features/org.hibernate.eclipse.feature/feature.properties
===================================================================
16 years, 9 months
JBoss Tools SVN: r7286 - trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2008-04-03 10:20:59 -0400 (Thu, 03 Apr 2008)
New Revision: 7286
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamBaseOperation.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1003 Fixed for non-wtp-web projects.
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamBaseOperation.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamBaseOperation.java 2008-04-03 14:14:45 UTC (rev 7285)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamBaseOperation.java 2008-04-03 14:20:59 UTC (rev 7286)
@@ -23,6 +23,7 @@
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.core.commands.operations.AbstractOperation;
import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IFolder;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
@@ -148,11 +149,18 @@
// ComponentCore is used to handle case when user changes
// default WebContent folder to another one in
// Web Facet configuration page
- IProject prj = seamPrjSet.getWarProject();
- IVirtualComponent webComp = ComponentCore.createComponent(prj);
- IVirtualFile manifest = webComp.getRootFolder().getFile("/META-INF/MANIFEST.MF");
- manifest.getUnderlyingFile().getParent().touch(monitor);
- manifest.getUnderlyingFile().touch(monitor);
+ IFolder viewFolder = seamPrjSet.getViewsFolder();
+ if(viewFolder!=null) {
+ IProject prj = seamPrjSet.getWarProject();
+ IVirtualComponent webComp = ComponentCore.createComponent(prj);
+ if(webComp!=null) {
+ IVirtualFile manifest = webComp.getRootFolder().getFile("/META-INF/MANIFEST.MF");
+ if(manifest!=null) {
+ manifest.getUnderlyingFile().getParent().touch(monitor);
+ manifest.getUnderlyingFile().touch(monitor);
+ }
+ }
+ }
// to keep workspace in sync
seamPrjSet.refreshLocal(monitor);
16 years, 9 months
JBoss Tools SVN: r7285 - trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template.
by jbosstools-commits@lists.jboss.org
Author: sdzmitrovich
Date: 2008-04-03 10:14:45 -0400 (Thu, 03 Apr 2008)
New Revision: 7285
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/EditableTemplateAdapter.java
Log:
code adjustment
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/EditableTemplateAdapter.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/EditableTemplateAdapter.java 2008-04-03 13:19:10 UTC (rev 7284)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/EditableTemplateAdapter.java 2008-04-03 14:14:45 UTC (rev 7285)
@@ -707,8 +707,8 @@
}
// set source selection
-// TemplateManagingUtil.setSourceSelection(pageContext, targetSourceNode,
-// focusOffset, length);
+ TemplateManagingUtil.setSourceSelection(pageContext, targetSourceNode,
+ focusOffset, length);
setSelectionRange(selection,
targetVisualNode, new Point(focusOffset, length));
16 years, 9 months
JBoss Tools SVN: r7284 - trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util.
by jbosstools-commits@lists.jboss.org
Author: sdzmitrovich
Date: 2008-04-03 09:19:10 -0400 (Thu, 03 Apr 2008)
New Revision: 7284
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/TemplateManagingUtil.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1468
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/TemplateManagingUtil.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/TemplateManagingUtil.java 2008-04-03 12:20:16 UTC (rev 7283)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/TemplateManagingUtil.java 2008-04-03 13:19:10 UTC (rev 7284)
@@ -431,4 +431,17 @@
}
}
+ /**
+ *
+ * @param pageContext
+ * @param startPosition
+ * @param endPosition
+ * @return
+ */
+ public static String getSourceText(VpePageContext pageContext,
+ int startPosition, int endPosition) {
+
+ return pageContext.getSourceBuilder().getStructuredTextViewer()
+ .getTextWidget().getText(startPosition, endPosition);
+ }
}
16 years, 9 months
JBoss Tools SVN: r7283 - trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/views/navigator.
by jbosstools-commits@lists.jboss.org
Author: sdzmitrovich
Date: 2008-04-03 08:20:16 -0400 (Thu, 03 Apr 2008)
New Revision: 7283
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/views/navigator/NavigatorViewPart.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1373
Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/views/navigator/NavigatorViewPart.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/views/navigator/NavigatorViewPart.java 2008-04-03 11:04:05 UTC (rev 7282)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/views/navigator/NavigatorViewPart.java 2008-04-03 12:20:16 UTC (rev 7283)
@@ -19,13 +19,6 @@
import org.eclipse.core.resources.IncrementalProjectBuilder;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.core.runtime.IProgressMonitor;
-import org.jboss.tools.common.model.ui.dnd.ControlDragDrop;
-import org.jboss.tools.common.model.ui.navigator.NavigatorLabelProvider;
-import org.jboss.tools.common.model.ui.navigator.NavigatorStatusLineProvider;
-import org.jboss.tools.common.model.ui.navigator.TreeViewerDragDropProvider;
-import org.jboss.tools.common.model.ui.navigator.TreeViewerMenuInvoker;
-import org.jboss.tools.common.model.ui.navigator.TreeViewerModelListenerImpl;
-import org.jboss.tools.common.model.ui.select.XModelObjectSelectionProvider;
import org.eclipse.jface.action.Action;
import org.eclipse.jface.action.IAction;
import org.eclipse.jface.action.IMenuListener;
@@ -64,6 +57,8 @@
import org.eclipse.ui.ide.IDEActionFactory;
import org.eclipse.ui.part.FileEditorInput;
import org.eclipse.ui.part.ISetSelectionTarget;
+import org.eclipse.ui.part.IShowInTarget;
+import org.eclipse.ui.part.ShowInContext;
import org.eclipse.ui.part.ViewPart;
import org.eclipse.ui.views.framelist.FrameList;
import org.eclipse.ui.views.navigator.IResourceNavigator;
@@ -71,7 +66,6 @@
import org.eclipse.ui.views.navigator.ResourceNavigatorActionGroup;
import org.eclipse.ui.views.navigator.ResourcePatternFilter;
import org.eclipse.ui.views.navigator.ResourceSorter;
-
import org.jboss.tools.common.meta.action.XActionInvoker;
import org.jboss.tools.common.model.XFilteredTree;
import org.jboss.tools.common.model.XJob;
@@ -81,12 +75,19 @@
import org.jboss.tools.common.model.filesystems.XFileObject;
import org.jboss.tools.common.model.impl.trees.FileSystemsTree;
import org.jboss.tools.common.model.project.IModelNature;
+import org.jboss.tools.common.model.ui.ModelUIPlugin;
+import org.jboss.tools.common.model.ui.dnd.ControlDragDrop;
+import org.jboss.tools.common.model.ui.editor.IModelObjectEditorInput;
+import org.jboss.tools.common.model.ui.navigator.NavigatorLabelProvider;
+import org.jboss.tools.common.model.ui.navigator.NavigatorStatusLineProvider;
+import org.jboss.tools.common.model.ui.navigator.TreeViewerDragDropProvider;
+import org.jboss.tools.common.model.ui.navigator.TreeViewerMenuInvoker;
+import org.jboss.tools.common.model.ui.navigator.TreeViewerModelListenerImpl;
+import org.jboss.tools.common.model.ui.select.XModelObjectSelectionProvider;
import org.jboss.tools.common.model.util.EclipseResourceUtil;
import org.jboss.tools.common.model.util.ModelFeatureFactory;
-import org.jboss.tools.common.model.ui.ModelUIPlugin;
-import org.jboss.tools.common.model.ui.editor.IModelObjectEditorInput;
-public class NavigatorViewPart extends ViewPart implements ISaveablePart, ISetSelectionTarget, IResourceNavigator //, ISelectionProvider
+public class NavigatorViewPart extends ViewPart implements ISaveablePart, ISetSelectionTarget, IResourceNavigator , IShowInTarget //, ISelectionProvider
{
public static final String VIEW_ID = "org.jboss.tools.common.model.ui.navigator.NavigatorViewPart";
private TreeViewer viewer;
@@ -667,4 +668,33 @@
public void setComparator(ResourceComparator comparator) {
}
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.eclipse.ui.part.IShowInTarget#show(org.eclipse.ui.part.ShowInContext)
+ */
+ public boolean show(ShowInContext context) {
+
+ Object input = context.getInput();
+ XModelObject o = null;
+ if (input instanceof IModelObjectEditorInput) {
+ o = ((IModelObjectEditorInput) input).getXModelObject();
+ } else if (input instanceof IFileEditorInput) {
+ IFileEditorInput fileInput = (IFileEditorInput) input;
+ IFile file = fileInput.getFile();
+ if (file == null)
+ return false;
+ o = getObjectByResource(file);
+ }
+ if (o == null)
+ return false;
+ ISelection newSelection = new StructuredSelection(o);
+ if (!getTreeViewer().getSelection().equals(o)) {
+ getTreeViewer().setSelection(newSelection);
+ }
+
+ return true;
+
+ }
+
}
16 years, 9 months
JBoss Tools SVN: r7282 - trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/editors/dnd.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2008-04-03 07:04:05 -0400 (Thu, 03 Apr 2008)
New Revision: 7282
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/editors/dnd/PaletteDropCommand.java
Log:
JBIDE-1951
Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/editors/dnd/PaletteDropCommand.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/editors/dnd/PaletteDropCommand.java 2008-04-03 10:49:56 UTC (rev 7281)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/editors/dnd/PaletteDropCommand.java 2008-04-03 11:04:05 UTC (rev 7282)
@@ -121,6 +121,9 @@
if(input instanceof IFileEditorInput) {
f = ((IFileEditorInput)input).getFile();
target = EclipseResourceUtil.getObjectByResource(f);
+ if(target == null && f.exists()) {
+ target = EclipseResourceUtil.createObjectForResource(f);
+ }
}
if(target == null) {
initialize2();
16 years, 9 months
JBoss Tools SVN: r7281 - in trunk: hibernatetools/plugins/org.hibernate.eclipse and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: max.andersen(a)jboss.com
Date: 2008-04-03 06:49:56 -0400 (Thu, 03 Apr 2008)
New Revision: 7281
Added:
trunk/seam/features/org.jboss.tools.seam.feature/feature.properties
trunk/seam/plugins/org.jboss.tools.seam.core/about.ini
trunk/seam/plugins/org.jboss.tools.seam.core/about.mappings
trunk/seam/plugins/org.jboss.tools.seam.core/about.properties
trunk/seam/plugins/org.jboss.tools.seam.core/seam_icon.png
Removed:
trunk/hibernatetools/plugins/org.hibernate.eclipse/welcome.xml
Modified:
trunk/hibernatetools/features/org.hibernate.eclipse.feature/build.properties
trunk/hibernatetools/plugins/org.hibernate.eclipse/about.html
trunk/hibernatetools/plugins/org.hibernate.eclipse/about.ini
trunk/hibernatetools/plugins/org.hibernate.eclipse/about.properties
trunk/hibernatetools/plugins/org.hibernate.eclipse/build.properties
trunk/seam/features/org.jboss.tools.seam.feature/build.properties
trunk/seam/features/org.jboss.tools.seam.feature/feature.xml
Log:
JBIDE-1971 Hibernate and Seam branding and proper build.properties
Modified: trunk/hibernatetools/features/org.hibernate.eclipse.feature/build.properties
===================================================================
--- trunk/hibernatetools/features/org.hibernate.eclipse.feature/build.properties 2008-04-03 10:46:54 UTC (rev 7280)
+++ trunk/hibernatetools/features/org.hibernate.eclipse.feature/build.properties 2008-04-03 10:49:56 UTC (rev 7281)
@@ -1 +1,2 @@
-bin.includes = feature.xml
+bin.includes = feature.xml,\
+ feature.properties
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse/about.html
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse/about.html 2008-04-03 10:46:54 UTC (rev 7280)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse/about.html 2008-04-03 10:49:56 UTC (rev 7281)
@@ -21,7 +21,7 @@
</p>
<p>Information about this plugin is available at <a href="http://tools.hibernate.org">tools.hibernate.org</a>
-and <a href="http://www.jboss.com/products/jbosside">JBoss IDE project page</a></p>
+and <a href="http://www.jboss.org/tools">JBoss Tools project page</a></p>
<p>
This software is distributed under the terms of the FSF Lesser Gnu
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse/about.ini
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse/about.ini 2008-04-03 10:46:54 UTC (rev 7280)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse/about.ini 2008-04-03 10:49:56 UTC (rev 7281)
@@ -19,10 +19,6 @@
# Property "appName" contains name of the application (not translated)
# needed for primary features only
-# Property "welcomePage" contains path to welcome page (special XML-based format)
-# optional
-welcomePage=welcome.xml
-
# Property "welcomePerspective" contains the id of the perspective in which the
# welcome page is to be opened.
# optional
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse/about.properties
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse/about.properties 2008-04-03 10:46:54 UTC (rev 7280)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse/about.properties 2008-04-03 10:49:56 UTC (rev 7281)
@@ -2,6 +2,6 @@
\n\
Version: {featureVersion}\n\
\n\
-(c) Copyright JBoss Inc. contributors and others 2004 - 2006. All rights reserved.\n\
+(c) Copyright JBoss Inc. contributors and others 2004 - 2008. All rights reserved.\n\
Visit http://tools.hibernate.org
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse/build.properties
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse/build.properties 2008-04-03 10:46:54 UTC (rev 7280)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse/build.properties 2008-04-03 10:49:56 UTC (rev 7281)
@@ -14,10 +14,15 @@
lib/annotations/hibernate-validator.jar,\
lib/annotations/hibernate-search.jar,\
lib/annotations/lucene-core-2.2.0.jar,\
- lib/hibernate/log4j-1.2.15.jar
+ lib/hibernate/log4j-1.2.15.jar,\
+ about.ini,\
+ about.mappings,\
+ about.properties,\
+ hibernate_icon.gif
jars.compile.order = org.hibernate.eclipse.jar
source.org.hibernate.eclipse.jar = src/
output.org.hibernate.eclipse.jar = bin/
-src.includes = src/
+src.includes = src/,\
+ about.html
bin.excludes = lib/.cvsignore
source.lib/tools/bsh-2.0b1.jar = src/
Deleted: trunk/hibernatetools/plugins/org.hibernate.eclipse/welcome.xml
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse/welcome.xml 2008-04-03 10:46:54 UTC (rev 7280)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse/welcome.xml 2008-04-03 10:49:56 UTC (rev 7281)
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<welcomePage title="Hibernate Tools for Eclipse" format="wrap">
-
-<intro><p>This page will help familiarize you with the Hibernate Tools for Eclipse plugin.
-To get started, read the sections below and click on the related links.</p></intro>
-
-<item><b>Creating a Hibernate Console Configuration</b>
-<p>To be able to use Hibernate Tools optimally you need to create a "Hibernate Console Configuration".
-Such a configuration tells Hibernate Tools which hibernate configuration (cfg.xml), mapping files
-and classpath it should use to build up a Hibernate Configuration.
-</p></item>
-
-<item><b>Opening the Hibernate Console Perspective</b>
-<p>Select ...</p></item>
-
-<item><b>Learn More</b>
-<p>To learn more about Hibernate Tools you can read the <topic id="/org.hibernate.eclipse.help/toc.xml">Hibernate Tools Help</topic> or visit
-<a href="http://tools.hibernate.org">Hibernate Tools Website</a></p>
-</item>
-
-</welcomePage>
Modified: trunk/seam/features/org.jboss.tools.seam.feature/build.properties
===================================================================
--- trunk/seam/features/org.jboss.tools.seam.feature/build.properties 2008-04-03 10:46:54 UTC (rev 7280)
+++ trunk/seam/features/org.jboss.tools.seam.feature/build.properties 2008-04-03 10:49:56 UTC (rev 7281)
@@ -1 +1,2 @@
-bin.includes = feature.xml
+bin.includes = feature.xml,\
+ feature.properties
Added: trunk/seam/features/org.jboss.tools.seam.feature/feature.properties
===================================================================
Modified: trunk/seam/features/org.jboss.tools.seam.feature/feature.xml
===================================================================
--- trunk/seam/features/org.jboss.tools.seam.feature/feature.xml 2008-04-03 10:46:54 UTC (rev 7280)
+++ trunk/seam/features/org.jboss.tools.seam.feature/feature.xml 2008-04-03 10:49:56 UTC (rev 7281)
@@ -1,25 +1,26 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
- id="org.jboss.tools.seam.feature"
- label="SeamTools Feature"
- version="1.0.0"
- provider-name="RedHat, Inc.">
-
- <description url="http://www.jboss.org/tools">
- JBossTools Seam Feature
- </description>
-
- <copyright>
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+ id="org.jboss.tools.seam.feature"
+ label="SeamTools Feature"
+ version="1.0.0"
+ provider-name="RedHat, Inc."
+ plugin="org.jboss.tools.seam.core">
+
+ <description url="http://www.jboss.org/tools">
+ JBossTools Seam Feature
+ </description>
+
+ <copyright>
Copyright (c) 2007 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
Contributors:
-Red Hat, Inc. - initial API and implementation
- </copyright>
-
- <license url="http://www.eclipse.org/legal/epl-v10.html">
+Red Hat, Inc. - initial API and implementation
+ </copyright>
+
+ <license url="http://www.eclipse.org/legal/epl-v10.html">
Eclipse Public License - v 1.0
THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS
ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR
@@ -215,51 +216,51 @@
No party to this Agreement will bring a legal action under this
Agreement more than one year after the cause of action arose.
Each party waives its rights to a jury trial in any resulting
-litigation.
- </license>
+litigation.
+ </license>
<url>
<update label="JBossTools Update Site" url="http://download.jboss.org/jbosstools/updates/stable"/>
<discovery label="JBossTools Development Update Site" url="http://download.jboss.org/updates/development"/>
</url>
-
- <requires>
- <import feature="org.jboss.tools.richfaces.feature"/>
- <import feature="org.jboss.ide.eclipse.as.feature"/>
- <import feature="org.hibernate.eclipse.feature"/>
- <import feature="org.eclipse.datatools.connectivity.feature"/>
- <import feature="org.eclipse.datatools.enablement.jdbc.feature"/>
- </requires>
-
- <plugin
- id="org.jboss.tools.seam.core"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.seam.ui"
- download-size="0"
- install-size="0"
- version="0.0.0"
- unpack="false"/>
-
- <plugin
- id="org.jboss.tools.seam.xml"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.seam.xml.ui"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.seam.text.ext"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
-</feature>
+
+ <requires>
+ <import feature="org.jboss.tools.richfaces.feature"/>
+ <import feature="org.jboss.ide.eclipse.as.feature"/>
+ <import feature="org.hibernate.eclipse.feature"/>
+ <import feature="org.eclipse.datatools.connectivity.feature"/>
+ <import feature="org.eclipse.datatools.enablement.jdbc.feature"/>
+ </requires>
+
+ <plugin
+ id="org.jboss.tools.seam.core"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.seam.ui"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.jboss.tools.seam.xml"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.seam.xml.ui"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.seam.text.ext"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+</feature>
Added: trunk/seam/plugins/org.jboss.tools.seam.core/about.ini
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/about.ini (rev 0)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/about.ini 2008-04-03 10:49:56 UTC (rev 7281)
@@ -0,0 +1,27 @@
+# about.ini
+# contains information about a feature
+# java.io.Properties file (ISO 8859-1 with "\" escapes)
+# "%key" are externalized strings defined in about.properties
+# This file does not need to be translated.
+# test
+# Property "aboutText" contains blurb for "About" dialog (translated)
+aboutText=%blurb
+
+# Property "windowImage" contains path to window icon (16x16)
+# needed for primary features only
+
+# Property "featureImage" contains path to feature image (32x32)
+featureImage=seam_icon.png
+
+# Property "aboutImage" contains path to product image (500x330 or 115x164)
+# needed for primary features only
+
+# Property "appName" contains name of the application (not translated)
+# needed for primary features only
+
+# Property "welcomePerspective" contains the id of the perspective in which the
+# welcome page is to be opened.
+# optional
+
+
+
Property changes on: trunk/seam/plugins/org.jboss.tools.seam.core/about.ini
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/seam/plugins/org.jboss.tools.seam.core/about.mappings
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/about.mappings (rev 0)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/about.mappings 2008-04-03 10:49:56 UTC (rev 7281)
@@ -0,0 +1,5 @@
+# about.mappings
+# contains fill-ins for about.properties
+# java.io.Properties file (ISO 8859-1 with "\" escapes)
+# This file does not need to be translated.
+
Property changes on: trunk/seam/plugins/org.jboss.tools.seam.core/about.mappings
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/seam/plugins/org.jboss.tools.seam.core/about.properties
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/about.properties (rev 0)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/about.properties 2008-04-03 10:49:56 UTC (rev 7281)
@@ -0,0 +1,7 @@
+blurb=Seam Tools for Eclipse\n\
+\n\
+Version: {featureVersion}\n\
+\n\
+Copyright (c) 2007 Red Hat, Inc 2007 - 2008. All rights reserved.\n\
+Visit http://www.jboss.org/tools and http://www.seamframework.org
+
Property changes on: trunk/seam/plugins/org.jboss.tools.seam.core/about.properties
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/seam/plugins/org.jboss.tools.seam.core/seam_icon.png
===================================================================
(Binary files differ)
Property changes on: trunk/seam/plugins/org.jboss.tools.seam.core/seam_icon.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
16 years, 9 months