JBoss Tools SVN: r4203 - trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/panelMenuGroup.
by jbosstools-commits@lists.jboss.org
Author: amakhtadui
Date: 2007-10-15 12:24:41 -0400 (Mon, 15 Oct 2007)
New Revision: 4203
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/panelMenuGroup/style.css
Log:
http://jira.jboss.com/jira/browse/JBIDE-847
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/panelMenuGroup/style.css
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/panelMenuGroup/style.css 2007-10-15 16:11:38 UTC (rev 4202)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/panelMenuGroup/style.css 2007-10-15 16:24:41 UTC (rev 4203)
@@ -30,13 +30,9 @@
.dr-pmenu-top-group {
background-color: #D4CFC7;
- color: #000000;
font-family: Arial, Verdana, sans-serif;
font-size: 11px;
font-weight: bold;
-}
-
-.dr-pmenu-top-group {
background-position: left top;
background-repeat: repeat-x;
cursor: pointer;
@@ -55,7 +51,6 @@
}
.rich-pmenu-group-self-label {
- color: #000000;
font-family: Arial, Verdana, sans-serif;
font-size: 11px;
font-weight: bold;
17 years, 3 months
JBoss Tools SVN: r4202 - trunk/documentation/GettingStartedGuide/docs/userguide/en/modules.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2007-10-15 12:11:38 -0400 (Mon, 15 Oct 2007)
New Revision: 4202
Modified:
trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/ManageJBossAS.xml
Log:
Mundled -> Bundled
Modified: trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/ManageJBossAS.xml
===================================================================
--- trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/ManageJBossAS.xml 2007-10-15 16:08:43 UTC (rev 4201)
+++ trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/ManageJBossAS.xml 2007-10-15 16:11:38 UTC (rev 4202)
@@ -14,7 +14,7 @@
<para>Red Hat Developer Studio ships with <property>JBoss EAP v.4.2</property> bundled. When you followed the default installation of Red Hat Developer Studio, you should already have a <property>JBoss 4.2 server</property> installed and defined. To run <property>JBoss AS 4.2</property> you need JDK 1.5., JDK 6 is not formally supported yet, although you may be able to start the server with it.</para>
<section id="JBossbundled">
<?dbhtml filename="JBossbundled.html"?>
- <title>How to Manage the JBoss AS Mundled in RHDS</title>
+ <title>How to Manage the JBoss AS Bundled in RHDS</title>
<para></para>
<section id="StartingServer">
<?dbhtml filename="StartingServer.html"?>
17 years, 3 months
JBoss Tools SVN: r4201 - trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template.
by jbosstools-commits@lists.jboss.org
Author: amakhtadui
Date: 2007-10-15 12:08:43 -0400 (Mon, 15 Oct 2007)
New Revision: 4201
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelMenuGroupTemplate.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-847
Fix font, from label name group.
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelMenuGroupTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelMenuGroupTemplate.java 2007-10-15 15:54:33 UTC (rev 4200)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelMenuGroupTemplate.java 2007-10-15 16:08:43 UTC (rev 4201)
@@ -225,9 +225,9 @@
if (parent.getNodeName().endsWith(PANEL_MENU_END_TAG)) {
if(styleClass != null && sourceParentElement.getAttribute(PANEL_MENU_ATTR_TOP_GROUP_CLASS) != null) {
- styleClass = "dr-pmenu-group-self-label dr-pmenu-selected-item dr-pmenu-top-group" + " " + sourceParentElement.getAttribute(PANEL_MENU_ATTR_TOP_GROUP_CLASS);
+ styleClass = "dr-pmenu-group-self-label dr-pmenu-top-group" + " " + sourceParentElement.getAttribute(PANEL_MENU_ATTR_TOP_GROUP_CLASS);
}else {
- styleClass = "dr-pmenu-group-self-label dr-pmenu-selected-item dr-pmenu-top-group";
+ styleClass = "dr-pmenu-group-self-label dr-pmenu-top-group";
}
if(style != null && sourceParentElement.getAttribute(PANEL_MENU_ATTR_TOP_GROUP_STYLE) != null) {
style = sourceParentElement.getAttribute(PANEL_MENU_ATTR_TOP_GROUP_STYLE);
@@ -325,7 +325,7 @@
if (expanded) {
ComponentUtil.setImgFromResources(pageContext, img1, pathIconExpanded, DEFAULT_PANEL_MENU_GROUP_SPACER);
} else {
- ComponentUtil.setImgFromResources(pageContext, img2, pathIconCollapsed, DEFAULT_PANEL_MENU_GROUP_SPACER);
+ ComponentUtil.setImgFromResources(pageContext, img1, pathIconCollapsed, DEFAULT_PANEL_MENU_GROUP_SPACER);
}
}
}
17 years, 3 months
JBoss Tools SVN: r4200 - branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/src/org/jboss/tools/jsf/vpe/facelets/template.
by jbosstools-commits@lists.jboss.org
Author: mareshkau
Date: 2007-10-15 11:54:33 -0400 (Mon, 15 Oct 2007)
New Revision: 4200
Modified:
branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/src/org/jboss/tools/jsf/vpe/facelets/template/VpeCompositionTemplate.java
branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/src/org/jboss/tools/jsf/vpe/facelets/template/VpeDefineContainerTemplate.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-743, also bug when in facelet page after changing attribute on source page on visual page contentd doesn't changed was fixed.
Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/src/org/jboss/tools/jsf/vpe/facelets/template/VpeCompositionTemplate.java
===================================================================
--- branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/src/org/jboss/tools/jsf/vpe/facelets/template/VpeCompositionTemplate.java 2007-10-15 15:54:22 UTC (rev 4199)
+++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/src/org/jboss/tools/jsf/vpe/facelets/template/VpeCompositionTemplate.java 2007-10-15 15:54:33 UTC (rev 4200)
@@ -16,7 +16,6 @@
import org.jboss.tools.vpe.editor.util.HTML;
import org.mozilla.interfaces.nsIDOMDocument;
import org.mozilla.interfaces.nsIDOMElement;
-import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
@@ -39,8 +38,8 @@
return new VpeCreationData(container);
}
-
- public boolean isRecreateAtAttrChange(VpePageContext pageContext, Element sourceElement, Document visualDocument, Node visualNode, Object data, String name, String value) {
+ @Override
+ public boolean isRecreateAtAttrChange(VpePageContext pageContext, Element sourceElement, nsIDOMDocument visualDocument,nsIDOMElement visualNode, Object data, String name, String value) {
return true;
}
}
Modified: branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/src/org/jboss/tools/jsf/vpe/facelets/template/VpeDefineContainerTemplate.java
===================================================================
--- branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/src/org/jboss/tools/jsf/vpe/facelets/template/VpeDefineContainerTemplate.java 2007-10-15 15:54:22 UTC (rev 4199)
+++ branches/jbosstools_xulrunner/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/src/org/jboss/tools/jsf/vpe/facelets/template/VpeDefineContainerTemplate.java 2007-10-15 15:54:33 UTC (rev 4200)
@@ -12,14 +12,12 @@
import java.util.HashSet;
import java.util.Set;
-
import org.eclipse.core.resources.IFile;
import org.w3c.dom.Attr;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
-
import org.jboss.tools.vpe.editor.VpeIncludeInfo;
import org.jboss.tools.vpe.editor.VpeVisualDomBuilder;
import org.jboss.tools.vpe.editor.context.VpePageContext;
@@ -36,8 +34,9 @@
public abstract class VpeDefineContainerTemplate extends VpeAbstractTemplate {
private static final String ATTR_TEMPLATE = "template";
- private static Set defineContainer = new HashSet();
+ private static Set<Node> defineContainer = new HashSet<Node>();
+ @Override
protected void init(Element templateElement) {
children = true;
modify = false;
@@ -67,8 +66,8 @@
creationData.setData(null);
return creationData;
}
-
- public void validate(VpePageContext pageContext, Node sourceNode, Document visualDocument, VpeCreationData creationData) {
+ @Override
+ public void validate(VpePageContext pageContext, Node sourceNode, nsIDOMDocument visualDocument, VpeCreationData creationData) {
TemplateFileInfo templateFileInfo = (TemplateFileInfo)creationData.getData();
if (templateFileInfo != null) {
VpeIncludeInfo includeInfo = pageContext.getVisualBuilder().popIncludeStack();
@@ -85,8 +84,9 @@
pageContext.getEditPart().getController().getIncludeList().removeIncludeModel(templateFileInfo.templateFile);
}
}
+ @Override
+ public boolean isRecreateAtAttrChange(VpePageContext pageContext, Element sourceElement, nsIDOMDocument visualDocument, nsIDOMElement visualNode, Object data, String name, String value) {
- public boolean isRecreateAtAttrChange(VpePageContext pageContext, Element sourceElement, Document visualDocument, Node visualNode, Object data, String name, String value) {
return true;
}
@@ -122,7 +122,7 @@
creationData.addChildrenInfo(childrenInfo);
return creationData;
}
-
+ @Override
public boolean containsText() {
return false;
}
17 years, 3 months
JBoss Tools SVN: r4199 - trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/preferences.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2007-10-15 11:54:22 -0400 (Mon, 15 Oct 2007)
New Revision: 4199
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/preferences/SeamSettingsPreferencePage.java
Log:
JBIDE-982
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/preferences/SeamSettingsPreferencePage.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/preferences/SeamSettingsPreferencePage.java 2007-10-15 15:54:15 UTC (rev 4198)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/preferences/SeamSettingsPreferencePage.java 2007-10-15 15:54:22 UTC (rev 4199)
@@ -43,7 +43,6 @@
import org.jboss.tools.seam.ui.widget.editor.IFieldEditor;
import org.jboss.tools.seam.ui.widget.editor.IFieldEditorFactory;
import org.jboss.tools.seam.ui.widget.editor.ITaggedFieldEditor;
-import org.jboss.tools.seam.ui.widget.editor.SwtFieldEditorFactory;
import org.jboss.tools.seam.ui.widget.editor.SeamRuntimeListFieldEditor.SeamRuntimeNewWizard;
/**
@@ -211,7 +210,7 @@
return;
ISeamProject seamProject = SeamCorePlugin
.getSeamProject(project, false);
- seamProject.setRuntime(r);
+ seamProject.setRuntimeName(name);
}
private boolean getSeamSupport() {
17 years, 3 months
JBoss Tools SVN: r4198 - in trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam: internal/core and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2007-10-15 11:54:15 -0400 (Mon, 15 Oct 2007)
New Revision: 4198
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamProject.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamProject.java
Log:
JBIDE-982
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamProject.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamProject.java 2007-10-15 15:48:15 UTC (rev 4197)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamProject.java 2007-10-15 15:54:15 UTC (rev 4198)
@@ -53,7 +53,7 @@
* @param runtime
* @return
*/
- public void setRuntime(SeamRuntime runtime);
+ public void setRuntimeName(String runtimeName);
/**
* Returns list of scope objects for all scope types.
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamProject.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamProject.java 2007-10-15 15:48:15 UTC (rev 4197)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamProject.java 2007-10-15 15:54:15 UTC (rev 4198)
@@ -74,7 +74,6 @@
boolean useDefaultRuntime = false;
String runtimeName = null;
- SeamRuntime runtime = null;
Set<IPath> sourcePaths = new HashSet<IPath>();
@@ -167,7 +166,7 @@
if(useDefaultRuntime) {
return SeamRuntimeManager.getInstance().getDefaultRuntime();
}
- return runtime;
+ return runtimeName == null ? null : SeamRuntimeManager.getInstance().findRuntimeByName(runtimeName);
}
public String getParentProjectName() {
@@ -175,15 +174,14 @@
return p == null ? null : p.get("seam.parent.project", null);
}
- public void setRuntime(SeamRuntime runtime) {
- if(this.runtime == runtime) return;
- useDefaultRuntime = runtime == SeamRuntimeManager.getInstance().getDefaultRuntime();
+ public void setRuntimeName(String runtimeName) {
+ if(this.runtimeName == runtimeName) return;
+ if(this.runtimeName != null && this.runtimeName.equals(runtimeName)) return;
+ SeamRuntime d = SeamRuntimeManager.getInstance().getDefaultRuntime();
+
+ useDefaultRuntime = d != null && d.getName().equals(runtimeName);
if(useDefaultRuntime) {
- this.runtime = null;
this.runtimeName = null;
- } else {
- this.runtime = runtime;
- this.runtimeName = runtime == null ? null : runtime.getName();
}
storeRuntime();
}
@@ -256,19 +254,19 @@
if(prefs == null) return;
runtimeName = prefs.get(RUNTIME_NAME, null);
if(runtimeName != null) {
- runtime = SeamRuntimeManager.getInstance().findRuntimeByName(runtimeName);
} else {
useDefaultRuntime = true;
- runtime = null;
storeRuntime();
}
SeamCorePlugin.getDefault().getPluginPreferences().addPropertyChangeListener(new Preferences.IPropertyChangeListener() {
public void propertyChange(Preferences.PropertyChangeEvent event) {
- if(SeamFacetPreference.RUNTIME_LIST.equals(event.getProperty()) && runtime != null && runtime.isDefault()) {
- runtime = null;
- runtimeName = null;
- useDefaultRuntime = true;
- storeRuntime();
+ if(SeamFacetPreference.RUNTIME_LIST.equals(event.getProperty())) {
+ SeamRuntime d = SeamRuntimeManager.getInstance().getDefaultRuntime();
+ if(d != null && d.getName().equals(runtimeName)) {
+ runtimeName = null;
+ useDefaultRuntime = true;
+ storeRuntime();
+ }
}
}
});
17 years, 3 months
JBoss Tools SVN: r4197 - in branches/jbosstools_xulrunner/vpe/plugins/org.jboss.tools.vpe: src/org/jboss/tools/vpe and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: svasilyev
Date: 2007-10-15 11:48:15 -0400 (Mon, 15 Oct 2007)
New Revision: 4197
Modified:
branches/jbosstools_xulrunner/vpe/plugins/org.jboss.tools.vpe/
branches/jbosstools_xulrunner/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/VpeDebug.java
Log:
http://jira.jboss.org/jira/browse/JBIDE-1034
Property changes on: branches/jbosstools_xulrunner/vpe/plugins/org.jboss.tools.vpe
___________________________________________________________________
Name: svn:ignore
- bin
+ bin
.options
Modified: branches/jbosstools_xulrunner/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/VpeDebug.java
===================================================================
--- branches/jbosstools_xulrunner/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/VpeDebug.java 2007-10-15 15:41:58 UTC (rev 4196)
+++ branches/jbosstools_xulrunner/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/VpeDebug.java 2007-10-15 15:48:15 UTC (rev 4197)
@@ -37,25 +37,25 @@
public static final boolean USE_PRINT_STACK_TRACE;
static {
- PRINT_SOURCE_MUTATION_EVENT = "true".equals(Platform.getDebugOption("/debug/source/mutation_event")); // $NON-NSL-1$ // $NON-NSL-1$
- PRINT_SOURCE_SELECTION_EVENT = "true".equals(Platform.getDebugOption("/debug/source/selection_event")); // $NON-NSL-1$ // $NON-NSL-1$
- PRINT_SOURCE_MODEL_LIFECYCLE_EVENT = "true".equals(Platform.getDebugOption("/debug/source/model_lifecycle_event")); // $NON-NSL-1$ // $NON-NSL-1$
+ PRINT_SOURCE_MUTATION_EVENT = "true".equals(Platform.getDebugOption(VpePlugin.PLUGIN_ID + "/debug/source/mutation_event")); // $NON-NSL-1$ // $NON-NSL-1$
+ PRINT_SOURCE_SELECTION_EVENT = "true".equals(Platform.getDebugOption(VpePlugin.PLUGIN_ID + "/debug/source/selection_event")); // $NON-NSL-1$ // $NON-NSL-1$
+ PRINT_SOURCE_MODEL_LIFECYCLE_EVENT = "true".equals(Platform.getDebugOption(VpePlugin.PLUGIN_ID + "/debug/source/model_lifecycle_event")); // $NON-NSL-1$ // $NON-NSL-1$
- PRINT_VISUAL_MUTATION_EVENT = "true".equals(Platform.getDebugOption("/debug/visual/mutation_event")); // $NON-NSL-1$ // $NON-NSL-1$
- PRINT_VISUAL_SELECTION_EVENT = "true".equals(Platform.getDebugOption("/debug/visual/selection_event")); // $NON-NSL-1$ // $NON-NSL-1$
- PRINT_VISUAL_CONTEXTMENU_EVENT = "true".equals(Platform.getDebugOption("/debug/visual/contextmenu_event")); // $NON-NSL-1$ // $NON-NSL-1$
- PRINT_VISUAL_MOUSE_EVENT = "true".equals(Platform.getDebugOption("/debug/visual/mouse_event")); // $NON-NSL-1$ // $NON-NSL-1$
- PRINT_VISUAL_DRAGDROP_EVENT = "true".equals(Platform.getDebugOption("/debug/visual/dragdrop_event")); // $NON-NSL-1$ // $NON-NSL-1$
- PRINT_VISUAL_KEY_EVENT = "true".equals(Platform.getDebugOption("/debug/visual/key_event")); // $NON-NSL-1$ // $NON-NSL-1$
- PRINT_VISUAL_INNER_DRAGDROP_EVENT = "true".equals(Platform.getDebugOption("/debug/visual/inner_dragdrop_event")); // $NON-NSL-1$ // $NON-NSL-1$
+ PRINT_VISUAL_MUTATION_EVENT = "true".equals(Platform.getDebugOption(VpePlugin.PLUGIN_ID + "/debug/visual/mutation_event")); // $NON-NSL-1$ // $NON-NSL-1$
+ PRINT_VISUAL_SELECTION_EVENT = "true".equals(Platform.getDebugOption(VpePlugin.PLUGIN_ID + "/debug/visual/selection_event")); // $NON-NSL-1$ // $NON-NSL-1$
+ PRINT_VISUAL_CONTEXTMENU_EVENT = "true".equals(Platform.getDebugOption(VpePlugin.PLUGIN_ID + "/debug/visual/contextmenu_event")); // $NON-NSL-1$ // $NON-NSL-1$
+ PRINT_VISUAL_MOUSE_EVENT = "true".equals(Platform.getDebugOption(VpePlugin.PLUGIN_ID + "/debug/visual/mouse_event")); // $NON-NSL-1$ // $NON-NSL-1$
+ PRINT_VISUAL_DRAGDROP_EVENT = "true".equals(Platform.getDebugOption(VpePlugin.PLUGIN_ID + "/debug/visual/dragdrop_event")); // $NON-NSL-1$ // $NON-NSL-1$
+ PRINT_VISUAL_KEY_EVENT = "true".equals(Platform.getDebugOption(VpePlugin.PLUGIN_ID + "/debug/visual/key_event")); // $NON-NSL-1$ // $NON-NSL-1$
+ PRINT_VISUAL_INNER_DRAGDROP_EVENT = "true".equals(Platform.getDebugOption(VpePlugin.PLUGIN_ID + "/debug/visual/inner_dragdrop_event")); // $NON-NSL-1$ // $NON-NSL-1$
- VISUAL_ADD_PSEUDO_ELEMENT = "true".equals(Platform.getDebugOption("/debug/visual/add_pseudo_element")); // $NON-NSL-1$ // $NON-NSL-1$
+ VISUAL_ADD_PSEUDO_ELEMENT = "true".equals(Platform.getDebugOption(VpePlugin.PLUGIN_ID + "/debug/visual/add_pseudo_element")); // $NON-NSL-1$ // $NON-NSL-1$
- VISUAL_CONTEXTMENU_DUMP_SOURCE = "true".equals(Platform.getDebugOption("/debug/visual/contextmenu/dump_source")); // $NON-NSL-1$ // $NON-NSL-1$
- VISUAL_CONTEXTMENU_DUMP_MAPPING = "true".equals(Platform.getDebugOption("/debug/visual/contextmenu/dump_mapping")); // $NON-NSL-1$ // $NON-NSL-1$
+ VISUAL_CONTEXTMENU_DUMP_SOURCE = "true".equals(Platform.getDebugOption(VpePlugin.PLUGIN_ID + "/debug/visual/contextmenu/dump_source")); // $NON-NSL-1$ // $NON-NSL-1$
+ VISUAL_CONTEXTMENU_DUMP_MAPPING = "true".equals(Platform.getDebugOption(VpePlugin.PLUGIN_ID + "/debug/visual/contextmenu/dump_mapping")); // $NON-NSL-1$ // $NON-NSL-1$
- VISUAL_CONTEXTMENU_TEST = "true".equals(Platform.getDebugOption("/debug/visual/contextmenu/show_test")); // $NON-NSL-1$ // $NON-NSL-1$
+ VISUAL_CONTEXTMENU_TEST = "true".equals(Platform.getDebugOption(VpePlugin.PLUGIN_ID + "/debug/visual/contextmenu/show_test")); // $NON-NSL-1$ // $NON-NSL-1$
- USE_PRINT_STACK_TRACE = "true".equals(Platform.getDebugOption("/debug/use_PrintStackTrace")); // $NON-NSL-1$ // $NON-NSL-1$
+ USE_PRINT_STACK_TRACE = "true".equals(Platform.getDebugOption(VpePlugin.PLUGIN_ID + "/debug/use_PrintStackTrace")); // $NON-NSL-1$ // $NON-NSL-1$
}
}
17 years, 3 months
JBoss Tools SVN: r4196 - trunk/documentation/qa/reports.
by jbosstools-commits@lists.jboss.org
Author: anis
Date: 2007-10-15 11:41:58 -0400 (Mon, 15 Oct 2007)
New Revision: 4196
Added:
trunk/documentation/qa/reports/Regression_report_15.10.2007.doc
Log:
Added a file remotely
Added: trunk/documentation/qa/reports/Regression_report_15.10.2007.doc
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/qa/reports/Regression_report_15.10.2007.doc
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
17 years, 3 months
JBoss Tools SVN: r4195 - trunk/jst/plugins/org.jboss.tools.jst.web.ui.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2007-10-15 11:30:45 -0400 (Mon, 15 Oct 2007)
New Revision: 4195
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.ui/plugin.properties
Log:
http://jira.jboss.com/jira/browse/JBIDE-1001
Updated line:
perspective.name=Red Hat Developer Studio -> perspective.name=Web Development
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.ui/plugin.properties
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.ui/plugin.properties 2007-10-15 15:19:41 UTC (rev 4194)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.ui/plugin.properties 2007-10-15 15:30:45 UTC (rev 4195)
@@ -30,7 +30,7 @@
actionSets_license.description=Red Hat Developer Studio License
actionSets.license.label=&Red Hat Developer Studio License
-perspective.name=Red Hat Developer Studio
+perspective.name=Web Development
paletteViewPart.name=JBoss Tools Palette
actionSets_online_help.label=Red Hat Developer Studio Help
actionSets_online_help.description=
17 years, 3 months
JBoss Tools SVN: r4194 - trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/preferences.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2007-10-15 11:19:41 -0400 (Mon, 15 Oct 2007)
New Revision: 4194
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/preferences/SeamSettingsPreferencePage.java
Log:
JBIDE-982
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/preferences/SeamSettingsPreferencePage.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/preferences/SeamSettingsPreferencePage.java 2007-10-15 15:19:24 UTC (rev 4193)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/preferences/SeamSettingsPreferencePage.java 2007-10-15 15:19:41 UTC (rev 4194)
@@ -17,8 +17,11 @@
import java.util.List;
import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.ProjectScope;
+import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IAdaptable;
+import org.eclipse.core.runtime.preferences.IEclipsePreferences;
import org.eclipse.jface.dialogs.IMessageProvider;
import org.eclipse.jface.wizard.Wizard;
import org.eclipse.jface.wizard.WizardDialog;
@@ -66,6 +69,16 @@
ISeamProject seamProject = SeamCorePlugin
.getSeamProject(project, false);
boolean hasSeamSupport = seamProject != null;
+
+ boolean cannotBeModified = false;
+
+ if(seamProject != null) {
+ cannotBeModified = seamProject.getParentProjectName() != null;
+ }
+ if(!cannotBeModified) {
+ cannotBeModified = isEarPartInEarSeamProject(project);
+ }
+
seamEnablement = IFieldEditorFactory.INSTANCE.createCheckboxEditor(
SeamPreferencesMessages.SEAM_SETTINGS_PREFERENCE_PAGE_SEAM_SUPPORT, SeamPreferencesMessages.SEAM_SETTINGS_PREFERENCE_PAGE_SEAM_SUPPORT, false);
seamEnablement.setValue(hasSeamSupport);
@@ -82,8 +95,13 @@
if (hasSeamSupport) {
SeamRuntime current = seamProject.getRuntime();
- if (current != null)
+ if (current != null) {
runtime.setValue(current.getName());
+ } else {
+ runtime.setValue("");
+ }
+ } else if(isEarPartInEarSeamProject(project)) {
+ runtime.setValue("");
}
seamEnablement.addPropertyChangeListener(new PropertyChangeListener() {
@@ -123,9 +141,25 @@
if (!hasSeamSupport) {
updateRuntimeEnablement(false);
}
+
+ if(cannotBeModified) {
+ setEnablement(seamEnablement, false);
+ setEnablement(runtime, false);
+ }
return composite;
}
+
+ private boolean isEarPartInEarSeamProject(IProject p) {
+ IProject[] ps = ResourcesPlugin.getWorkspace().getRoot().getProjects();
+ for (int i = 0; i < ps.length; i++) {
+ IEclipsePreferences ep = new ProjectScope(ps[i]).getNode(SeamCorePlugin.PLUGIN_ID);
+ if(ep == null) continue;
+ String ear = ep.get("seam.ear.project", null);
+ if(ear != null && ear.equals(p.getName())) return true;
+ }
+ return false;
+ }
@Override
public boolean performOk() {
@@ -139,7 +173,11 @@
}
private void updateRuntimeEnablement(boolean enabled) {
- Object[] cs = runtime.getEditorControls();
+ setEnablement(runtime, enabled);
+ }
+
+ void setEnablement(IFieldEditor editor, boolean enabled) {
+ Object[] cs = editor.getEditorControls();
for (int i = 0; i < cs.length; i++) {
if (cs[i] instanceof Control) {
((Control) cs[i]).setEnabled(enabled);
17 years, 3 months