JBoss Tools SVN: r7018 - trunk/documentation/guides/GettingStartedGuide/en/images/first_seam.
by jbosstools-commits@lists.jboss.org
Author: ykryvinchanka
Date: 2008-03-19 12:54:07 -0400 (Wed, 19 Mar 2008)
New Revision: 7018
Modified:
trunk/documentation/guides/GettingStartedGuide/en/images/first_seam/first_seam_11.png
trunk/documentation/guides/GettingStartedGuide/en/images/first_seam/first_seam_13.png
trunk/documentation/guides/GettingStartedGuide/en/images/first_seam/first_seam_14.png
Log:
http://jira.jboss.com/jira/browse/JBDS-235 GSG. Screens updated.
Modified: trunk/documentation/guides/GettingStartedGuide/en/images/first_seam/first_seam_11.png
===================================================================
(Binary files differ)
Modified: trunk/documentation/guides/GettingStartedGuide/en/images/first_seam/first_seam_13.png
===================================================================
(Binary files differ)
Modified: trunk/documentation/guides/GettingStartedGuide/en/images/first_seam/first_seam_14.png
===================================================================
(Binary files differ)
18 years
JBoss Tools SVN: r7016 - trunk/documentation/guides/GettingStartedGuide/en/images/first_seam.
by jbosstools-commits@lists.jboss.org
Author: ykryvinchanka
Date: 2008-03-19 12:47:22 -0400 (Wed, 19 Mar 2008)
New Revision: 7016
Modified:
trunk/documentation/guides/GettingStartedGuide/en/images/first_seam/first_seam_10.png
trunk/documentation/guides/GettingStartedGuide/en/images/first_seam/first_seam_12.png
trunk/documentation/guides/GettingStartedGuide/en/images/first_seam/first_seam_15.png
trunk/documentation/guides/GettingStartedGuide/en/images/first_seam/first_seam_16.png
trunk/documentation/guides/GettingStartedGuide/en/images/first_seam/first_seam_17.png
Log:
http://jira.jboss.com/jira/browse/JBDS-262 GSG. Screens updated according to the "RedHat" emblem.
Modified: trunk/documentation/guides/GettingStartedGuide/en/images/first_seam/first_seam_10.png
===================================================================
(Binary files differ)
Modified: trunk/documentation/guides/GettingStartedGuide/en/images/first_seam/first_seam_12.png
===================================================================
(Binary files differ)
Modified: trunk/documentation/guides/GettingStartedGuide/en/images/first_seam/first_seam_15.png
===================================================================
(Binary files differ)
Modified: trunk/documentation/guides/GettingStartedGuide/en/images/first_seam/first_seam_16.png
===================================================================
(Binary files differ)
Modified: trunk/documentation/guides/GettingStartedGuide/en/images/first_seam/first_seam_17.png
===================================================================
(Binary files differ)
18 years
JBoss Tools SVN: r7015 - in trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core: refactoring and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2008-03-19 12:35:47 -0400 (Wed, 19 Mar 2008)
New Revision: 7015
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/ISeamFacetDataModelProperties.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/refactoring/SeamRenameProjectChange.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/refactoring/SeamRenameProjectParticipant.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1919 Added Refactoring project names
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/ISeamFacetDataModelProperties.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/ISeamFacetDataModelProperties.java 2008-03-19 16:27:17 UTC (rev 7014)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/ISeamFacetDataModelProperties.java 2008-03-19 16:35:47 UTC (rev 7015)
@@ -109,6 +109,11 @@
String TEST_CREATING = "seam.test.creating"; //$NON-NLS-1$
/**
+ * Parent war project for EJB and Test projects.
+ */
+ String SEAM_PARENT_PROJECT = "seam.parent.project"; //$NON-NLS-1$
+
+ /**
* Ejb project name created from Seam Web Project in EAR deployment configuration
*/
String SEAM_EJB_PROJECT = "seam.ejb.project"; //$NON-NLS-1$
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/refactoring/SeamRenameProjectChange.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/refactoring/SeamRenameProjectChange.java 2008-03-19 16:27:17 UTC (rev 7014)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/refactoring/SeamRenameProjectChange.java 2008-03-19 16:35:47 UTC (rev 7015)
@@ -14,7 +14,9 @@
import java.util.List;
import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IResource;
import org.eclipse.core.resources.ProjectScope;
+import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.OperationCanceledException;
@@ -23,6 +25,7 @@
import org.eclipse.ltk.core.refactoring.Change;
import org.eclipse.ltk.core.refactoring.RefactoringStatus;
import org.jboss.tools.seam.core.SeamCorePlugin;
+import org.jboss.tools.seam.internal.core.project.facet.ISeamFacetDataModelProperties;
import org.osgi.service.prefs.BackingStoreException;
/**
@@ -32,30 +35,43 @@
IProject project;
String newName;
String oldName;
-
- static String[] PROPERTIES = {
- "seam.parent.project",
- "seam.ear.project",
- "seam.ejb.project",
- "seam.test.project"
+
+ static String[] PROJECT_NAME_PROPERTIES = {
+ ISeamFacetDataModelProperties.SEAM_PARENT_PROJECT,
+ ISeamFacetDataModelProperties.SEAM_EAR_PROJECT,
+ ISeamFacetDataModelProperties.SEAM_EJB_PROJECT,
+ ISeamFacetDataModelProperties.SEAM_TEST_PROJECT
};
-
- List<String> relevantProperties = new ArrayList<String>();
-
+
+ static String[] SOURCE_FOLDER_PROPERTIES = {
+ ISeamFacetDataModelProperties.ENTITY_BEAN_SOURCE_FOLDER,
+ ISeamFacetDataModelProperties.SESSION_BEAN_SOURCE_FOLDER,
+ ISeamFacetDataModelProperties.TEST_SOURCE_FOLDER,
+ ISeamFacetDataModelProperties.WEB_CONTENTS_FOLDER
+ };
+
+ List<String> relevantProjectNameProperties = new ArrayList<String>();
+ List<String> relevantSourceFolderProperties = new ArrayList<String>();
+
public SeamRenameProjectChange(IProject project, String newName, String oldName) {
this.project = project;
this.newName = newName;
this.oldName = oldName;
IEclipsePreferences ps = getSeamPreferences();
- for (int i = 0; i < PROPERTIES.length; i++) {
- if(oldName.equals(ps.get(PROPERTIES[i], null))) {
- relevantProperties.add(PROPERTIES[i]);
- }
+ for (int i = 0; i < PROJECT_NAME_PROPERTIES.length; i++) {
+ if(oldName.equals(ps.get(PROJECT_NAME_PROPERTIES[i], null))) {
+ relevantProjectNameProperties.add(PROJECT_NAME_PROPERTIES[i]);
+ }
}
+ for (int i = 0; i < SOURCE_FOLDER_PROPERTIES.length; i++) {
+ if(ps.get(SOURCE_FOLDER_PROPERTIES[i], "").startsWith("/" + oldName + "/")) {
+ relevantSourceFolderProperties.add(SOURCE_FOLDER_PROPERTIES[i]);
+ }
+ }
}
-
+
public boolean isRelevant() {
- return relevantProperties.size() > 0;
+ return relevantProjectNameProperties.size() > 0 || relevantSourceFolderProperties.size() > 0;
}
@Override
@@ -65,7 +81,7 @@
@Override
public String getName() {
- return project.getName();
+ return "Update Seam Project Properties for " + project.getName();
}
@Override
@@ -73,8 +89,7 @@
}
@Override
- public RefactoringStatus isValid(IProgressMonitor pm) throws CoreException,
- OperationCanceledException {
+ public RefactoringStatus isValid(IProgressMonitor pm) throws CoreException, OperationCanceledException {
return new RefactoringStatus();
}
@@ -84,12 +99,26 @@
try {
pm.beginTask(getName(), 1);
+ if(project.getName().equals(oldName)) {
+ IResource newProject = ResourcesPlugin.getWorkspace().getRoot().findMember(newName);
+ if(!project.exists() && (newProject instanceof IProject) && newProject.exists()) {
+ project = (IProject)newProject;
+ }
+ }
IEclipsePreferences ps = getSeamPreferences();
- for (String property: relevantProperties) {
+ for (String property: relevantProjectNameProperties) {
if(oldName.equals(ps.get(property, null))) {
ps.put(property, newName);
}
}
+ String oldPrefix = "/" + oldName + "/";
+ for (String property: relevantSourceFolderProperties) {
+ String oldProperty = ps.get(property, "");
+ if(oldProperty.startsWith(oldPrefix) && oldProperty.length()>oldPrefix.length()) {
+ ps.put(property, "/" + newName + "/" + oldProperty.substring(oldPrefix.length()));
+ }
+ }
+
try {
ps.flush();
} catch (BackingStoreException e) {
@@ -105,5 +134,4 @@
IScopeContext projectScope = new ProjectScope(project);
return projectScope.getNode(SeamCorePlugin.PLUGIN_ID);
}
-
-}
+}
\ No newline at end of file
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/refactoring/SeamRenameProjectParticipant.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/refactoring/SeamRenameProjectParticipant.java 2008-03-19 16:27:17 UTC (rev 7014)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/refactoring/SeamRenameProjectParticipant.java 2008-03-19 16:35:47 UTC (rev 7015)
@@ -26,10 +26,10 @@
*/
public class SeamRenameProjectParticipant extends RenameParticipant {
public static final String PARTICIPANT_NAME="seam-RenameProjectParticipant";
-
+
IProject project;
String oldName;
-
+
public SeamRenameProjectParticipant() {}
@Override
@@ -42,7 +42,7 @@
if (!pm.isCanceled()) {
String newName = getArguments().getNewName();
if(newName == null || newName.trim().length() == 0) return null;
- CompositeChange change = new CompositeChange("Update Seam projects");
+ CompositeChange change = new CompositeChange("Update Seam Projects");
IProject[] ps = ResourcesPlugin.getWorkspace().getRoot().getProjects();
for (int i = 0; i < ps.length; i++) {
SeamRenameProjectChange c = new SeamRenameProjectChange(ps[i], newName, oldName);
@@ -67,5 +67,4 @@
oldName = project.getName();
return true;
}
-
-}
+}
\ No newline at end of file
18 years
JBoss Tools SVN: r7014 - in trunk/struts/plugins: org.jboss.tools.struts/src/org/jboss/tools/struts/plugins/model/handlers and 4 other directories.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2008-03-19 12:27:17 -0400 (Wed, 19 Mar 2008)
New Revision: 7014
Modified:
trunk/struts/plugins/org.jboss.tools.struts.debug/src/org/jboss/tools/struts/debug/internal/ActionConditionBreakpoint.java
trunk/struts/plugins/org.jboss.tools.struts.ui/src/org/jboss/tools/struts/ui/editor/StrutsEditor.java
trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/model/handlers/JSPAdopt.java
trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/plugins/model/handlers/AddMessagesHandler.java
trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/plugins/model/handlers/AddSpecialPluginHandler.java
trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/validators/model/FileValidatorLoader.java
trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/webprj/model/helpers/context/ImportProjectWizardContext.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-891
Modified: trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/model/handlers/JSPAdopt.java
===================================================================
--- trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/model/handlers/JSPAdopt.java 2008-03-19 16:12:41 UTC (rev 7013)
+++ trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/model/handlers/JSPAdopt.java 2008-03-19 16:27:17 UTC (rev 7014)
@@ -13,6 +13,7 @@
import java.util.*;
import org.jboss.tools.common.model.*;
import org.jboss.tools.common.meta.*;
+import org.jboss.tools.struts.StrutsModelPlugin;
import org.jboss.tools.struts.model.helpers.StrutsProcessStructureHelper;
public class JSPAdopt implements XAdoptManager {
@@ -41,7 +42,7 @@
try {
c = Integer.parseInt(p.getProperty("pos"));
} catch (Exception e) {
- //ignore
+ StrutsModelPlugin.getPluginLog().logError(e);
}
if(c < 0) return;
String path = object.getAttributeValue("path");
Modified: trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/plugins/model/handlers/AddMessagesHandler.java
===================================================================
--- trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/plugins/model/handlers/AddMessagesHandler.java 2008-03-19 16:12:41 UTC (rev 7013)
+++ trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/plugins/model/handlers/AddMessagesHandler.java 2008-03-19 16:27:17 UTC (rev 7014)
@@ -16,6 +16,7 @@
import org.jboss.tools.common.model.util.*;
import org.jboss.tools.common.meta.action.XActionInvoker;
import org.jboss.tools.common.meta.action.impl.*;
+import org.jboss.tools.struts.StrutsModelPlugin;
public class AddMessagesHandler extends AbstractHandler {
@@ -50,7 +51,7 @@
try {
i = Integer.valueOf(action.getProperty("index")).intValue();
} catch (Exception e) {
- //ignore
+ StrutsModelPlugin.getPluginLog().logError(e);
}
return getTemplate(model, i);
}
Modified: trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/plugins/model/handlers/AddSpecialPluginHandler.java
===================================================================
--- trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/plugins/model/handlers/AddSpecialPluginHandler.java 2008-03-19 16:12:41 UTC (rev 7013)
+++ trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/plugins/model/handlers/AddSpecialPluginHandler.java 2008-03-19 16:27:17 UTC (rev 7014)
@@ -77,7 +77,7 @@
try {
i = Integer.valueOf(action.getProperty("index")).intValue(); //$NON-NLS-1$
} catch (Exception e) {
- //ignore
+ StrutsModelPlugin.getPluginLog().logError(e);
}
if(i < 0) return null;
XModelObject[] ps = model.getByPath("%Options%/Struts Studio/Automation/Plug-ins Insets").getChildren(); //$NON-NLS-1$
Modified: trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/validators/model/FileValidatorLoader.java
===================================================================
--- trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/validators/model/FileValidatorLoader.java 2008-03-19 16:12:41 UTC (rev 7013)
+++ trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/validators/model/FileValidatorLoader.java 2008-03-19 16:27:17 UTC (rev 7014)
@@ -16,6 +16,7 @@
import org.jboss.tools.common.model.XModelObject;
import org.jboss.tools.common.model.loaders.impl.SimpleWebFileLoader;
import org.jboss.tools.common.model.util.*;
+import org.jboss.tools.struts.StrutsModelPlugin;
public class FileValidatorLoader extends SimpleWebFileLoader {
@@ -54,7 +55,7 @@
try {
p = Integer.parseInt(pos);
} catch (Exception e) {
- //ignore
+ StrutsModelPlugin.getPluginLog().logError(e);
}
if(p < 0) p = 0;
o.setAttributeValue("position", "" + p);
Modified: trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/webprj/model/helpers/context/ImportProjectWizardContext.java
===================================================================
--- trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/webprj/model/helpers/context/ImportProjectWizardContext.java 2008-03-19 16:12:41 UTC (rev 7013)
+++ trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/webprj/model/helpers/context/ImportProjectWizardContext.java 2008-03-19 16:27:17 UTC (rev 7014)
@@ -21,6 +21,7 @@
import org.jboss.tools.common.model.util.XModelObjectUtil;
import org.jboss.tools.common.util.FileUtil;
import org.jboss.tools.struts.StrutsConstants;
+import org.jboss.tools.struts.StrutsModelPlugin;
import org.jboss.tools.struts.StrutsPreference;
import org.jboss.tools.struts.StrutsProjectUtil;
import org.jboss.tools.struts.StrutsUtils;
@@ -155,7 +156,7 @@
try {
getProjectHandle().refreshLocal(IProject.DEPTH_INFINITE, null);
} catch (Exception e) {
- //ignore
+ StrutsModelPlugin.getPluginLog().logError(e);
}
}
Modified: trunk/struts/plugins/org.jboss.tools.struts.debug/src/org/jboss/tools/struts/debug/internal/ActionConditionBreakpoint.java
===================================================================
--- trunk/struts/plugins/org.jboss.tools.struts.debug/src/org/jboss/tools/struts/debug/internal/ActionConditionBreakpoint.java 2008-03-19 16:12:41 UTC (rev 7013)
+++ trunk/struts/plugins/org.jboss.tools.struts.debug/src/org/jboss/tools/struts/debug/internal/ActionConditionBreakpoint.java 2008-03-19 16:27:17 UTC (rev 7014)
@@ -83,7 +83,7 @@
suspend = false;
return false;
} catch (DebugException e) {
- //ignore
+ StrutsDebugPlugin.log(e);
return true;
}
}
@@ -138,7 +138,7 @@
try {
suspendPolicy = getSuspendPolicy();
} catch (CoreException e) {
- //ignore
+ StrutsDebugPlugin.log(e);
}
JDIThread jdiThread = (JDIThread)thread;
@@ -185,7 +185,7 @@
try {
Thread.sleep(100);
} catch (InterruptedException e) {
- //ignore
+ StrutsDebugPlugin.log(e);
}
}
}
@@ -229,7 +229,7 @@
try {
suspendPolicy = getSuspendPolicy();
} catch (CoreException e) {
- //ignore
+ StrutsDebugPlugin.log(e);
}
if (suspendPolicy == SUSPEND_VM) {
((JDIDebugTarget)thread.getDebugTarget()).resumeQuiet();
Modified: trunk/struts/plugins/org.jboss.tools.struts.ui/src/org/jboss/tools/struts/ui/editor/StrutsEditor.java
===================================================================
--- trunk/struts/plugins/org.jboss.tools.struts.ui/src/org/jboss/tools/struts/ui/editor/StrutsEditor.java 2008-03-19 16:12:41 UTC (rev 7013)
+++ trunk/struts/plugins/org.jboss.tools.struts.ui/src/org/jboss/tools/struts/ui/editor/StrutsEditor.java 2008-03-19 16:27:17 UTC (rev 7014)
@@ -561,7 +561,7 @@
ex = ee;
printer.dispose();
d = null;
- ProblemReportingHelper.reportProblem(ModelUIPlugin.PLUGIN_ID, ee);
+ ModelUIPlugin.getPluginLog().logError(ee);
}
if(ex==null){
d.setPages(new Pages(viewer,new PageFormat(printer,this.getWorkbenchPart().getSite().getShell().getDisplay())));
18 years
JBoss Tools SVN: r7013 - trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/impl.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2008-03-19 12:12:41 -0400 (Wed, 19 Mar 2008)
New Revision: 7013
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/impl/XModelEntityImpl.java
Log:
JBIDE-893
Modified: trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/impl/XModelEntityImpl.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/impl/XModelEntityImpl.java 2008-03-19 16:11:33 UTC (rev 7012)
+++ trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/impl/XModelEntityImpl.java 2008-03-19 16:12:41 UTC (rev 7013)
@@ -22,7 +22,6 @@
import org.jboss.tools.common.model.loaders.XObjectLoader;
import org.jboss.tools.common.model.plugin.ModelPlugin;
import org.jboss.tools.common.model.util.*;
-import org.jboss.tools.common.xml.XMLUtilities;
public class XModelEntityImpl extends XMetaElementImpl implements XModelEntity {
public static boolean hideHelp = true;
@@ -56,7 +55,7 @@
load(element);
element = null;
XModelMetaDataImpl meta = (XModelMetaDataImpl)getMetaModel();
- ArrayList es = meta.getExtensions().getExtensions(getName());
+ ArrayList<XModelEntityExtensionImpl> es = meta.getExtensions().getExtensions(getName());
if(es != null) {
for (int i = 0; i < es.size(); i++)
merge((XModelEntityExtensionImpl)es.get(i));
@@ -95,6 +94,7 @@
}
public void setImplementingClassName(String className){
+ if(className != null && className.length() == 0) className = null;
implementation = new ClassHolder(className, this, "Implementations");
implementationClassName = className;
}
18 years
JBoss Tools SVN: r7012 - trunk/common/plugins/org.jboss.tools.common.verification/src/org/jboss/tools/common/verification/vrules/handler.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2008-03-19 12:11:33 -0400 (Wed, 19 Mar 2008)
New Revision: 7012
Modified:
trunk/common/plugins/org.jboss.tools.common.verification/src/org/jboss/tools/common/verification/vrules/handler/VerifyConfigurationHandler.java
Log:
JBIDE-893
Modified: trunk/common/plugins/org.jboss.tools.common.verification/src/org/jboss/tools/common/verification/vrules/handler/VerifyConfigurationHandler.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.verification/src/org/jboss/tools/common/verification/vrules/handler/VerifyConfigurationHandler.java 2008-03-19 16:04:42 UTC (rev 7011)
+++ trunk/common/plugins/org.jboss.tools.common.verification/src/org/jboss/tools/common/verification/vrules/handler/VerifyConfigurationHandler.java 2008-03-19 16:11:33 UTC (rev 7012)
@@ -15,8 +15,12 @@
import org.jboss.tools.common.meta.action.impl.*;
import org.jboss.tools.common.model.*;
+/**
+ *
+ * @deprecated
+ */
public class VerifyConfigurationHandler extends AbstractHandler {
- SpecialWizard wizard = SpecialWizardFactory.createSpecialWizard("XXX.VRulesConfigurationWizard");
+ SpecialWizard wizard = SpecialWizardFactory.createSpecialWizard("org.jboss.tools.common.verification.ui.vrules.wizard.config.VRulesConfigurationWizard");
public VerifyConfigurationHandler() {}
18 years
JBoss Tools SVN: r7011 - trunk/hibernatetools/docs/reference/en/images/plugins.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2008-03-19 12:04:42 -0400 (Wed, 19 Mar 2008)
New Revision: 7011
Added:
trunk/hibernatetools/docs/reference/en/images/plugins/plugins_17_a.png
trunk/hibernatetools/docs/reference/en/images/plugins/plugins_18_a.png
trunk/hibernatetools/docs/reference/en/images/plugins/plugins_18_b.png
Log:
http://jira.jboss.com/jira/browse/JBDS-281 - adding screeens according to new info about opening source in the Configuration view and mapping diagram
Added: trunk/hibernatetools/docs/reference/en/images/plugins/plugins_17_a.png
===================================================================
(Binary files differ)
Property changes on: trunk/hibernatetools/docs/reference/en/images/plugins/plugins_17_a.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/hibernatetools/docs/reference/en/images/plugins/plugins_18_a.png
===================================================================
(Binary files differ)
Property changes on: trunk/hibernatetools/docs/reference/en/images/plugins/plugins_18_a.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/hibernatetools/docs/reference/en/images/plugins/plugins_18_b.png
===================================================================
(Binary files differ)
Property changes on: trunk/hibernatetools/docs/reference/en/images/plugins/plugins_18_b.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
18 years
JBoss Tools SVN: r7010 - trunk/hibernatetools/docs/reference/en/modules.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2008-03-19 12:03:01 -0400 (Wed, 19 Mar 2008)
New Revision: 7010
Modified:
trunk/hibernatetools/docs/reference/en/modules/plugins.xml
Log:
http://jira.jboss.com/jira/browse/JBDS-281 - Creating a Hibernate Mapping File section with three screens is added
Modified: trunk/hibernatetools/docs/reference/en/modules/plugins.xml
===================================================================
--- trunk/hibernatetools/docs/reference/en/modules/plugins.xml 2008-03-19 16:02:24 UTC (rev 7009)
+++ trunk/hibernatetools/docs/reference/en/modules/plugins.xml 2008-03-19 16:03:01 UTC (rev 7010)
@@ -46,6 +46,51 @@
</section>
<section>
+ <title>Creating a Hibernate Mapping File</title>
+
+ <para>For creating a skeleton mapping file, i. e. <emphasis>
+ <property>.hbm.xml</property>
+ </emphasis>, Hibernate Tools provide a basic wizard which you can bring up by navigating <emphasis>
+ <property>New > Hibernate XML mapping file</property>.</emphasis></para>
+
+ <figure>
+ <title>Hibernate XML Mapping File Wizard</title>
+
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/plugins/plugins_0.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>At first you'll be asked to specify the location and the name for a new mapping
+ file. On the next dialog you should type or browse the class to map.</para>
+ <figure>
+ <title>Specifying the Class to Map</title>
+
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/plugins/plugins_0_a.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>Pressing finish creates the file and opens it in the editor.</para>
+
+ <para> If you start the wizard from the selected class, all values will be detected there automatically.</para>
+
+ <figure>
+ <title>Creating Mapping File for Selected Class</title>
+
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/plugins/plugins_0_b.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ </section>
+
+ <section>
<title>Creating a Hibernate Configuration File</title>
<para>To be able to reverse engineer, prototype queries, and of course to simply use
@@ -323,71 +368,71 @@
</mediaobject>
</figure>
-
+
<para>The fallowing table specifies the parameters of the Classpath tab of the wizard.</para>
- <table>
- <title>Hibernate Console Configuration Classpath</title>
+ <table>
+ <title>Hibernate Console Configuration Classpath</title>
- <tgroup cols="3">
- <colspec colnum="1" colwidth="1*"/>
+ <tgroup cols="3">
+ <colspec colnum="1" colwidth="1*"/>
- <colspec colnum="2" colwidth="3*"/>
+ <colspec colnum="2" colwidth="3*"/>
- <colspec colnum="3" colwidth="1*"/>
+ <colspec colnum="3" colwidth="1*"/>
- <thead>
- <row>
- <entry align="center">
- <para>Parameter</para>
- </entry>
+ <thead>
+ <row>
+ <entry align="center">
+ <para>Parameter</para>
+ </entry>
- <entry align="center">
- <para>Description</para>
- </entry>
+ <entry align="center">
+ <para>Description</para>
+ </entry>
- <entry align="center">
- <para>Auto detected value</para>
- </entry>
- </row>
- </thead>
+ <entry align="center">
+ <para>Auto detected value</para>
+ </entry>
+ </row>
+ </thead>
- <tbody>
- <row>
- <entry>
- <para>Classpath</para>
- </entry>
+ <tbody>
+ <row>
+ <entry>
+ <para>Classpath</para>
+ </entry>
- <entry>
- <para>The classpath for loading POJO and JDBC drivers; only needed if the default
- classpath of the Project does not contain the required classes. Do not add
- Hibernate core libraries or dependencies, they are already included. If you get
- ClassNotFound errors then check this list for possible missing or redundant
- directories/jars.</para>
- </entry>
+ <entry>
+ <para>The classpath for loading POJO and JDBC drivers; only needed if the default
+ classpath of the Project does not contain the required classes. Do not add Hibernate
+ core libraries or dependencies, they are already included. If you get ClassNotFound
+ errors then check this list for possible missing or redundant
+ directories/jars.</para>
+ </entry>
- <entry>
- <para>Empty</para>
- </entry>
- </row>
+ <entry>
+ <para>Empty</para>
+ </entry>
+ </row>
- <row>
- <entry>
- <para>Include default classpath from project</para>
- </entry>
+ <row>
+ <entry>
+ <para>Include default classpath from project</para>
+ </entry>
- <entry>
- <para>When enabled the project classpath will be appended to the classpath specified
- above</para>
- </entry>
+ <entry>
+ <para>When enabled the project classpath will be appended to the classpath specified
+ above</para>
+ </entry>
- <entry>
- <para>Enabled</para>
- </entry>
- </row>
- </tbody>
- </tgroup>
- </table>
+ <entry>
+ <para>Enabled</para>
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
<para>
<figure>
@@ -403,7 +448,8 @@
</mediaobject>
</figure>
- <para>Parameters of the Mappings tab in the <property>Hibernate Console Configuration wizard</property> are explained below:</para>
+ <para>Parameters of the Mappings tab in the <property>Hibernate Console Configuration
+ wizard</property> are explained below:</para>
<table>
<title>Hibernate Console Configuration Mappings</title>
@@ -592,9 +638,9 @@
</entry>
<entry>
- <para>Path to a directory where all output will be written by default. Be aware
- that existing files will be overwritten, so be sure to specify the correct
- directory.</para>
+ <para>Path to a directory where all output will be written by default. Be aware that
+ existing files will be overwritten, so be sure to specify the correct
+ directory.</para>
</entry>
</row>
@@ -811,8 +857,8 @@
</entry>
<entry>
- <para>Generates a set of html pages that documents the database schema and some of the
- mappings.</para>
+ <para>Generates a set of html pages that documents the database schema and some of
+ the mappings.</para>
</entry>
</row>
@@ -1039,8 +1085,8 @@
</figure>
<important>
- <para>Table/Column completion requires a proper configured hibernate console configuration and this
- configuration should be the default for the project where the <emphasis>
+ <para>Table/Column completion requires a proper configured hibernate console configuration
+ and this configuration should be the default for the project where the <emphasis>
<property>hbm.xml</property>
</emphasis> resides.</para>
</important>
@@ -1097,15 +1143,16 @@
and specific override settings for columns, e.g. define an explicit name for a column when the
default naming rules are not applicable.</para>
- <note><para>
- Not all the features of the <emphasis>
- <property>.reveng.xml </property>
- </emphasis> file are exposed or fully implemented in the editor, but the main functionality is
- there. To understand the full flexibility of the <emphasis>
- <property>reveng.xml</property>
- </emphasis>, please see <xref linkend="hibernaterevengxmlfile"/> </para>
+ <note>
+ <para> Not all the features of the <emphasis>
+ <property>.reveng.xml </property>
+ </emphasis> file are exposed or fully implemented in the editor, but the main functionality
+ is there. To understand the full flexibility of the <emphasis>
+ <property>reveng.xml</property>
+ </emphasis>, please see <xref linkend="hibernaterevengxmlfile"/>
+ </para>
</note>
-
+
<para>The editor is activated as soon as an <emphasis>
<property>.reveng.xml </property>
</emphasis> file is opened. To get an initial <emphasis>
@@ -1251,23 +1298,38 @@
</figure>
- <para><property>Hibernate Console Perspective</property> shows entity structure, query editor
- and result.</para>
-
-
<para>The <property>Console Configuration</property> does not dynamically adjust to changes
done in mappings and java code. To reload the configuration select the configuration and
click the <emphasis>
<property>Reload</property>
</emphasis> button in the view toolbar or in the context menu.</para>
+
+ <para>Besides, it's possible to open source and mapping files for objects showed in
+ <property>Hibernate Configurations View</property>. Just bring up the context menu for a
+ necessary object and select <emphasis>
+ <property>Open Source File</property>
+ </emphasis> to see appropriate Java class or <emphasis>
+ <property>Open Mapping File</property>
+ </emphasis> to open a proper <emphasis>
+ <property>.hbm.xml</property>.</emphasis></para>
+
+ <figure>
+ <title>Opening Source for Objects</title>
+
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/plugins/plugins_17_a.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
<section>
<title>Mapping Diagram</title>
- <para>In order to get a visual feel on how entities are related as well as view their structures, a
- <property>Mapping Diagram</property> is provided. It is available by right clicking on
- the entity you want a mapping diagram for and then choose <emphasis>
- <property>Open Mapping Diagram</property>
- </emphasis>.</para>
+ <para>In order to get a visual feel on how entities are related as well as view their
+ structures, a <property>Mapping Diagram</property> is provided. It is available by right
+ clicking on the entity you want a mapping diagram for and then choosing <emphasis>
+ <property>Open Mapping Diagram</property>.</emphasis></para>
<figure>
<title>Mapping Diagram</title>
@@ -1282,6 +1344,34 @@
</mediaobject>
</figure>
+ <para>For better navigating on the Diagram use Outline view.</para>
+
+ <figure>
+ <title>Navigating on the Diagram</title>
+
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/plugins/plugins_18_a.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>As in <property>Hibernate Configurations View</property> in <property>Mapping
+ Diagram</property> it's also possible to open source/mapping file for a chosen
+ object by selecting appropriate option in the context menu. If you ask to open
+ source/mapping file by right clicking on any entity element, this element will be
+ highlighted in the open file.</para>
+
+ <figure>
+ <title>Opening Source for Object</title>
+
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/plugins/plugins_18_b.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
</section>
</section>
18 years
JBoss Tools SVN: r7009 - trunk/hibernatetools/docs/reference/en/images/plugins.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2008-03-19 12:02:24 -0400 (Wed, 19 Mar 2008)
New Revision: 7009
Added:
trunk/hibernatetools/docs/reference/en/images/plugins/plugins_0.png
trunk/hibernatetools/docs/reference/en/images/plugins/plugins_0_a.png
trunk/hibernatetools/docs/reference/en/images/plugins/plugins_0_b.png
Log:
http://jira.jboss.com/jira/browse/JBDS-281 - Creating a Hibernate Mapping File section with three screens is added
Added: trunk/hibernatetools/docs/reference/en/images/plugins/plugins_0.png
===================================================================
(Binary files differ)
Property changes on: trunk/hibernatetools/docs/reference/en/images/plugins/plugins_0.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/hibernatetools/docs/reference/en/images/plugins/plugins_0_a.png
===================================================================
(Binary files differ)
Property changes on: trunk/hibernatetools/docs/reference/en/images/plugins/plugins_0_a.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/hibernatetools/docs/reference/en/images/plugins/plugins_0_b.png
===================================================================
(Binary files differ)
Property changes on: trunk/hibernatetools/docs/reference/en/images/plugins/plugins_0_b.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
18 years