JBoss Tools SVN: r9388 - trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/src/org/jboss/tools/hibernate/jpt/ui/wizard.
by jbosstools-commits@lists.jboss.org
Author: dgeraskov
Date: 2008-07-29 09:06:13 -0400 (Tue, 29 Jul 2008)
New Revision: 9388
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/src/org/jboss/tools/hibernate/jpt/ui/wizard/GenerateInitWizardPage.java
Log:
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/src/org/jboss/tools/hibernate/jpt/ui/wizard/GenerateInitWizardPage.java
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/src/org/jboss/tools/hibernate/jpt/ui/wizard/GenerateInitWizardPage.java 2008-07-29 13:02:53 UTC (rev 9387)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/src/org/jboss/tools/hibernate/jpt/ui/wizard/GenerateInitWizardPage.java 2008-07-29 13:06:13 UTC (rev 9388)
@@ -251,9 +251,9 @@
wc.setAttribute(IJavaLaunchConfigurationConstants.ATTR_PROJECT_NAME, nonEmptyTrimOrNull( jpaProject.getName() ));
wc.setAttribute(IJavaLaunchConfigurationConstants.ATTR_DEFAULT_CLASSPATH, true );
wc.setAttribute(IConsoleConfigurationLaunchConstants.FILE_MAPPINGS, (List)null);
- wc.setAttribute("hibernate.temp.use_jdbc_metadata_defaults", true);
- wc.setAttribute(IConsoleConfigurationLaunchConstants.USE_CONNECT_PROFILE_SETTINGS, true);
- wc.setAttribute(IConsoleConfigurationLaunchConstants.CONNECT_PROFILE_NAME, getConnectionProfileName());
+ //wc.setAttribute("hibernate.temp.use_jdbc_metadata_defaults", true);
+ //wc.setAttribute(IConsoleConfigurationLaunchConstants.USE_CONNECT_PROFILE_SETTINGS, true);
+ //wc.setAttribute(IConsoleConfigurationLaunchConstants.CONNECT_PROFILE_NAME, getConnectionProfileName());
wc.doSave();
return wc.getName();
} catch (CoreException e) {
16 years, 5 months
JBoss Tools SVN: r9387 - trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/META-INF.
by jbosstools-commits@lists.jboss.org
Author: dgeraskov
Date: 2008-07-29 09:02:53 -0400 (Tue, 29 Jul 2008)
New Revision: 9387
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/META-INF/MANIFEST.MF
Log:
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/META-INF/MANIFEST.MF
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/META-INF/MANIFEST.MF 2008-07-29 12:44:33 UTC (rev 9386)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/META-INF/MANIFEST.MF 2008-07-29 13:02:53 UTC (rev 9387)
@@ -11,7 +11,8 @@
org.eclipse.emf.ecore,
org.eclipse.jpt.eclipselink.core;bundle-version="1.0.0",
org.eclipse.jpt.eclipselink.ui;bundle-version="1.0.0",
- org.eclipse.jpt.utility;bundle-version="1.2.0"
+ org.eclipse.jpt.utility;bundle-version="1.2.0",
+ org.eclipse.wst.common.project.facet.core;bundle-version="1.3.0"
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Bundle-Vendor: Hibernate Team
16 years, 5 months
JBoss Tools SVN: r9386 - trunk/documentation/jbosstools-jdocbook-style/src/main/com/css/css.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2008-07-29 08:44:33 -0400 (Tue, 29 Jul 2008)
New Revision: 9386
Modified:
trunk/documentation/jbosstools-jdocbook-style/src/main/com/css/css/tools.css
Log:
https://jira.jboss.org/jira/browse/JBDS-336
font for ent styles text body is corrected
Modified: trunk/documentation/jbosstools-jdocbook-style/src/main/com/css/css/tools.css
===================================================================
--- trunk/documentation/jbosstools-jdocbook-style/src/main/com/css/css/tools.css 2008-07-29 12:28:34 UTC (rev 9385)
+++ trunk/documentation/jbosstools-jdocbook-style/src/main/com/css/css/tools.css 2008-07-29 12:44:33 UTC (rev 9386)
@@ -4,6 +4,8 @@
body {
text-align:center;
+ font-family:"Lucida Grande", verdana, "Luxi Sans","Trebuchet MS", helvetica,verdana,arial,sans-serif;
+
}
div.book, div.chapter, #title{
16 years, 5 months
JBoss Tools SVN: r9385 - trunk/documentation/jboss-tools-docs/index/en.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2008-07-29 08:28:34 -0400 (Tue, 29 Jul 2008)
New Revision: 9385
Modified:
trunk/documentation/jboss-tools-docs/index/en/master.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-253
link to PDF version of ESB guide is corrected
Modified: trunk/documentation/jboss-tools-docs/index/en/master.xml
===================================================================
--- trunk/documentation/jboss-tools-docs/index/en/master.xml 2008-07-29 11:07:05 UTC (rev 9384)
+++ trunk/documentation/jboss-tools-docs/index/en/master.xml 2008-07-29 12:28:34 UTC (rev 9385)
@@ -66,7 +66,7 @@
<primaryie>ESB Editor Reference Guide <ulink
url="en/esb_ref_guide/html/index.html">(html)</ulink>
<ulink url="en/esb_ref_guide/html_single/index.html">(html single)</ulink>
- <ulink url="en/esb_ref_guide/pdf/Hibernatetools_Reference_Guide.pdf"
+ <ulink url="en/esb_ref_guide/pdf/ESB_Reference_Guide.pdf"
>(pdf)</ulink>
</primaryie>
</indexentry>
16 years, 5 months
JBoss Tools SVN: r9384 - trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor.
by jbosstools-commits@lists.jboss.org
Author: dmaliarevich
Date: 2008-07-29 07:07:05 -0400 (Tue, 29 Jul 2008)
New Revision: 9384
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-2562, hotkey pressing was fixed,
https://jira.jboss.org/jira/browse/JBIDE-2571, <select> tag will be selected on the first click.
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java 2008-07-29 10:48:50 UTC (rev 9383)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java 2008-07-29 11:07:05 UTC (rev 9384)
@@ -1037,11 +1037,13 @@
.println("<<< notifySelectionChanged: " + reason); //$NON-NLS-1$
}
-
nsIDOMNode node = SelectionUtil.getSelectedNode(selection);
- if (node != null
- && node.getNodeType() == nsIDOMNode.TEXT_NODE) {
-
+ /*
+ * Fixes https://jira.jboss.org/jira/browse/JBIDE-2571
+ * Checking if the node is of text type was removed
+ * to allow <select> node to be selected on the first click.
+ */
+ if (node != null) {
selectionManager.setSelection(selection);
}
}
@@ -1243,76 +1245,102 @@
}
try {
- if (keyEventHandler
- .handleKeyPress(keyEvent)) {
- switcher
- .startActiveEditor(ActiveEditorSwitcher.ACTIVE_EDITOR_VISUAL);
- try {
- // Edward
- sourceSelectionChanged(true);
- visualSelectionController.setCaretEnabled(true);
- } catch (Exception e) {
- VpePlugin.reportProblem(e);
- } finally {
- switcher.stopActiveEditor();
- }
+ /*
+ * adding calls of core event handlers, for example' CTR+H' or
+ * 'CTRL+M' event handler dialog
+ */
+ boolean keyBindingPressed = false;
+ Event keyboardEvent = new Event();
+ /*
+ * widget where event occur
+ */
+ keyboardEvent.widget = xulRunnerEditor.getBrowser();
+
+ keyboardEvent.stateMask = (keyEvent.getAltKey() ? SWT.ALT : 0)
+ | (keyEvent.getCtrlKey() ? SWT.CTRL : 0)
+ | (keyEvent.getShiftKey() ? SWT.SHIFT : 0)
+ | (keyEvent.getMetaKey() ? SWT.MOD1 : 0);
+ keyboardEvent.x = 0;
+ keyboardEvent.y = 0;
+ keyboardEvent.type = SWT.KeyDown;
+
+ if (keyEvent.getKeyCode() == 0) {
+ keyboardEvent.keyCode = (int) keyEvent.getCharCode();
} else {
- // adding calls of core event handlers, for example' CTR+H' or
- // ' CTRL+M' event handler dialog
- Event keyboardEvent = new Event();
- // widget where event occur
- keyboardEvent.widget = xulRunnerEditor.getBrowser();
+ keyboardEvent.keyCode = (int) keyEvent.getKeyCode();
+ }
+ /*
+ * JBIDE-1627
+ */
+ List<KeyStroke> possibleKeyStrokes = WorkbenchKeyboard
+ .generatePossibleKeyStrokes(keyboardEvent);
+ IWorkbench iWorkbench = VpePlugin.getDefault().getWorkbench();
+ if (iWorkbench.hasService(IBindingService.class)) {
+ IBindingService iBindingService = (IBindingService) iWorkbench
+ .getService(IBindingService.class);
- keyboardEvent.stateMask = (keyEvent.getAltKey() ? SWT.ALT : 0)
- | (keyEvent.getCtrlKey() ? SWT.CTRL : 0)
- | (keyEvent.getShiftKey() ? SWT.SHIFT : 0)
- | (keyEvent.getMetaKey() ? SWT.MOD1 : 0);
- keyboardEvent.x = 0;
- keyboardEvent.y = 0;
- keyboardEvent.type = SWT.KeyDown;
+ KeySequence sequenceBeforeKeyStroke = KeySequence.getInstance();
+
+ for (Iterator<KeyStroke> iterator = possibleKeyStrokes
+ .iterator(); iterator.hasNext();) {
+
+ KeySequence sequenceAfterKeyStroke = KeySequence
+ .getInstance(sequenceBeforeKeyStroke, iterator
+ .next());
+ if (iBindingService.isPerfectMatch(sequenceAfterKeyStroke)) {
+ final Binding binding = iBindingService
+ .getPerfectMatch(sequenceAfterKeyStroke);
- if (keyEvent.getKeyCode() == 0) {
- keyboardEvent.keyCode = (int) keyEvent.getCharCode();
- } else {
- keyboardEvent.keyCode = (int) keyEvent.getKeyCode();
- }
- // JBIDE-1627
- List<KeyStroke> possibleKeyStrokes = WorkbenchKeyboard
- .generatePossibleKeyStrokes(keyboardEvent);
- IWorkbench iWorkbench = VpePlugin.getDefault().getWorkbench();
- if (iWorkbench.hasService(IBindingService.class)) {
- IBindingService iBindingService = (IBindingService) iWorkbench
- .getService(IBindingService.class);
+ if ((binding != null)
+ && (binding.getParameterizedCommand() != null)
+ && (binding.getParameterizedCommand()
+ .getCommand() != null)) {
- KeySequence sequenceBeforeKeyStroke = KeySequence
- .getInstance();
- for (Iterator<KeyStroke> iterator = possibleKeyStrokes
- .iterator(); iterator.hasNext();) {
- KeySequence sequenceAfterKeyStroke = KeySequence
- .getInstance(sequenceBeforeKeyStroke, iterator
- .next());
- if (iBindingService
- .isPerfectMatch(sequenceAfterKeyStroke)) {
- final Binding binding = iBindingService
- .getPerfectMatch(sequenceAfterKeyStroke);
+ keyBindingPressed = true;
- if ((binding != null)
- && (binding.getParameterizedCommand() != null)
- && (binding.getParameterizedCommand()
- .getCommand() != null)
- && ContentAssistCommandAdapter.CONTENT_PROPOSAL_COMMAND
- .equals(binding
- .getParameterizedCommand()
- .getCommand().getId())) {
+ if (ContentAssistCommandAdapter.CONTENT_PROPOSAL_COMMAND
+ .equals(binding.getParameterizedCommand()
+ .getCommand().getId())) {
keyboardEvent.type = SWT.NONE;
}
}
}
}
- // sends xulrunner event to eclipse environment
- getXulRunnerEditor().getBrowser().notifyListeners(
- keyboardEvent.type, keyboardEvent);
}
+
+
+ /*
+ * Sends xulrunner event to eclipse environment.
+ * dmaliarevich: while fixing JBIDE-2562 I found that
+ * eclipse handles key shortcuts without this notification.
+ */
+ // getXulRunnerEditor().getBrowser().notifyListeners(
+ // keyboardEvent.type, keyboardEvent);
+
+ /*
+ * Fixes https://jira.jboss.org/jira/browse/JBIDE-2562
+ * author: dmaliarevich
+ *
+ * When shortcut key is pressed do not handle this event in the
+ * handler.
+ */
+ if (!keyBindingPressed) {
+ if (keyEventHandler.handleKeyPress(keyEvent)) {
+ switcher
+ .startActiveEditor(ActiveEditorSwitcher.ACTIVE_EDITOR_VISUAL);
+ try {
+ /*
+ * Edward
+ */
+ sourceSelectionChanged(true);
+ visualSelectionController.setCaretEnabled(true);
+ } catch (Exception e) {
+ VpePlugin.reportProblem(e);
+ } finally {
+ switcher.stopActiveEditor();
+ }
+ }
+ }
} catch (Exception e) {
VpePlugin.getPluginLog().logError(e);
visualRefresh();
16 years, 5 months
JBoss Tools SVN: r9383 - trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.graph/META-INF.
by jbosstools-commits@lists.jboss.org
Author: koen.aers(a)jboss.com
Date: 2008-07-29 06:48:50 -0400 (Tue, 29 Jul 2008)
New Revision: 9383
Modified:
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.graph/META-INF/MANIFEST.MF
Log:
dependency update
Modified: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.graph/META-INF/MANIFEST.MF
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.graph/META-INF/MANIFEST.MF 2008-07-29 10:46:44 UTC (rev 9382)
+++ trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.graph/META-INF/MANIFEST.MF 2008-07-29 10:48:50 UTC (rev 9383)
@@ -5,12 +5,12 @@
Bundle-Version: 1.0.0
Bundle-Vendor: JBoss, a Division of Red Hat
Bundle-RequiredExecutionEnvironment: J2SE-1.5
-Require-Bundle: org.jboss.tools.flow.common.graph;bundle-version="1.0.0",
+Require-Bundle: org.jboss.tools.flow.common.core;bundle-version="1.0.0",
+ org.jboss.tools.flow.common.graph;bundle-version="1.0.0",
+ org.jboss.tools.flow.jpdl4.core;bundle-version="1.0.0",
org.eclipse.core.resources;bundle-version="3.4.0",
org.eclipse.gef;bundle-version="3.4.0",
org.eclipse.ui;bundle-version="3.4.0",
- org.eclipse.core.runtime;bundle-version="3.4.0",
- org.jboss.tools.flow.jpdl4.core;bundle-version="1.0.0",
- org.jboss.tools.flow.common.core;bundle-version="1.0.0"
+ org.eclipse.core.runtime;bundle-version="3.4.0"
Bundle-ActivationPolicy: lazy
Bundle-Activator: org.jboss.tools.flow.jpdl4.graph.Activator
16 years, 5 months
JBoss Tools SVN: r9382 - trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.graph/src/org/jboss/tools/flow/jpdl4/graph/wrapper.
by jbosstools-commits@lists.jboss.org
Author: koen.aers(a)jboss.com
Date: 2008-07-29 06:46:44 -0400 (Tue, 29 Jul 2008)
New Revision: 9382
Modified:
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.graph/src/org/jboss/tools/flow/jpdl4/graph/wrapper/ProcessWrapper.java
Log:
Modified: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.graph/src/org/jboss/tools/flow/jpdl4/graph/wrapper/ProcessWrapper.java
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.graph/src/org/jboss/tools/flow/jpdl4/graph/wrapper/ProcessWrapper.java 2008-07-29 10:42:49 UTC (rev 9381)
+++ trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.graph/src/org/jboss/tools/flow/jpdl4/graph/wrapper/ProcessWrapper.java 2008-07-29 10:46:44 UTC (rev 9382)
@@ -8,8 +8,6 @@
public class ProcessWrapper extends AbstractRootWrapper {
- private static final long serialVersionUID = 400L;
-
public ProcessWrapper() {
setElement(new Process());
}
16 years, 5 months
JBoss Tools SVN: r9381 - trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/src/org/jboss/tools/flow/jpdl4/core.
by jbosstools-commits@lists.jboss.org
Author: koen.aers(a)jboss.com
Date: 2008-07-29 06:42:49 -0400 (Tue, 29 Jul 2008)
New Revision: 9381
Modified:
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/src/org/jboss/tools/flow/jpdl4/core/Process.java
Log:
revert Process implementation to extend AbstractFlow
Modified: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/src/org/jboss/tools/flow/jpdl4/core/Process.java
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/src/org/jboss/tools/flow/jpdl4/core/Process.java 2008-07-29 10:40:52 UTC (rev 9380)
+++ trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/src/org/jboss/tools/flow/jpdl4/core/Process.java 2008-07-29 10:42:49 UTC (rev 9381)
@@ -6,7 +6,7 @@
import org.jboss.tools.flow.common.core.Node;
public class Process extends AbstractFlow {
-
+
public StartState getStartState() {
for (Iterator<Node> iterator = getNodes().iterator(); iterator.hasNext(); ) {
Node node = iterator.next();
16 years, 5 months
JBoss Tools SVN: r9380 - trunk/flow/plugins/org.jboss.tools.flow.common.core/src/org/jboss/tools/flow/common/core.
by jbosstools-commits@lists.jboss.org
Author: koen.aers(a)jboss.com
Date: 2008-07-29 06:40:52 -0400 (Tue, 29 Jul 2008)
New Revision: 9380
Modified:
trunk/flow/plugins/org.jboss.tools.flow.common.core/src/org/jboss/tools/flow/common/core/AbstractNode.java
Log:
make AbstractNode implement Node
Modified: trunk/flow/plugins/org.jboss.tools.flow.common.core/src/org/jboss/tools/flow/common/core/AbstractNode.java
===================================================================
--- trunk/flow/plugins/org.jboss.tools.flow.common.core/src/org/jboss/tools/flow/common/core/AbstractNode.java 2008-07-29 10:07:31 UTC (rev 9379)
+++ trunk/flow/plugins/org.jboss.tools.flow.common.core/src/org/jboss/tools/flow/common/core/AbstractNode.java 2008-07-29 10:40:52 UTC (rev 9380)
@@ -1,12 +1,14 @@
package org.jboss.tools.flow.common.core;
import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
-public class AbstractNode {
+public class AbstractNode implements Node {
private long id;
private String name;
- private AbstractFlow container;
+ private NodeContainer container;
private HashMap<String, Object> metaData = new HashMap<String, Object>();
@@ -34,12 +36,52 @@
return metaData.get(key);
}
- public Object getNodeContainer() {
+ public NodeContainer getNodeContainer() {
return container;
}
- public void setNodeContainer(AbstractFlow container) {
+ public void setNodeContainer(NodeContainer container) {
this.container = container;
}
+ public void addIncomingConnection(String type, Connection connection) {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void addOutgoingConnection(String type, Connection connection) {
+ // TODO Auto-generated method stub
+
+ }
+
+ public Map<String, List<Connection>> getIncomingConnections() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public List<Connection> getIncomingConnections(String type) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public Map<String, List<Connection>> getOutgoingConnections() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public List<Connection> getOutgoingConnections(String type) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public void removeIncomingConnection(String type, Connection connection) {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void removeOutgoingConnection(String type, Connection connection) {
+ // TODO Auto-generated method stub
+
+ }
+
}
16 years, 5 months
JBoss Tools SVN: r9379 - trunk/flow/plugins/org.jboss.tools.flow.common.graph.
by jbosstools-commits@lists.jboss.org
Author: koen.aers(a)jboss.com
Date: 2008-07-29 06:07:31 -0400 (Tue, 29 Jul 2008)
New Revision: 9379
Modified:
trunk/flow/plugins/org.jboss.tools.flow.common.graph/build.properties
Log:
fix runtime build path
Modified: trunk/flow/plugins/org.jboss.tools.flow.common.graph/build.properties
===================================================================
--- trunk/flow/plugins/org.jboss.tools.flow.common.graph/build.properties 2008-07-29 10:07:16 UTC (rev 9378)
+++ trunk/flow/plugins/org.jboss.tools.flow.common.graph/build.properties 2008-07-29 10:07:31 UTC (rev 9379)
@@ -1,9 +1,8 @@
jars.compile.order = .
-source.. = src/main/java/
+source.. = src/
src.includes = src/,\
build.properties,\
- plugin.xml,\
META-INF/
bin.includes = .,\
- plugin.xml,\
META-INF/
+output.. = bin/
16 years, 5 months