JBoss Tools SVN: r18658 - trunk/esb/plugins/org.jboss.tools.esb.ui/src/org/jboss/tools/esb/ui/editor/form.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2009-11-12 11:55:41 -0500 (Thu, 12 Nov 2009)
New Revision: 18658
Modified:
trunk/esb/plugins/org.jboss.tools.esb.ui/src/org/jboss/tools/esb/ui/editor/form/ESBActionForm.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-2024
Modified: trunk/esb/plugins/org.jboss.tools.esb.ui/src/org/jboss/tools/esb/ui/editor/form/ESBActionForm.java
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.ui/src/org/jboss/tools/esb/ui/editor/form/ESBActionForm.java 2009-11-12 16:41:31 UTC (rev 18657)
+++ trunk/esb/plugins/org.jboss.tools.esb.ui/src/org/jboss/tools/esb/ui/editor/form/ESBActionForm.java 2009-11-12 16:55:41 UTC (rev 18658)
@@ -2,8 +2,6 @@
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
-import java.util.ArrayList;
-import java.util.List;
import java.util.Set;
import java.util.TreeSet;
@@ -21,20 +19,20 @@
import org.jboss.tools.common.model.XModelObject;
import org.jboss.tools.common.model.ui.attribute.XAttributeSupport;
import org.jboss.tools.common.model.ui.attribute.adapter.DefaultValueAdapter;
-import org.jboss.tools.common.model.ui.attribute.adapter.IModelPropertyEditorAdapter;
+import org.jboss.tools.common.model.ui.attribute.editor.IPropertyEditor;
import org.jboss.tools.common.model.ui.attribute.editor.StringButtonFieldEditorEx;
import org.jboss.tools.common.model.ui.forms.Form;
-import org.jboss.tools.common.model.ui.forms.FormActionData;
import org.jboss.tools.common.model.ui.forms.FormAttributeData;
import org.jboss.tools.common.model.ui.forms.IFormData;
import org.jboss.tools.common.model.ui.forms.ModelFormLayoutData;
import org.jboss.tools.common.model.ui.widgets.IWidgetSettings;
import org.jboss.tools.common.model.util.EclipseJavaUtil;
import org.jboss.tools.common.model.util.EclipseResourceUtil;
+import org.jboss.tools.esb.core.model.ESBConstants;
public class ESBActionForm extends Form {
static IFormData formData = ModelFormLayoutData.createGeneralFormData(
- XModelMetaDataImpl.getInstance().getEntity("ESBAction101")
+ XModelMetaDataImpl.getInstance().getEntity(ESBConstants.ENT_ESB_ACTION)
);
static {
@@ -49,7 +47,7 @@
Control c = super.createClientArea(parent, settings);
XAttributeSupport support = getSupport();
setProcessMethods(getSupport(), getModelObject());
- support.getPropertyEditorAdapterByName("class").addValueChangeListener(new PCL());
+ support.addPropertyChangeListener(new PCL());
return c;
}
@@ -65,7 +63,13 @@
class PCL implements PropertyChangeListener {
public void propertyChange(PropertyChangeEvent evt) {
- setProcessMethods(getSupport(), getModelObject());
+ if(StringButtonFieldEditorEx.BUTTON_SELECTED.equals(evt.getPropertyName())
+ && evt.getSource() == getSupport().getPropertyEditorAdapterByName("process")) {
+ setProcessMethods(getSupport(), getModelObject());
+ } else if(IPropertyEditor.VALUE.equals(evt.getPropertyName())
+ && evt.getSource() == getSupport().getPropertyEditorAdapterByName("class")) {
+ setProcessMethods(getSupport(), getModelObject());
+ }
}
}
15 years, 1 month
JBoss Tools SVN: r18657 - trunk/jsf/docs/userguide/en/modules.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2009-11-12 11:41:31 -0500 (Thu, 12 Nov 2009)
New Revision: 18657
Modified:
trunk/jsf/docs/userguide/en/modules/css_perspective.xml
trunk/jsf/docs/userguide/en/modules/editors.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-914 -CSS Editing perspective is customized - cross reference links are added
Modified: trunk/jsf/docs/userguide/en/modules/css_perspective.xml
===================================================================
--- trunk/jsf/docs/userguide/en/modules/css_perspective.xml 2009-11-12 16:23:37 UTC (rev 18656)
+++ trunk/jsf/docs/userguide/en/modules/css_perspective.xml 2009-11-12 16:41:31 UTC (rev 18657)
@@ -9,6 +9,7 @@
</keywordset>
</chapterinfo>
<title>CSS Editing Perspective</title>
+ <para>In this chapter we will discuss CSS Editing Perspective views, more information about style sheets can be found in <link linkend="pages_styling">Page Styling section</link> of Editor chapter</para>
<para>The CSS Editing Perspective combines a set of views which allow you to see the structure of
your css files,edit them and see the results.
To use this perspective you need to choose <emphasis><property>Window >Open Perspective> CSS Editing </property></emphasis>
Modified: trunk/jsf/docs/userguide/en/modules/editors.xml
===================================================================
--- trunk/jsf/docs/userguide/en/modules/editors.xml 2009-11-12 16:23:37 UTC (rev 18656)
+++ trunk/jsf/docs/userguide/en/modules/editors.xml 2009-11-12 16:41:31 UTC (rev 18657)
@@ -1060,7 +1060,7 @@
<para>Most web pages use the cascading style sheets (CSS) to control the way they look.
With <property>Visual Page Editor</property> you can easily stylise your pages. In
this section we are going to introduce you to a powerful mechanism that
- <property>VPE</property> provides for a complete control over pages styling. </para>
+ <property>VPE</property> provides for a complete control over pages styling. More helpful information on wok with CSS files can be found in <link linkend="css_perspective">CSS Perspective chapter</link> </para>
<section id="inline_styling">
<title>Inline Style Editing</title>
15 years, 1 month
JBoss Tools SVN: r18656 - in trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/attribute: editor and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2009-11-12 11:23:37 -0500 (Thu, 12 Nov 2009)
New Revision: 18656
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/attribute/adapter/DefaultValueAdapter.java
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/attribute/editor/StringButtonFieldEditorEx.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-2024
Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/attribute/adapter/DefaultValueAdapter.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/attribute/adapter/DefaultValueAdapter.java 2009-11-12 16:01:44 UTC (rev 18655)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/attribute/adapter/DefaultValueAdapter.java 2009-11-12 16:23:37 UTC (rev 18656)
@@ -129,8 +129,11 @@
public void fireValueChange(Object oldValue, Object newValue) {
if(pcs != null) pcs.firePropertyChange(IPropertyEditor.VALUE, oldValue, newValue);
}
-
+ public void fireEvent(String propertyName, Object oldValue, Object newValue) {
+ if(pcs != null) pcs.firePropertyChange(propertyName, oldValue, newValue);
+ }
+
// IValueProvider
public void addValueChangeListener(PropertyChangeListener l) {
if (pcs!=null) pcs.addPropertyChangeListener(l);
Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/attribute/editor/StringButtonFieldEditorEx.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/attribute/editor/StringButtonFieldEditorEx.java 2009-11-12 16:01:44 UTC (rev 18655)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/attribute/editor/StringButtonFieldEditorEx.java 2009-11-12 16:23:37 UTC (rev 18656)
@@ -201,6 +201,9 @@
protected String changePressed() {
if (propertyEditor!=null) {
+ if(propertyEditor.getInput() instanceof DefaultValueAdapter) {
+ ((DefaultValueAdapter)propertyEditor.getInput()).fireEvent(BUTTON_SELECTED, "false", "true");
+ }
if(((PropertyEditor)propertyEditor).callsExternal()) {
Object result = ((PropertyEditor)propertyEditor).callExternal(getShell());
return result != null ? result.toString() : null;
15 years, 1 month
JBoss Tools SVN: r18655 - in trunk/esb/plugins/org.jboss.tools.esb.ui: META-INF and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2009-11-12 11:01:44 -0500 (Thu, 12 Nov 2009)
New Revision: 18655
Added:
trunk/esb/plugins/org.jboss.tools.esb.ui/src/org/jboss/tools/esb/ui/editor/form/ESBActionForm.java
trunk/esb/plugins/org.jboss.tools.esb.ui/src/org/jboss/tools/esb/ui/wizard/AddGenericActionStep.java
Modified:
trunk/esb/plugins/org.jboss.tools.esb.ui/META-INF/MANIFEST.MF
trunk/esb/plugins/org.jboss.tools.esb.ui/plugin.xml
trunk/esb/plugins/org.jboss.tools.esb.ui/src/org/jboss/tools/esb/ui/editor/form/ESBXMLFormLayoutData.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-2024
Modified: trunk/esb/plugins/org.jboss.tools.esb.ui/META-INF/MANIFEST.MF
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.ui/META-INF/MANIFEST.MF 2009-11-12 15:59:38 UTC (rev 18654)
+++ trunk/esb/plugins/org.jboss.tools.esb.ui/META-INF/MANIFEST.MF 2009-11-12 16:01:44 UTC (rev 18655)
@@ -8,6 +8,7 @@
Export-Package: org.jboss.tools.esb.ui,
org.jboss.tools.esb.ui.editor.form,
org.jboss.tools.esb.ui.editor.attribute,
+ org.jboss.tools.esb.ui.wizard,
org.jboss.tools.esb.ui.wizard.newfile
Bundle-SymbolicName: org.jboss.tools.esb.ui; singleton:=true
Bundle-Localization: plugin
Modified: trunk/esb/plugins/org.jboss.tools.esb.ui/plugin.xml
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.ui/plugin.xml 2009-11-12 15:59:38 UTC (rev 18654)
+++ trunk/esb/plugins/org.jboss.tools.esb.ui/plugin.xml 2009-11-12 16:01:44 UTC (rev 18655)
@@ -37,6 +37,11 @@
class="org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData"/>
<xclass id="org.jboss.tools.esb.ui.editor.attribute.ActionClassValueFilter"
class="org.jboss.tools.esb.ui.editor.attribute.ActionClassValueFilter"/>
+ <xclass id="org.jboss.tools.esb.ui.editor.form.ESBActionForm"
+ class="org.jboss.tools.esb.ui.editor.form.ESBActionForm"/>
+ <xclass id="org.jboss.tools.esb.ui.wizard.AddGenericActionStep"
+ class="org.jboss.tools.esb.ui.wizard.AddGenericActionStep"/>
+
</extension>
<extension point="org.jboss.tools.common.model.ui.attributeAdapter">
Added: trunk/esb/plugins/org.jboss.tools.esb.ui/src/org/jboss/tools/esb/ui/editor/form/ESBActionForm.java
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.ui/src/org/jboss/tools/esb/ui/editor/form/ESBActionForm.java (rev 0)
+++ trunk/esb/plugins/org.jboss.tools.esb.ui/src/org/jboss/tools/esb/ui/editor/form/ESBActionForm.java 2009-11-12 16:01:44 UTC (rev 18655)
@@ -0,0 +1,113 @@
+package org.jboss.tools.esb.ui.editor.form;
+
+import java.beans.PropertyChangeEvent;
+import java.beans.PropertyChangeListener;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Set;
+import java.util.TreeSet;
+
+import org.eclipse.core.resources.IProject;
+import org.eclipse.jdt.core.Flags;
+import org.eclipse.jdt.core.IJavaProject;
+import org.eclipse.jdt.core.IMethod;
+import org.eclipse.jdt.core.IType;
+import org.eclipse.jdt.core.JavaModelException;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Control;
+import org.jboss.tools.common.meta.XAttribute;
+import org.jboss.tools.common.meta.constraint.impl.XAttributeConstraintAList;
+import org.jboss.tools.common.meta.impl.XModelMetaDataImpl;
+import org.jboss.tools.common.model.XModelObject;
+import org.jboss.tools.common.model.ui.attribute.XAttributeSupport;
+import org.jboss.tools.common.model.ui.attribute.adapter.DefaultValueAdapter;
+import org.jboss.tools.common.model.ui.attribute.adapter.IModelPropertyEditorAdapter;
+import org.jboss.tools.common.model.ui.attribute.editor.StringButtonFieldEditorEx;
+import org.jboss.tools.common.model.ui.forms.Form;
+import org.jboss.tools.common.model.ui.forms.FormActionData;
+import org.jboss.tools.common.model.ui.forms.FormAttributeData;
+import org.jboss.tools.common.model.ui.forms.IFormData;
+import org.jboss.tools.common.model.ui.forms.ModelFormLayoutData;
+import org.jboss.tools.common.model.ui.widgets.IWidgetSettings;
+import org.jboss.tools.common.model.util.EclipseJavaUtil;
+import org.jboss.tools.common.model.util.EclipseResourceUtil;
+
+public class ESBActionForm extends Form {
+ static IFormData formData = ModelFormLayoutData.createGeneralFormData(
+ XModelMetaDataImpl.getInstance().getEntity("ESBAction101")
+ );
+
+ static {
+ ((FormAttributeData)formData.getAttributes()[2]).setWrapperClassName(StringButtonFieldEditorEx.class.getName());
+ }
+
+ public ESBActionForm() {
+ super(formData);
+ }
+
+ protected Control createClientArea(Composite parent, IWidgetSettings settings) {
+ Control c = super.createClientArea(parent, settings);
+ XAttributeSupport support = getSupport();
+ setProcessMethods(getSupport(), getModelObject());
+ support.getPropertyEditorAdapterByName("class").addValueChangeListener(new PCL());
+ return c;
+ }
+
+ public void dispose() {
+ DefaultValueAdapter a = (DefaultValueAdapter)getSupport().getPropertyEditorAdapterByName("process");
+ XAttribute attr = a.getAttribute();
+ if(attr == null) attr = a.getAttributeData().getAttribute();
+ XAttributeConstraintAList c = (XAttributeConstraintAList)attr.getConstraint();
+ c.setValues(new String[0]);
+ super.dispose();
+ }
+
+ class PCL implements PropertyChangeListener {
+
+ public void propertyChange(PropertyChangeEvent evt) {
+ setProcessMethods(getSupport(), getModelObject());
+ }
+
+ }
+
+ public static void setProcessMethods(XAttributeSupport support, XModelObject object) {
+ IProject p = EclipseResourceUtil.getProject(object);
+ IJavaProject jp = EclipseResourceUtil.getJavaProject(p);
+ String cls = support.getPropertyEditorAdapterByName("class").getStringValue(true);
+ Set<String> list = new TreeSet<String>();
+ try {
+ collectMethods(jp, cls, list);
+ } catch (JavaModelException e) {
+ //ignore
+ }
+
+ DefaultValueAdapter a = (DefaultValueAdapter)support.getPropertyEditorAdapterByName("process");
+ XAttribute attr = a.getAttribute();
+ if(attr == null) attr = a.getAttributeData().getAttribute();
+ XAttributeConstraintAList c = (XAttributeConstraintAList)attr.getConstraint();
+ c.setValues(list.toArray(new String[0]));
+ }
+
+ private static void collectMethods(IJavaProject jp, String typeName, Set<String> list) throws JavaModelException {
+ IType type = EclipseJavaUtil.findType(jp, typeName);
+ if(type == null) return;
+ IMethod[] ms = type.getMethods();
+ for (int i = 0; i < ms.length; i++) {
+ if(ms[i].isConstructor()) continue;
+ if(!Flags.isPublic(ms[i].getFlags())) continue;
+ String[] ps = ms[i].getParameterTypes();
+ if(ps == null || ps.length != 1) continue;
+ String t = EclipseJavaUtil.resolveTypeAsString(type, ps[0]);
+ if(!t.endsWith("Message")) continue;
+ list.add(ms[i].getElementName());
+ }
+ String st = type.getSuperclassName();
+ if(st != null && st.length() > 0) {
+ st = EclipseJavaUtil.resolveType(type, st);
+ if(st != null && st.length() > 0) {
+ collectMethods(jp, st, list);
+ }
+ }
+
+ }
+}
Property changes on: trunk/esb/plugins/org.jboss.tools.esb.ui/src/org/jboss/tools/esb/ui/editor/form/ESBActionForm.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/esb/plugins/org.jboss.tools.esb.ui/src/org/jboss/tools/esb/ui/editor/form/ESBXMLFormLayoutData.java
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.ui/src/org/jboss/tools/esb/ui/editor/form/ESBXMLFormLayoutData.java 2009-11-12 15:59:38 UTC (rev 18654)
+++ trunk/esb/plugins/org.jboss.tools.esb.ui/src/org/jboss/tools/esb/ui/editor/form/ESBXMLFormLayoutData.java 2009-11-12 16:01:44 UTC (rev 18655)
@@ -29,7 +29,6 @@
public static String EMPTY_DESCRIPTION = ""; //$NON-NLS-1$
private final static IFormData[] FORM_LAYOUT_DEFINITIONS = new IFormData[] {
-
};
@@ -63,10 +62,13 @@
return data;
}
- private IFormData generateDefaultFormData(XModelEntity entity) {
+ public IFormData generateDefaultFormData(XModelEntity entity) {
String entityName = entity.getName();
List<IFormData> list = new ArrayList<IFormData>();
IFormData g = ModelFormLayoutData.createGeneralFormData(entity);
+ if(entityName.equals(ENT_ESB_ACTION)) {
+ g = new FormData("org.jboss.tools.esb.ui.editor.form.ESBActionForm");
+ }
if(g != null) list.add(g);
if(entityName.startsWith(PREACTION_PREFIX)) {
if(entity.getChild(ENT_ESB_ROUTE_TO) != null) {
@@ -105,7 +107,7 @@
IFormData a = ModelFormLayoutData.createAdvancedFormData(entityName);
if(a != null) list.add(a);
IFormData[] ds = list.toArray(new IFormData[0]);
- IFormData data = new FormData(entityName, new String[]{null}, ds);
+ IFormData data = new FormData(entityName, (String[])(null), ds);
return data;
}
Added: trunk/esb/plugins/org.jboss.tools.esb.ui/src/org/jboss/tools/esb/ui/wizard/AddGenericActionStep.java
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.ui/src/org/jboss/tools/esb/ui/wizard/AddGenericActionStep.java (rev 0)
+++ trunk/esb/plugins/org.jboss.tools.esb.ui/src/org/jboss/tools/esb/ui/wizard/AddGenericActionStep.java 2009-11-12 16:01:44 UTC (rev 18655)
@@ -0,0 +1,25 @@
+package org.jboss.tools.esb.ui.wizard;
+
+import java.beans.PropertyChangeEvent;
+
+import org.jboss.tools.common.model.ui.wizards.special.SpecialWizardStep;
+import org.jboss.tools.esb.ui.editor.form.ESBActionForm;
+
+public class AddGenericActionStep extends SpecialWizardStep {
+ boolean lock = false;
+
+ public AddGenericActionStep() {}
+
+ public void propertyChange(PropertyChangeEvent event) {
+ if(lock) return;
+ if(event.getSource() == attributes.getPropertyEditorAdapterByName("class")) { //$NON-NLS-1$
+ lock = true;
+ try {
+ ESBActionForm.setProcessMethods(attributes, support.getTarget());
+ } finally {
+ lock = false;
+ }
+ }
+ super.propertyChange(event);
+ }
+}
Property changes on: trunk/esb/plugins/org.jboss.tools.esb.ui/src/org/jboss/tools/esb/ui/wizard/AddGenericActionStep.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
15 years, 1 month
JBoss Tools SVN: r18654 - in trunk/esb/plugins/org.jboss.tools.esb.core: META-INF and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2009-11-12 10:59:38 -0500 (Thu, 12 Nov 2009)
New Revision: 18654
Added:
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/handlers/AddGenericActionSupport.java
Modified:
trunk/esb/plugins/org.jboss.tools.esb.core/META-INF/MANIFEST.MF
trunk/esb/plugins/org.jboss.tools.esb.core/plugin.xml
trunk/esb/plugins/org.jboss.tools.esb.core/resources/meta/esb.meta
Log:
https://jira.jboss.org/jira/browse/JBIDE-2024
Modified: trunk/esb/plugins/org.jboss.tools.esb.core/META-INF/MANIFEST.MF
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.core/META-INF/MANIFEST.MF 2009-11-12 15:55:49 UTC (rev 18653)
+++ trunk/esb/plugins/org.jboss.tools.esb.core/META-INF/MANIFEST.MF 2009-11-12 15:59:38 UTC (rev 18654)
@@ -10,21 +10,6 @@
org.jboss.tools.esb.core.model,
org.jboss.tools.esb.core.model.handlers
Require-Bundle: org.jboss.tools.jst.web;visibility:=reexport,
- org.eclipse.ui.ide,
- org.eclipse.ui.views,
- org.eclipse.jface.text,
- org.eclipse.ui.workbench.texteditor,
- org.eclipse.ui.editors,
- org.eclipse.jdt.core,
- org.eclipse.jdt.ui,
- org.eclipse.ui,
- org.eclipse.jface,
- org.eclipse.wst.sse.core,
- org.eclipse.ltk.core.refactoring,
- org.eclipse.ltk.ui.refactoring,
- org.eclipse.wst.xml.core,
- org.eclipse.core.resources,
- org.eclipse.core.runtime,
- org.eclipse.wst.web
+ org.eclipse.ui
Bundle-Version: 2.0.0
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Modified: trunk/esb/plugins/org.jboss.tools.esb.core/plugin.xml
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.core/plugin.xml 2009-11-12 15:55:49 UTC (rev 18653)
+++ trunk/esb/plugins/org.jboss.tools.esb.core/plugin.xml 2009-11-12 15:59:38 UTC (rev 18654)
@@ -32,6 +32,8 @@
class="org.jboss.tools.esb.core.model.ESBRouteToImpl"/>
<xclass id="org.jboss.tools.esb.core.model.handlers.AddProviderSupport"
class="org.jboss.tools.esb.core.model.handlers.AddProviderSupport"/>
+ <xclass id="org.jboss.tools.esb.core.model.handlers.AddGenericActionSupport"
+ class="org.jboss.tools.esb.core.model.handlers.AddGenericActionSupport"/>
</extension>
Modified: trunk/esb/plugins/org.jboss.tools.esb.core/resources/meta/esb.meta
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.core/resources/meta/esb.meta 2009-11-12 15:55:49 UTC (rev 18653)
+++ trunk/esb/plugins/org.jboss.tools.esb.core/resources/meta/esb.meta 2009-11-12 15:59:38 UTC (rev 18654)
@@ -72,7 +72,12 @@
name="class" xmlname="class">
<Editor name="AccessibleJava"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="category=general" name="process" xmlname="process"/>
+ <XModelAttribute
+ PROPERTIES="category=general;separator=comma;greedy=false"
+ name="process" xmlname="process">
+ <Constraint loader="ListString"/>
+ <Editor name="ListAdd"/>
+ </XModelAttribute>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
<Editor name="Note"/>
</XModelAttribute>
@@ -147,8 +152,8 @@
</XModelAttributes>
<XActionItem kind="list">
<XActionItem displayName="New" group="1" kind="list" name="CreateActions">
- <XActionItem HandlerClassName="%Create%" ICON="action.empty"
- PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ <XActionItem HandlerClassName="%SpecialWizard%" ICON="action.empty"
+ PROPERTIES="validator.add=true;support=org.jboss.tools.esb.core.model.handlers.AddGenericActionSupport"
displayName="Generic Action..." kind="action" name="AddAction">
<EntityData EntityName="ESBAction101">
<AttributeData AttributeName="name"/>
Added: trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/handlers/AddGenericActionSupport.java
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/handlers/AddGenericActionSupport.java (rev 0)
+++ trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/handlers/AddGenericActionSupport.java 2009-11-12 15:59:38 UTC (rev 18654)
@@ -0,0 +1,11 @@
+package org.jboss.tools.esb.core.model.handlers;
+
+import org.jboss.tools.common.meta.action.impl.handlers.DefaultCreateSupport;
+
+public class AddGenericActionSupport extends DefaultCreateSupport {
+
+ public String getStepImplementingClass(int stepId) {
+ return "org.jboss.tools.esb.ui.wizard.AddGenericActionStep"; //$NON-NLS-1$
+ }
+
+}
Property changes on: trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/handlers/AddGenericActionSupport.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
15 years, 1 month
JBoss Tools SVN: r18653 - trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/META-INF.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2009-11-12 10:55:49 -0500 (Thu, 12 Nov 2009)
New Revision: 18653
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/META-INF/MANIFEST.MF
Log:
drop 1.0.0 range from plugin so it can be resolved
Modified: trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/META-INF/MANIFEST.MF 2009-11-12 15:35:20 UTC (rev 18652)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/META-INF/MANIFEST.MF 2009-11-12 15:55:49 UTC (rev 18653)
@@ -14,7 +14,7 @@
org.eclipse.swtbot.eclipse.spy;bundle-version="2.0.0",
org.eclipse.swtbot.eclipse.ui;bundle-version="2.0.0",
org.eclipse.swtbot.junit4_x;bundle-version="2.0.0",
- org.jboss.tools.ui.bot.ext;bundle-version="1.0.0"
+ org.jboss.tools.ui.bot.ext
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Import-Package: org.jboss.tools.ui.bot.test,
15 years, 1 month
JBoss Tools SVN: r18652 - trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/forms.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2009-11-12 10:35:20 -0500 (Thu, 12 Nov 2009)
New Revision: 18652
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/forms/Form.java
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/forms/FormAttributeData.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-2024
Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/forms/Form.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/forms/Form.java 2009-11-12 15:24:17 UTC (rev 18651)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/forms/Form.java 2009-11-12 15:35:20 UTC (rev 18652)
@@ -57,6 +57,14 @@
private Form() {}
+ protected XAttributeSupport getSupport() {
+ return support;
+ }
+
+ protected XModelObject getModelObject() {
+ return xmo;
+ }
+
public void dispose() {
super.dispose();
if (support!=null) support.dispose();
Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/forms/FormAttributeData.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/forms/FormAttributeData.java 2009-11-12 15:24:17 UTC (rev 18651)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/forms/FormAttributeData.java 2009-11-12 15:35:20 UTC (rev 18652)
@@ -122,4 +122,8 @@
public int getWidth() {
return width;
}
+
+ public void setWrapperClassName(String c) {
+ wraperClassName = c;
+ }
}
\ No newline at end of file
15 years, 1 month
JBoss Tools SVN: r18651 - documentation/trunk/movies/common_resources/Callouts.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2009-11-12 10:24:17 -0500 (Thu, 12 Nov 2009)
New Revision: 18651
Modified:
documentation/trunk/movies/common_resources/Callouts/custom_left.svg
Log:
https://jira.jboss.org/jira/browse/JBDS-906 - custom hint image is updated
Modified: documentation/trunk/movies/common_resources/Callouts/custom_left.svg
===================================================================
--- documentation/trunk/movies/common_resources/Callouts/custom_left.svg 2009-11-12 15:14:41 UTC (rev 18650)
+++ documentation/trunk/movies/common_resources/Callouts/custom_left.svg 2009-11-12 15:24:17 UTC (rev 18651)
@@ -1,10 +1,67 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
- "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
-<svg width="122px" height="109px">
-<path d="M10.018 66.316 C10.018,73.835 17.737,78.083 24.314,78.083 C30.506,78.083 34.220,77.341 36.928,77.670 C39.250,80.954 51.027,94.218 53.735,98.466 C53.735,91.304 53.172,82.422 53.172,78.500 C58.584,78.500 90.126,78.083 95.925,78.083 C101.729,78.083 111.298,71.576 110.924,65.697 C110.924,56.543 111.174,35.125 111.174,24.333 C111.174,16.169 107.472,10 99.345,10 C91.996,10 28.998,10 22.801,10 C15.247,10.331 10,16.125 10,22.669 C10,27.9 10.018,59.783 10.018,66.316 Z"
- style="stroke:rgb(82,82,82);fill:rgb(215,229,244);fill-opacity:0.949;" />
-<polyline points="99.577 63.833, 99.577 18.669, 18.569 18.669, 18.569 63.833, 99.577 63.833"
- style="stroke:rgb(0,0,0);fill:none;" />
-<g id="appdata_0_0_0_0_1" />
-</svg>
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="122px"
+ height="109px"
+ id="svg2787"
+ sodipodi:version="0.32"
+ inkscape:version="0.46"
+ sodipodi:docname="custom_left.svg"
+ inkscape:output_extension="org.inkscape.output.svg.inkscape">
+ <metadata
+ id="metadata2797">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <defs
+ id="defs2795">
+ <inkscape:perspective
+ sodipodi:type="inkscape:persp3d"
+ inkscape:vp_x="0 : 54.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_z="122 : 54.5 : 1"
+ inkscape:persp3d-origin="61 : 36.333333 : 1"
+ id="perspective2799" />
+ </defs>
+ <sodipodi:namedview
+ inkscape:window-height="711"
+ inkscape:window-width="1247"
+ inkscape:pageshadow="2"
+ inkscape:pageopacity="0.0"
+ guidetolerance="10.0"
+ gridtolerance="10.0"
+ objecttolerance="10.0"
+ borderopacity="1.0"
+ bordercolor="#666666"
+ pagecolor="#ffffff"
+ id="base"
+ showgrid="false"
+ inkscape:zoom="4.4508197"
+ inkscape:cx="21.232044"
+ inkscape:cy="54.5"
+ inkscape:window-x="5"
+ inkscape:window-y="73"
+ inkscape:current-layer="svg2787" />
+ <path
+ d="M10.018 66.316 C10.018,73.835 17.737,78.083 24.314,78.083 C30.506,78.083 34.220,77.341 36.928,77.670 C39.250,80.954 51.027,94.218 53.735,98.466 C53.735,91.304 53.172,82.422 53.172,78.500 C58.584,78.500 90.126,78.083 95.925,78.083 C101.729,78.083 111.298,71.576 110.924,65.697 C110.924,56.543 111.174,35.125 111.174,24.333 C111.174,16.169 107.472,10 99.345,10 C91.996,10 28.998,10 22.801,10 C15.247,10.331 10,16.125 10,22.669 C10,27.9 10.018,59.783 10.018,66.316 Z"
+ style="stroke:rgb(82, 82, 82);fill:#d7e5f4;fill-opacity:0.60784316"
+ id="path2789" />
+ <polyline
+ points="99.577 63.833, 99.577 18.669, 18.569 18.669, 18.569 63.833, 99.577 63.833"
+ style="stroke:rgb(0,0,0);fill:none;"
+ id="polyline2791" />
+ <g
+ id="appdata_0_0_0_0_1" />
+</svg>
15 years, 1 month
JBoss Tools SVN: r18649 - workspace/yradtsevich/DnD/trunk/DndJsPrototype/WebContent.
by jbosstools-commits@lists.jboss.org
Author: yradtsevich
Date: 2009-11-12 09:55:19 -0500 (Thu, 12 Nov 2009)
New Revision: 18649
Modified:
workspace/yradtsevich/DnD/trunk/DndJsPrototype/WebContent/index.html
workspace/yradtsevich/DnD/trunk/DndJsPrototype/WebContent/script.js
Log:
https://jira.jboss.org/jira/browse/JBIDE-5042
JavaScript prototype:
- Drop over action has been added
- Dragging support has been enhanced (opacity added)
- Now the prototype is capable with XHTML
Modified: workspace/yradtsevich/DnD/trunk/DndJsPrototype/WebContent/index.html
===================================================================
--- workspace/yradtsevich/DnD/trunk/DndJsPrototype/WebContent/index.html 2009-11-12 14:03:47 UTC (rev 18648)
+++ workspace/yradtsevich/DnD/trunk/DndJsPrototype/WebContent/index.html 2009-11-12 14:55:19 UTC (rev 18649)
@@ -1,31 +1,38 @@
-<html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript" src="script.js"></script>
<style type="text/css">
-table
+table.colory
{
border-color: black;
border-width: 1px;
border-style: solid;
}
-td
+table.colory td
{
border-color: blasck;
border-width: 1px 1px 1px 1px;
border-style: solid;
margin: 0;
padding: 0px;
- background-color: yellow;
+ background-color: pink;
}
</style>
</head>
<body style="margin-left: 25px; margin-top: 25px;">
- <img id="dragIcon" src="dragIcon.gif" style="display:none; position: absolute; cursor: move"/>
- <button id="draggableButton">DRAG ME!</button>
+ <img id="dragIcon" src="dragIcon.gif" style="display:none; position: absolute; cursor: move; z-index: 10000"/>
+ <div id="orect" style="position: absolute;
+ background-color:rgba(255, 174, 185, 0.5);
+ left : 400px;
+ top : 100px;
+ width : 200px;
+ height : 100px;">
+ </div>
<button>Non-draggable</button>
- <P/>
- <table>
+ <button id="draggableButton">DRAG ME!</button><p/>
+ <table class="colory">
<tr id="graggableRow">
<td>Draggable row</td>
<td id="graggableRow">DRAG ME!</td>
@@ -39,8 +46,8 @@
<td>non-draggable</td>
</tr>
</table>
- <P/>
- <table id="draggableTable">
+ <p/>
+ <table id="draggableTable" class="colory">
<tr>
<th colspan="2">Draggable Table</th>
</tr>
@@ -55,7 +62,14 @@
<td>row3</td>
</tr>
</table>
- <P/>
- <input id="draggableInputText" type="text" value="DRAG ME!">
+ <p/>
+ <input id="draggableInputText" type="text" value="DRAG ME!"/>
+ <p/>
+ <div id="dropableArea" style="width:200px; height:100px; border-color: black;
+ border-width: 1px;
+ border-style: solid;">
+ <center>DROPABLE AREA<br/> Drag over me!</center>
+ </div>
+ <div id="statusLine"></div>
</body>
</html>
Modified: workspace/yradtsevich/DnD/trunk/DndJsPrototype/WebContent/script.js
===================================================================
(Binary files differ)
15 years, 1 month