JBoss Tools SVN: r13269 - branches/jbosstools-3.0.0.CR2/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server/extensions.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2009-01-26 09:39:39 -0500 (Mon, 26 Jan 2009)
New Revision: 13269
Modified:
branches/jbosstools-3.0.0.CR2/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server/extensions/ModuleActionProvider.java
Log:
JBIDE-3633
Modified: branches/jbosstools-3.0.0.CR2/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server/extensions/ModuleActionProvider.java
===================================================================
--- branches/jbosstools-3.0.0.CR2/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server/extensions/ModuleActionProvider.java 2009-01-26 14:03:59 UTC (rev 13268)
+++ branches/jbosstools-3.0.0.CR2/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server/extensions/ModuleActionProvider.java 2009-01-26 14:39:39 UTC (rev 13269)
@@ -11,6 +11,7 @@
import org.eclipse.jface.action.Action;
import org.eclipse.jface.action.IContributionItem;
import org.eclipse.jface.action.IMenuManager;
+import org.eclipse.jface.action.Separator;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.swt.widgets.Shell;
@@ -69,6 +70,12 @@
ms[i] = (ModuleServer)arr[i];
this.selection = ms;
+ IContributionItem sep = menu.find(ServerActionProvider.CONTROL_MODULE_SECTION_END_SEPARATOR);
+ if( sep == null ) {
+ sep = new Separator(ServerActionProvider.CONTROL_MODULE_SECTION_END_SEPARATOR);
+ sep.setVisible(false);
+ menu.add(sep);
+ }
menu.insertBefore(ServerActionProvider.CONTROL_MODULE_SECTION_END_SEPARATOR, incrementalPublishModuleAction);
menu.insertBefore(ServerActionProvider.CONTROL_MODULE_SECTION_END_SEPARATOR, fullPublishModuleAction);
if (selection.size() == 1) {
15 years, 11 months
JBoss Tools SVN: r13268 - branches/jbosstools-3.0.0.CR2/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2009-01-26 09:03:59 -0500 (Mon, 26 Jan 2009)
New Revision: 13268
Modified:
branches/jbosstools-3.0.0.CR2/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamBaseOperation.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-3613 Action, Form, Conversation java files are not represented in Package Explorer after creation for seam war projects.
Added Display.getCurrent().asyncExec(...) for opening file which wizards created with default editor.
Commited in trunk for 3.0GA and brunch for 3.0.0CR2
Modified: branches/jbosstools-3.0.0.CR2/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamBaseOperation.java
===================================================================
--- branches/jbosstools-3.0.0.CR2/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamBaseOperation.java 2009-01-26 13:45:01 UTC (rev 13267)
+++ branches/jbosstools-3.0.0.CR2/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamBaseOperation.java 2009-01-26 14:03:59 UTC (rev 13268)
@@ -113,22 +113,6 @@
FileUtils.getFileUtils().copyFile(new File(mapping[0]), file[index],filters,true);
index++;
}
-
-// Display.getCurrent().asyncExec(new Runnable() {
-// /* (non-Javadoc)
-// * @see java.lang.Runnable#run()
-// */
-// public void run() {
-// if(file.length > 0){
-// IFile iFile = seamPrjSet.getWarProject().getWorkspace().getRoot().getFileForLocation(new Path(file[0].getAbsolutePath()));
-// try {
-// IDE.openEditor(SeamGuiPlugin.getDefault().getWorkbench().getActiveWorkbenchWindow().getActivePage(), iFile);
-// } catch (PartInitException e) {
-// SeamGuiPlugin.getPluginLog().logError(e);
-// }
-// }
-// }
-// });
if(shouldTouchServer(seamPrjSet)) {
WebUtils.changeTimeStamp(seamPrjSet.getWarProject());
}
@@ -209,20 +193,43 @@
return vars;
}
- public void openResultInEditor(IAdaptable info) {
- final SeamProjectsSet seamPrjSet = new SeamProjectsSet(getProject(info));
+ public void openResultInEditor(final IAdaptable info) {
+ final IProject project = getProject(info);
+ final SeamProjectsSet seamPrjSet = new SeamProjectsSet(project);
+ Map<String, Object> parameters = null;
try {
- Map<String, Object> vars = loadParameters(info, seamPrjSet);
- List<FileMapping> fileMapping = getFileMappings(vars);
- if(!fileMapping.isEmpty()) {
- List<String[]> fileMappingCopy = applyVariables(fileMapping,vars);
+ parameters = loadParameters(info, seamPrjSet);
+ } catch (BackingStoreException e) {
+ SeamGuiPlugin.getPluginLog().logError(e);
+ return;
+ }
+ final Map<String, Object> vars = parameters;
+ final List<FileMapping> fileMappings = getFileMappings(parameters);
+ Display display = Display.getCurrent();
+ if(display!=null) {
+ display.asyncExec(new Runnable() {
+ /* (non-Javadoc)
+ * @see java.lang.Runnable#run()
+ */
+ public void run() {
+ openResultInEditorInCurrentThread(info, project, seamPrjSet, vars, fileMappings);
+ }
+ });
+ } else {
+ // If we run this methods from test environment then don't use asyncExec.
+ openResultInEditorInCurrentThread(info, project, seamPrjSet, parameters, fileMappings);
+ }
+ }
+
+ private static void openResultInEditorInCurrentThread(IAdaptable info, IProject project, SeamProjectsSet seamPrjSet, Map<String, Object> parameters, List<FileMapping> fileMappings) {
+ try {
+ if(!fileMappings.isEmpty()) {
+ List<String[]> fileMappingCopy = applyVariables(fileMappings, parameters);
IFile iFile = seamPrjSet.getWarProject().getWorkspace().getRoot().getFileForLocation(new Path(fileMappingCopy.get(0)[1]));
IDE.openEditor(SeamGuiPlugin.getDefault().getWorkbench().getActiveWorkbenchWindow().getActivePage(), iFile);
}
- } catch (CoreException e) {
- SeamCorePlugin.getPluginLog().logError(e);
- } catch (BackingStoreException e) {
- SeamCorePlugin.getPluginLog().logError(e);
+ } catch (PartInitException e) {
+ SeamGuiPlugin.getPluginLog().logError(e);
}
}
15 years, 11 months
JBoss Tools SVN: r13267 - trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2009-01-26 08:45:01 -0500 (Mon, 26 Jan 2009)
New Revision: 13267
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamBaseOperation.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-3613 Action, Form, Conversation java files are not represented in Package Explorer after creation for seam war projects.
Added Display.getCurrent().asyncExec(...) for opening file which wizards created with default editor.
Commited in trunk for 3.0GA and brunch for 3.0.0CR2
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamBaseOperation.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamBaseOperation.java 2009-01-26 12:58:45 UTC (rev 13266)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamBaseOperation.java 2009-01-26 13:45:01 UTC (rev 13267)
@@ -113,22 +113,6 @@
FileUtils.getFileUtils().copyFile(new File(mapping[0]), file[index],filters,true);
index++;
}
-
-// Display.getCurrent().asyncExec(new Runnable() {
-// /* (non-Javadoc)
-// * @see java.lang.Runnable#run()
-// */
-// public void run() {
-// if(file.length > 0){
-// IFile iFile = seamPrjSet.getWarProject().getWorkspace().getRoot().getFileForLocation(new Path(file[0].getAbsolutePath()));
-// try {
-// IDE.openEditor(SeamGuiPlugin.getDefault().getWorkbench().getActiveWorkbenchWindow().getActivePage(), iFile);
-// } catch (PartInitException e) {
-// SeamGuiPlugin.getPluginLog().logError(e);
-// }
-// }
-// }
-// });
if(shouldTouchServer(seamPrjSet)) {
WebUtils.changeTimeStamp(seamPrjSet.getWarProject());
}
@@ -209,20 +193,43 @@
return vars;
}
- public void openResultInEditor(IAdaptable info) {
- final SeamProjectsSet seamPrjSet = new SeamProjectsSet(getProject(info));
+ public void openResultInEditor(final IAdaptable info) {
+ final IProject project = getProject(info);
+ final SeamProjectsSet seamPrjSet = new SeamProjectsSet(project);
+ Map<String, Object> parameters = null;
try {
- Map<String, Object> vars = loadParameters(info, seamPrjSet);
- List<FileMapping> fileMapping = getFileMappings(vars);
- if(!fileMapping.isEmpty()) {
- List<String[]> fileMappingCopy = applyVariables(fileMapping,vars);
+ parameters = loadParameters(info, seamPrjSet);
+ } catch (BackingStoreException e) {
+ SeamGuiPlugin.getPluginLog().logError(e);
+ return;
+ }
+ final Map<String, Object> vars = parameters;
+ final List<FileMapping> fileMappings = getFileMappings(parameters);
+ Display display = Display.getCurrent();
+ if(display!=null) {
+ display.asyncExec(new Runnable() {
+ /* (non-Javadoc)
+ * @see java.lang.Runnable#run()
+ */
+ public void run() {
+ openResultInEditorInCurrentThread(info, project, seamPrjSet, vars, fileMappings);
+ }
+ });
+ } else {
+ // If we run this methods from test environment then don't use asyncExec.
+ openResultInEditorInCurrentThread(info, project, seamPrjSet, parameters, fileMappings);
+ }
+ }
+
+ private static void openResultInEditorInCurrentThread(IAdaptable info, IProject project, SeamProjectsSet seamPrjSet, Map<String, Object> parameters, List<FileMapping> fileMappings) {
+ try {
+ if(!fileMappings.isEmpty()) {
+ List<String[]> fileMappingCopy = applyVariables(fileMappings, parameters);
IFile iFile = seamPrjSet.getWarProject().getWorkspace().getRoot().getFileForLocation(new Path(fileMappingCopy.get(0)[1]));
IDE.openEditor(SeamGuiPlugin.getDefault().getWorkbench().getActiveWorkbenchWindow().getActivePage(), iFile);
}
- } catch (CoreException e) {
- SeamCorePlugin.getPluginLog().logError(e);
- } catch (BackingStoreException e) {
- SeamCorePlugin.getPluginLog().logError(e);
+ } catch (PartInitException e) {
+ SeamGuiPlugin.getPluginLog().logError(e);
}
}
15 years, 11 months
JBoss Tools SVN: r13266 - trunk/common/plugins/org.jboss.tools.common.kb/schemas/tld.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2009-01-26 07:58:45 -0500 (Mon, 26 Jan 2009)
New Revision: 13266
Modified:
trunk/common/plugins/org.jboss.tools.common.kb/schemas/tld/Ajax4jsf3_3.xml
Log:
https://jira.jboss.org/jira/browse/JBIDE-3601 Missing some enumerations in Content Assistance for Ajax4JSF components Fixed in trunk for 3.0GA
Modified: trunk/common/plugins/org.jboss.tools.common.kb/schemas/tld/Ajax4jsf3_3.xml
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.kb/schemas/tld/Ajax4jsf3_3.xml 2009-01-26 07:52:40 UTC (rev 13265)
+++ trunk/common/plugins/org.jboss.tools.common.kb/schemas/tld/Ajax4jsf3_3.xml 2009-01-26 12:58:45 UTC (rev 13266)
@@ -82,6 +82,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>
</attribute-type>
<attribute type="noEscape"/>
<attribute-type name="value" required="false">
@@ -163,6 +167,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>
</attribute-type>
<attribute type="ajaxSingle"/>
<attribute-type name="alt" required="false">
@@ -186,6 +194,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>
</attribute-type>
<attribute type="bypassUpdates"/>
<attribute-type name="data" required="false">
@@ -202,6 +214,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="LTR"/>
+ <param value="RTL"/>
+ </proposal>
</attribute-type>
<attribute type="dir"/>
<attribute-type name="disabled" required="false">
@@ -240,6 +256,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>
</attribute-type>
<attribute type="ignoreDupResponses"/>
<attribute-type name="image" required="false">
@@ -280,6 +300,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>
</attribute-type>
<attribute type="limitToList"/>
<attribute-type name="onbeforedomupdate" required="false">
@@ -542,6 +566,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>
</attribute-type>
<attribute type="ajaxSingle"/>
<attribute-type name="binding" required="false">
@@ -558,6 +586,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>
</attribute-type>
<attribute type="bypassUpdates"/>
<attribute-type name="charset" required="false">
@@ -594,6 +626,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="LTR"/>
+ <param value="RTL"/>
+ </proposal>
</attribute-type>
<attribute type="dir"/>
<attribute-type name="disabled" required="false">
@@ -639,6 +675,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>
</attribute-type>
<attribute type="ignoreDupResponses"/>
<attribute-type name="immediate" required="false">
@@ -667,6 +707,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>
</attribute-type>
<attribute type="limitToList"/>
<attribute-type name="onbeforedomupdate" required="false">
@@ -825,6 +869,12 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="default"/>
+ <param value="rect"/>
+ <param value="circle"/>
+ <param value="poly"/>
+ </proposal>
</attribute-type>
<attribute type="shape"/>
<attribute-type name="status" required="false">
@@ -919,6 +969,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>
</attribute-type>
<attribute type="ajaxSingle"/>
<attribute-type name="ajaxSubmit" required="false">
@@ -926,6 +980,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>
</attribute-type>
<attribute type="ajaxSubmit"/>
<attribute-type name="binding" required="false">
@@ -942,6 +1000,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>
</attribute-type>
<attribute type="bypassUpdates"/>
<attribute-type name="data" required="false">
@@ -983,6 +1045,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>
</attribute-type>
<attribute type="ignoreDupResponses"/>
<attribute-type name="limitToList" required="false">
@@ -990,6 +1056,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>
</attribute-type>
<attribute type="limitToList"/>
<attribute-type name="onbeforedomupdate" required="false">
@@ -1154,6 +1224,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="LTR"/>
+ <param value="RTL"/>
+ </proposal>
</attribute-type>
<attribute type="dir"/>
<attribute-type name="disabled" required="false">
@@ -1319,6 +1393,12 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="default"/>
+ <param value="rect"/>
+ <param value="circle"/>
+ <param value="poly"/>
+ </proposal>
</attribute-type>
<attribute type="shape"/>
<attribute-type name="style" required="false">
@@ -1386,6 +1466,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>
</attribute-type>
<attribute type="ajaxRendered"/>
<attribute-type name="binding" required="false">
@@ -1404,6 +1488,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="LTR"/>
+ <param value="RTL"/>
+ </proposal>
</attribute-type>
<attribute type="dir"/>
<attribute-type name="id" required="false">
@@ -1421,6 +1509,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>
</attribute-type>
<attribute type="keepTransient"/>
<attribute-type name="lang" required="false">
@@ -1442,6 +1534,11 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="block"/>
+ <param value="inline"/>
+ <param value="none"/>
+ </proposal>
</attribute-type>
<attribute type="layout"/>
<attribute-type name="rendered" required="false">
@@ -1516,6 +1613,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>>
</attribute-type>
<attribute type="ajaxSingle"/>
<attribute-type name="binding" required="false">
@@ -1532,6 +1633,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>
</attribute-type>
<attribute type="bypassUpdates"/>
<attribute-type name="data" required="false">
@@ -1566,6 +1671,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>
</attribute-type>
<attribute type="ignoreDupResponses"/>
<attribute-type name="immediate" required="false">
@@ -1587,6 +1696,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>
</attribute-type>
<attribute type="limitToList"/>
<attribute-type name="name" required="false">
@@ -1674,6 +1787,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>
</attribute-type>
<attribute type="ajaxOnly"/>
</element-type>
@@ -1811,6 +1928,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="LTR"/>
+ <param value="RTL"/>
+ </proposal>
</attribute-type>
<attribute type="dir"/>
<attribute-type name="height" required="false">
@@ -1846,6 +1967,14 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="FATAL"/>
+ <param value="ERROR"/>
+ <param value="WARN"/>
+ <param value="INFO"/>
+ <param value="DEBUG"/>
+ <param value="ALL"/>
+ </proposal>
</attribute-type>
<attribute type="level"/>
<attribute-type name="name" required="false">
@@ -1997,6 +2126,11 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="bottom"/>
+ <param value="middle"/>
+ <param value="top"/>
+ </proposal>
</attribute-type>
<attribute type="align"/>
<attribute-type name="archive" required="false">
@@ -2027,6 +2161,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>
</attribute-type>
<attribute type="cacheable"/>
<attribute-type name="charset" required="false">
@@ -2108,6 +2246,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="LTR"/>
+ <param value="RTL"/>
+ </proposal>
</attribute-type>
<attribute type="dir"/>
<attribute-type name="element" required="false">
@@ -2285,6 +2427,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>
</attribute-type>
<attribute type="session"/>
<attribute-type name="shape" required="false">
@@ -2298,6 +2444,12 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="default"/>
+ <param value="rect"/>
+ <param value="circle"/>
+ <param value="poly"/>
+ </proposal>
</attribute-type>
<attribute type="shape"/>
<attribute-type name="standby" required="false">
@@ -2400,6 +2552,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>
</attribute-type>
<attribute type="ajaxRendered"/>
<attribute-type name="binding" required="false">
@@ -2418,6 +2574,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="LTR"/>
+ <param value="RTL"/>
+ </proposal>
</attribute-type>
<attribute type="dir"/>
<attribute-type name="id" required="false">
@@ -2435,6 +2595,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>
</attribute-type>
<attribute type="keepTransient"/>
<attribute-type name="lang" required="false">
@@ -2456,6 +2620,11 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="block"/>
+ <param value="inline"/>
+ <param value="none"/>
+ </proposal>
</attribute-type>
<attribute type="layout"/>
<attribute-type name="onclick" required="false">
@@ -2679,6 +2848,12 @@
<proposal type="beanProperty" />
<proposal type="bundleProperty" />
<proposal type="jsfVariables" />
+ <proposal type="enumeration">
+ <param value="dropNext"/>
+ <param value="dropNew"/>
+ <param value="fireNext"/>
+ <param value="fireNew"/>
+ </proposal>
</attribute-type>
<attribute type="sizeExceededBehavior" />
<attribute-type name="status" required="false">
@@ -2749,6 +2924,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="LTR"/>
+ <param value="RTL"/>
+ </proposal>
</attribute-type>
<attribute type="dir"/>
<attribute-type name="format" required="false">
@@ -2824,6 +3003,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>
</attribute-type>
<attribute type="selfRendered"/>
<attribute-type name="style" required="false">
@@ -2881,6 +3064,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>
</attribute-type>
<attribute type="ajaxSingle"/>
<attribute-type name="binding" required="false">
@@ -2897,6 +3084,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>
</attribute-type>
<attribute type="bypassUpdates"/>
<attribute-type name="data" required="false">
@@ -2911,6 +3102,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>
</attribute-type>
<attribute type="enabled"/>
<attribute-type name="eventsQueue" required="false">
@@ -2938,6 +3133,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>
</attribute-type>
<attribute type="ignoreDupResponses"/>
<attribute-type name="immediate" required="false">
@@ -2966,6 +3165,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>
</attribute-type>
<attribute type="limitToList"/>
<attribute-type name="onbeforedomupdate" required="false">
@@ -3091,6 +3294,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>
</attribute-type>
<attribute type="ajaxSingle"/>
<attribute-type name="binding" required="false">
@@ -3107,6 +3314,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>
</attribute-type>
<attribute type="bypassUpdates"/>
<attribute-type name="data" required="false">
@@ -3121,6 +3332,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>
</attribute-type>
<attribute type="enabled"/>
<attribute-type name="eventProducer" required="false">
@@ -3159,6 +3374,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>
</attribute-type>
<attribute type="ignoreDupResponses"/>
<attribute-type name="immediate" required="false">
@@ -3187,6 +3406,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>
</attribute-type>
<attribute type="limitToList"/>
<attribute-type name="onbeforedomupdate" required="false">
@@ -3291,6 +3514,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>
</attribute-type>
<attribute type="renderRegionOnly"/>
<attribute-type name="rendered" required="false">
@@ -3309,6 +3536,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>
</attribute-type>
<attribute type="selfRendered"/>
</element-type>
@@ -3458,6 +3689,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="LTR"/>
+ <param value="RTL"/>
+ </proposal>
</attribute-type>
<attribute type="dir"/>
<attribute-type name="for" required="false">
@@ -3475,6 +3710,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>
</attribute-type>
<attribute type="forceId"/>
<attribute-type name="id" required="false">
@@ -3494,6 +3733,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="block"/>
+ <param value="inline"/>
+ </proposal>
</attribute-type>
<attribute type="layout"/>
<attribute-type name="onclick" required="false">
@@ -3715,6 +3958,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>
</attribute-type>
<attribute type="ajaxSingle"/>
<attribute-type name="binding" required="false">
@@ -3731,6 +3978,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>
</attribute-type>
<attribute type="bypassUpdates"/>
<attribute-type name="data" required="false">
@@ -3792,6 +4043,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>
</attribute-type>
<attribute type="ignoreDupResponses"/>
<attribute-type name="immediate" required="false">
@@ -3813,6 +4068,10 @@
<proposal type="beanProperty"/>
<proposal type="bundleProperty"/>
<proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>
</attribute-type>
<attribute type="limitToList"/>
<attribute-type name="onbeforedomupdate" required="false">
15 years, 11 months
JBoss Tools SVN: r13265 - branches/jbosstools-3.0.0.CR2/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/providers.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2009-01-26 02:52:40 -0500 (Mon, 26 Jan 2009)
New Revision: 13265
Modified:
branches/jbosstools-3.0.0.CR2/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/providers/ArchivesActionProvider.java
Log:
JBIDE-3627 Exception while creating second war archive for Seam war project
Modified: branches/jbosstools-3.0.0.CR2/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/providers/ArchivesActionProvider.java
===================================================================
--- branches/jbosstools-3.0.0.CR2/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/providers/ArchivesActionProvider.java 2009-01-25 22:38:47 UTC (rev 13264)
+++ branches/jbosstools-3.0.0.CR2/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/providers/ArchivesActionProvider.java 2009-01-26 07:52:40 UTC (rev 13265)
@@ -192,8 +192,7 @@
*/
private void addNewPackageActions (IMenuManager manager) {
//workaround for JBIDE-3016
- if( manager.getItems().length > 0)
- return;
+ manager.removeAll();
for( int i = 0; i < newPackageActions.length; i++ ) {
NewArchiveAction action = newPackageActions[i];
15 years, 11 months
JBoss Tools SVN: r13264 - trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/providers.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2009-01-25 17:38:47 -0500 (Sun, 25 Jan 2009)
New Revision: 13264
Modified:
trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/providers/ArchivesActionProvider.java
Log:
JBIDE-3627 Exception while creating second war archive for Seam war project
Modified: trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/providers/ArchivesActionProvider.java
===================================================================
--- trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/providers/ArchivesActionProvider.java 2009-01-24 01:33:22 UTC (rev 13263)
+++ trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/providers/ArchivesActionProvider.java 2009-01-25 22:38:47 UTC (rev 13264)
@@ -14,7 +14,10 @@
import org.eclipse.core.resources.IProject;
import org.eclipse.jface.action.Action;
+import org.eclipse.jface.action.ActionContributionItem;
import org.eclipse.jface.action.GroupMarker;
+import org.eclipse.jface.action.IAction;
+import org.eclipse.jface.action.IContributionItem;
import org.eclipse.jface.action.IMenuManager;
import org.eclipse.jface.action.MenuManager;
import org.eclipse.jface.action.Separator;
@@ -191,9 +194,8 @@
* @param manager
*/
private void addNewPackageActions (IMenuManager manager) {
- //workaround for JBIDE-3016
- if( manager.getItems().length > 0)
- return;
+ //workaround for JBIDE-3016
+ manager.removeAll();
for( int i = 0; i < newPackageActions.length; i++ ) {
NewArchiveAction action = newPackageActions[i];
15 years, 11 months
JBoss Tools SVN: r13263 - branches/jbosstools-3.0.0.CR2/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/wizards.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2009-01-23 20:33:22 -0500 (Fri, 23 Jan 2009)
New Revision: 13263
Modified:
branches/jbosstools-3.0.0.CR2/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/wizards/AbstractArchiveWizard.java
Log:
JBIDE-3627 Exception while creating second war archive for Seam war project
Modified: branches/jbosstools-3.0.0.CR2/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/wizards/AbstractArchiveWizard.java
===================================================================
--- branches/jbosstools-3.0.0.CR2/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/wizards/AbstractArchiveWizard.java 2009-01-24 01:30:48 UTC (rev 13262)
+++ branches/jbosstools-3.0.0.CR2/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/wizards/AbstractArchiveWizard.java 2009-01-24 01:33:22 UTC (rev 13263)
@@ -20,6 +20,7 @@
import org.eclipse.core.runtime.Status;
import org.eclipse.jface.operation.IRunnableWithProgress;
import org.eclipse.jface.resource.ImageDescriptor;
+import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.wizard.IWizardPage;
import org.eclipse.jface.wizard.WizardPage;
@@ -126,7 +127,27 @@
}
public void init(IWorkbench workbench, IStructuredSelection selection) {
- if (selection == null) return;
+ if (selection == null) {
+ ISelection sel = ProjectArchivesCommonView.getInstance().getCommonViewer().getSelection();
+ if ( !(sel instanceof IStructuredSelection)) {
+ return;
+ }
+ selection = (IStructuredSelection) sel;
+ }
+ init(selection);
+
+ if (initialDestinationPath == null) {
+ ISelection sel = ProjectArchivesCommonView.getInstance().getCommonViewer().getSelection();
+ if ( !(sel instanceof IStructuredSelection)) {
+ return;
+ }
+ selection = (IStructuredSelection) sel;
+ init(selection);
+ }
+ setNeedsProgressMonitor(true);
+ }
+
+ private void init(IStructuredSelection selection) {
project = null;
Object selected = (selection.isEmpty() ? project : selection.getFirstElement());
@@ -152,8 +173,6 @@
isPathWorkspaceRelative = true;
}
}
-
- setNeedsProgressMonitor(true);
}
public IArchiveNode getInitialNode() {
15 years, 11 months
JBoss Tools SVN: r13262 - trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/wizards.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2009-01-23 20:30:48 -0500 (Fri, 23 Jan 2009)
New Revision: 13262
Modified:
trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/wizards/AbstractArchiveWizard.java
Log:
JBIDE-3627 Exception while creating second war archive for Seam war project
Modified: trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/wizards/AbstractArchiveWizard.java
===================================================================
--- trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/wizards/AbstractArchiveWizard.java 2009-01-23 22:55:56 UTC (rev 13261)
+++ trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/wizards/AbstractArchiveWizard.java 2009-01-24 01:30:48 UTC (rev 13262)
@@ -20,6 +20,7 @@
import org.eclipse.core.runtime.Status;
import org.eclipse.jface.operation.IRunnableWithProgress;
import org.eclipse.jface.resource.ImageDescriptor;
+import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.wizard.IWizardPage;
import org.eclipse.jface.wizard.WizardPage;
@@ -126,7 +127,27 @@
}
public void init(IWorkbench workbench, IStructuredSelection selection) {
- if (selection == null) return;
+ if (selection == null) {
+ ISelection sel = ProjectArchivesCommonView.getInstance().getCommonViewer().getSelection();
+ if ( !(sel instanceof IStructuredSelection)) {
+ return;
+ }
+ selection = (IStructuredSelection) sel;
+ }
+ init(selection);
+
+ if (initialDestinationPath == null) {
+ ISelection sel = ProjectArchivesCommonView.getInstance().getCommonViewer().getSelection();
+ if ( !(sel instanceof IStructuredSelection)) {
+ return;
+ }
+ selection = (IStructuredSelection) sel;
+ init(selection);
+ }
+ setNeedsProgressMonitor(true);
+ }
+
+ private void init(IStructuredSelection selection) {
project = null;
Object selected = (selection.isEmpty() ? project : selection.getFirstElement());
@@ -152,8 +173,6 @@
isPathWorkspaceRelative = true;
}
}
-
- setNeedsProgressMonitor(true);
}
public IArchiveNode getInitialNode() {
15 years, 11 months
JBoss Tools SVN: r13260 - branches.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2009-01-23 16:37:45 -0500 (Fri, 23 Jan 2009)
New Revision: 13260
Added:
branches/jbosstools-3.0.0.CR2/
Log:
branch for 3.0.0.CR2
Copied: branches/jbosstools-3.0.0.CR2 (from rev 13259, trunk)
15 years, 11 months