JBoss Tools SVN: r13905 - trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/cssdialog.
by jbosstools-commits@lists.jboss.org
Author: mareshkau
Date: 2009-02-28 12:22:01 -0500 (Sat, 28 Feb 2009)
New Revision: 13905
Modified:
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/cssdialog/CSSClassDialog.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-3869
Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/cssdialog/CSSClassDialog.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/cssdialog/CSSClassDialog.java 2009-02-28 12:56:13 UTC (rev 13904)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/cssdialog/CSSClassDialog.java 2009-02-28 17:22:01 UTC (rev 13905)
@@ -15,43 +15,28 @@
import java.util.Iterator;
import java.util.List;
import java.util.Set;
-
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IResource;
-import org.eclipse.core.resources.IWorkspaceRoot;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
-import org.eclipse.core.runtime.jobs.Job;
import org.eclipse.jface.dialogs.IDialogConstants;
import org.eclipse.jface.dialogs.IInputValidator;
import org.eclipse.jface.dialogs.InputDialog;
import org.eclipse.jface.dialogs.TitleAreaDialog;
-import org.eclipse.jface.fieldassist.ComboContentAdapter;
-import org.eclipse.jface.fieldassist.ContentProposalAdapter;
-import org.eclipse.jface.fieldassist.IContentProposal;
-import org.eclipse.jface.fieldassist.IContentProposalListener;
import org.eclipse.jface.fieldassist.SimpleContentProposalProvider;
-import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.window.Window;
import org.eclipse.jface.wizard.WizardPage;
import org.eclipse.swt.SWT;
import org.eclipse.swt.browser.Browser;
-import org.eclipse.swt.events.DisposeEvent;
-import org.eclipse.swt.events.DisposeListener;
import org.eclipse.swt.events.FocusAdapter;
import org.eclipse.swt.events.FocusEvent;
-import org.eclipse.swt.events.KeyAdapter;
-import org.eclipse.swt.events.KeyEvent;
import org.eclipse.swt.events.ModifyEvent;
import org.eclipse.swt.events.ModifyListener;
import org.eclipse.swt.events.MouseAdapter;
import org.eclipse.swt.events.MouseEvent;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.graphics.Point;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
@@ -59,23 +44,13 @@
import org.eclipse.swt.widgets.Combo;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
-import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.MessageBox;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Text;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.dialogs.ElementTreeSelectionDialog;
-import org.eclipse.ui.fieldassist.ContentAssistCommandAdapter;
-import org.eclipse.ui.model.BaseWorkbenchContentProvider;
-import org.eclipse.ui.model.WorkbenchLabelProvider;
-import org.eclipse.ui.progress.UIJob;
import org.jboss.tools.common.model.ui.widgets.Split;
-import org.jboss.tools.jst.jsp.JspEditorPlugin;
import org.jboss.tools.jst.jsp.messages.JstUIMessages;
import org.jboss.tools.jst.jsp.outline.cssdialog.common.CSSModel;
import org.jboss.tools.jst.jsp.outline.cssdialog.common.Constants;
-import org.jboss.tools.jst.jsp.outline.cssdialog.common.FileExtensionFilter;
import org.jboss.tools.jst.jsp.outline.cssdialog.common.Util;
import org.jboss.tools.jst.jsp.outline.cssdialog.events.ChangeStyleEvent;
import org.jboss.tools.jst.jsp.outline.cssdialog.events.ChangeStyleListener;
@@ -94,7 +69,7 @@
public static final String ID = "org.jboss.tools.jst.jsp.outline.cssdialog.CSSClassDialog"; //$NON-NLS-1$
private static String notUsed = "not_used"; //$NON-NLS-1$
- private final static String[] fileExtensions = { Util.CSS_FILE_EXTENTION };
+// private final static String[] fileExtensions = { Util.CSS_FILE_EXTENTION };
private Composite browserContainer = null;
private Browser browser = null;
@@ -108,7 +83,7 @@
// css style classes
private Combo classCombo;
// combo box content assist
- private ContentAssistCommandAdapter contentAssistAdapter = null;
+// private ContentAssistCommandAdapter contentAssistAdapter = null;
// apply button
private Button applyButton;
@@ -126,7 +101,7 @@
private boolean styleChanged = false;
- private boolean keyInputSelector = false;
+// private boolean keyInputSelector = false;
// Status variables for the possible errors on this page.
// 1. timeStatus holds an error if CSS file is not specified
@@ -141,11 +116,11 @@
private final boolean callFromWizard;
// this job is used to correctly process change style class combo text with delay
- private UIJob uiJob = null;
+// private UIJob uiJob = null;
// the job name
- private String jobName = "Update CSS Composite"; //$NON-NLS-1$
- // delay for job in milliseconds
- private int delay = 1000;
+// private String jobName = "Update CSS Composite"; //$NON-NLS-1$
+// // delay for job in milliseconds
+// private int delay = 1000;
/**
* Constructor.
@@ -306,16 +281,16 @@
// add content assist to style COMBO component
SimpleContentProposalProvider proposalProvider = new SimpleContentProposalProvider(classCombo.getItems());
proposalProvider.setFiltering(true);
- contentAssistAdapter = new ContentAssistCommandAdapter(
- classCombo, new ComboContentAdapter(), proposalProvider, null, null, true);
- contentAssistAdapter.setProposalAcceptanceStyle(ContentProposalAdapter.PROPOSAL_REPLACE);
- contentAssistAdapter.addContentProposalListener(new IContentProposalListener() {
- public void proposalAccepted(IContentProposal proposal) {
- cssStyleClassChanged();
- applyButton.setEnabled(false);
- keyInputSelector = false;
- }
- });
+// contentAssistAdapter = new ContentAssistCommandAdapter(
+// classCombo, new ComboContentAdapter(), proposalProvider, null, null, true);
+// contentAssistAdapter.setProposalAcceptanceStyle(ContentProposalAdapter.PROPOSAL_REPLACE);
+// contentAssistAdapter.addContentProposalListener(new IContentProposalListener() {
+// public void proposalAccepted(IContentProposal proposal) {
+// cssStyleClassChanged();
+// applyButton.setEnabled(false);
+// keyInputSelector = false;
+// }
+// });
split.setWeights(new int[]{15, 85});
split.setLayoutData(new GridData(GridData.FILL, GridData.BEGINNING, true, true));
@@ -476,7 +451,7 @@
|| (currentClassStyle == null && classCombo.getText().trim().equals(Constants.EMPTY))) {
return;
}
- notifyStyleClassChanged();
+ cssStyleClassChanged();
applyButton.setEnabled(false);
}
});
@@ -522,42 +497,42 @@
// end select it
classCombo.select(classCombo.getItemCount() - 1);
}
- /**
- * This method is invoked to correctly process class style combo modify event.
- */
- private void notifyStyleClassChanged() {
- Display display = null;
- if (PlatformUI.isWorkbenchRunning()) {
- display = PlatformUI.getWorkbench().getDisplay();
- }
- if (display != null && (Thread.currentThread() == display.getThread())) {
- if (uiJob == null) {
- uiJob = new UIJob(jobName) {
- @Override
- public IStatus runInUIThread(IProgressMonitor monitor) {
- if (monitor.isCanceled()) {
- return Status.CANCEL_STATUS;
- }
- monitor.beginTask(jobName, IProgressMonitor.UNKNOWN);
+// /**
+// * This method is invoked to correctly process class style combo modify event.
+// */
+// private void notifyStyleClassChanged() {
+// Display display = null;
+// if (PlatformUI.isWorkbenchRunning()) {
+// display = PlatformUI.getWorkbench().getDisplay();
+// }
+// if (display != null && (Thread.currentThread() == display.getThread())) {
+// if (uiJob == null) {
+// uiJob = new UIJob(jobName) {
+// @Override
+// public IStatus runInUIThread(IProgressMonitor monitor) {
+// if (monitor.isCanceled()) {
+// return Status.CANCEL_STATUS;
+// }
+// monitor.beginTask(jobName, IProgressMonitor.UNKNOWN);
+//
+// // start operation
+// cssStyleClassChanged();
+// // end operation
+//
+// monitor.done();
+//
+// return Status.OK_STATUS;
+// }
+// };
+// }
+//
+// uiJob.setPriority(Job.SHORT);
+// uiJob.schedule(delay);
+//
+// return;
+// }
+// }
- // start operation
- cssStyleClassChanged();
- // end operation
-
- monitor.done();
-
- return Status.OK_STATUS;
- }
- };
- }
-
- uiJob.setPriority(Job.SHORT);
- uiJob.schedule(delay);
-
- return;
- }
- }
-
/**
* This method is used to create custom button panel.
*
@@ -945,13 +920,13 @@
}
}
}
- /**
- * Create a message string for user
- * @param currentFile
- * @return
- */
- private static final String getMessageForSaveDialog(IFile currentFile){
- String userMessage ="'" + currentFile.getFullPath().toOSString() + "' " + JstUIMessages.CSS_SAVE_DIALOG_MESSAGE; //$NON-NLS-1$//$NON-NLS-2$
- return userMessage;
- }
+// /**
+// * Create a message string for user
+// * @param currentFile
+// * @return
+// */
+// private static final String getMessageForSaveDialog(IFile currentFile){
+// String userMessage ="'" + currentFile.getFullPath().toOSString() + "' " + JstUIMessages.CSS_SAVE_DIALOG_MESSAGE; //$NON-NLS-1$//$NON-NLS-2$
+// return userMessage;
+// }
}
15 years, 9 months
JBoss Tools SVN: r13904 - in trunk/documentation/qa/reports: Tests and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: sdzmitrovich
Date: 2009-02-28 07:56:13 -0500 (Sat, 28 Feb 2009)
New Revision: 13904
Added:
trunk/documentation/qa/reports/Tests 02.28.2009/
trunk/documentation/qa/reports/Tests 02.28.2009/VPE Tests.htm
Log:
Added: trunk/documentation/qa/reports/Tests 02.28.2009/VPE Tests.htm
===================================================================
--- trunk/documentation/qa/reports/Tests 02.28.2009/VPE Tests.htm (rev 0)
+++ trunk/documentation/qa/reports/Tests 02.28.2009/VPE Tests.htm 2009-02-28 12:56:13 UTC (rev 13904)
@@ -0,0 +1,272 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML><HEAD><TITLE>Execution Report</TITLE>
+<STYLE>H1 {
+ COLOR: #4a5d75; FONT-FAMILY: 'Lucida Grande', Geneva, Verdana, Arial, sans-serif; BACKGROUND-COLOR: transparent
+}
+H2 {
+ COLOR: #4a5d75; FONT-FAMILY: 'Lucida Grande', Geneva, Verdana, Arial, sans-serif; BACKGROUND-COLOR: transparent
+}
+TR {
+ BACKGROUND-COLOR: #f5f5f5
+}
+TD {
+ BORDER-RIGHT: dimgray 1px solid; PADDING-RIGHT: 0.5em; BORDER-TOP: dimgray 1px solid; PADDING-LEFT: 0.5em; PADDING-BOTTOM: 0.15em; BORDER-LEFT: dimgray 1px solid; PADDING-TOP: 0.15em; BORDER-BOTTOM: dimgray 1px solid; FONT-FAMILY: 'Lucida Grande', Geneva, Verdana, Arial, sans-serif; BACKGROUND-COLOR: transparent
+}
+HR {
+ COLOR: #999; BORDER-COLLAPSE: collapse
+}
+BODY {
+ PADDING-RIGHT: 2em; PADDING-LEFT: 2em; FONT-SIZE: 12px; PADDING-BOTTOM: 0em; COLOR: #333; LINE-HEIGHT: 100%; PADDING-TOP: 0em; FONT-FAMILY: 'Lucida Grande', Geneva, Verdana, Arial, sans-serif; max-width: 55em
+}
+TABLE {
+ BORDER-RIGHT: dimgray 0px solid; BORDER-TOP: dimgray 0px solid; BORDER-LEFT: dimgray 0px solid; COLOR: #4a5d75; BORDER-BOTTOM: dimgray 0px solid; FONT-FAMILY: 'Lucida Grande', Geneva, Verdana, Arial, sans-serif
+}
+</STYLE>
+
+<META http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
+<META content="MSHTML 6.00.2900.2180" name=GENERATOR></HEAD>
+<BODY bgColor=#f5f5f5>
+<CENTER>
+<H1>Execution Report</H1>
+<TABLE
+style="BORDER-TOP-WIDTH: 1pt; BORDER-LEFT-WIDTH: 1pt; BORDER-BOTTOM-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"
+cellSpacing=0 cellPadding=4 width="100%" align=center>
+ <TBODY>
+ <TR bgColor=gray>
+ <TD><B> Test Name</B></TD>
+ <TD><B>Status</B></TD>
+ <TD><B>Exec Date</B></TD>
+ <TD><B>Bug Number</B></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> Change
+ Default Editor Tab</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">02/28/2009</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> Show
+ Border for Unknown Tags</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">02/28/2009</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> Promt
+ for Tag Attributes During Tag Insert</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">02/28/2009</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> Show
+ Resource Bundles Usage as EL expressions</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">02/28/2009</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> Show
+ Selection Tag Bar</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">02/28/2009</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> Always
+ Hide Selection Bar Without Promt</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">02/28/2009</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">Verification
+ of use CSS</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">02/28/2009</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">Default path
+ on the References to Resources</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">02/28/2009</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">Styles on
+ the page</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">02/28/2009</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> Included
+ tag libs</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">02/28/2009</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">
+ Substituted EL expressions</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">02/28/2009</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">
+ Minimize, maximize panes</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">02/28/2009</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> Editing
+ EL value</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">02/28/2009</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> EL value
+ manipulating</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">02/28/2009</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> Resizing
+ Preference dialog</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">02/28/2009</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> Equals
+ EL Values</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: red; BORDER-RIGHT-WIDTH: 1pt">Failed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">02/28/2009</TD>
+ <TD
+style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">JBIDE-3576</TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> Toolbar
+ tags selection</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">02/28/2009</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> Included
+ CSS files</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">02/28/2009</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> Test of
+ text selection</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">02/28/2009</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> Buttons
+ on VPE toolbar shouldnt became disabled</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">02/28/2009</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">Insert tag
+ into JSP file</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">02/28/2009</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">ShowHide
+ Palette groups</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">02/28/2009</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">Palette
+ editor</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">02/28/2009</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">Import tags
+ from TLD file</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">02/28/2009</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> DnD from
+ Palette into VPE</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">02/28/2009</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> DnD
+ picture into VPE</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">02/28/2009</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> DND
+ supporting for files</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">02/28/2009</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> Dnd from
+ palette into blank page</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">02/28/2009</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">[1]05. DND on
+ the page</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">02/28/2009</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white
+size=1> </FONT></TD></TR></TBODY></TABLE></CENTER></BODY></HTML>
15 years, 9 months
JBoss Tools SVN: r13902 - workspace/snjeza/portlet-examples.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2009-02-27 18:55:47 -0500 (Fri, 27 Feb 2009)
New Revision: 13902
Modified:
workspace/snjeza/portlet-examples/testjavaportlet.zip
workspace/snjeza/portlet-examples/testjsfportlet.zip
workspace/snjeza/portlet-examples/testseamportlet.zip
Log:
JBIDE-3852 Use Java Execution environment instead of specific JRE runtime name in project examples
Modified: workspace/snjeza/portlet-examples/testjavaportlet.zip
===================================================================
(Binary files differ)
Modified: workspace/snjeza/portlet-examples/testjsfportlet.zip
===================================================================
(Binary files differ)
Modified: workspace/snjeza/portlet-examples/testseamportlet.zip
===================================================================
(Binary files differ)
15 years, 9 months
JBoss Tools SVN: r13901 - workspace/snjeza/seam-examples.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2009-02-27 18:46:48 -0500 (Fri, 27 Feb 2009)
New Revision: 13901
Modified:
workspace/snjeza/seam-examples/booking-mavenized.zip
workspace/snjeza/seam-examples/bookingall.zip
workspace/snjeza/seam-examples/dvdstoreall.zip
workspace/snjeza/seam-examples/jboss-seam-jpa.zip
Log:
JBIDE-3852 Use Java Execution environment instead of specific JRE runtime name in project examples
Modified: workspace/snjeza/seam-examples/booking-mavenized.zip
===================================================================
(Binary files differ)
Modified: workspace/snjeza/seam-examples/bookingall.zip
===================================================================
(Binary files differ)
Modified: workspace/snjeza/seam-examples/dvdstoreall.zip
===================================================================
(Binary files differ)
Modified: workspace/snjeza/seam-examples/jboss-seam-jpa.zip
===================================================================
(Binary files differ)
15 years, 9 months
JBoss Tools SVN: r13900 - trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2009-02-27 16:50:49 -0500 (Fri, 27 Feb 2009)
New Revision: 13900
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JsfUiAllTests.java
Log:
enable Preference Pages Tests for JSF UI plug-in
Modified: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JsfUiAllTests.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JsfUiAllTests.java 2009-02-27 21:29:20 UTC (rev 13899)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JsfUiAllTests.java 2009-02-27 21:50:49 UTC (rev 13900)
@@ -31,6 +31,7 @@
suite.addTestSuite(JspFileNewWizardTest.class);
suite.addTestSuite(PropertiesNewWizardTest.class);
suite.addTestSuite(XhtmlFileNewWizardTest.class);
+ suite.addTestSuite(JsfUiPreferencesPagesTest.class);
return new TestWizardsProject(suite);
}
15 years, 9 months
JBoss Tools SVN: r13899 - branches.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2009-02-27 16:29:20 -0500 (Fri, 27 Feb 2009)
New Revision: 13899
Added:
branches/jbosstools-3.0.x/
Log:
branch to 3.0.x
Copied: branches/jbosstools-3.0.x (from rev 13898, trunk)
15 years, 9 months
JBoss Tools SVN: r13898 - in trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp: outline/cssdialog and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: mareshkau
Date: 2009-02-27 15:58:05 -0500 (Fri, 27 Feb 2009)
New Revision: 13898
Modified:
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/messages/JstUIMessages.java
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/messages/messages.properties
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/cssdialog/CSSClassDialog.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-3869
Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/messages/JstUIMessages.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/messages/JstUIMessages.java 2009-02-27 20:45:20 UTC (rev 13897)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/messages/JstUIMessages.java 2009-02-27 20:58:05 UTC (rev 13898)
@@ -101,4 +101,7 @@
public static String DEFAULT_PREVIEW_TEXT;
public static String DEFAULT_TEXT_FOR_BROWSER_PREVIEW;
public static String CSS_NO_EDITED_PROPERTIES;
+ public static String BUTTON_ADD_NEW_STYLE_CLASS;
+ public static String ENTER_CSS_CLASS_NAME;
+ public static String CSS_CLASS_NAME_NOT_VALID;
}
Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/messages/messages.properties
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/messages/messages.properties 2009-02-27 20:45:20 UTC (rev 13897)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/messages/messages.properties 2009-02-27 20:58:05 UTC (rev 13898)
@@ -24,6 +24,9 @@
FONT_FAMILY_DIALOG_TITLE=Choose font family
BUTTON_APPLY=Apply
BUTTON_CLEAR=Clear
+BUTTON_ADD_NEW_STYLE_CLASS=Add CSS Class
+ENTER_CSS_CLASS_NAME=Enter New CSS Class Name
+CSS_CLASS_NAME_NOT_VALID=CSS Class Name not valid
IMAGE_COMBO_TABLE_TOOL_TIP=Double click to select color
Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/cssdialog/CSSClassDialog.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/cssdialog/CSSClassDialog.java 2009-02-27 20:45:20 UTC (rev 13897)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/cssdialog/CSSClassDialog.java 2009-02-27 20:58:05 UTC (rev 13898)
@@ -25,6 +25,8 @@
import org.eclipse.core.runtime.Status;
import org.eclipse.core.runtime.jobs.Job;
import org.eclipse.jface.dialogs.IDialogConstants;
+import org.eclipse.jface.dialogs.IInputValidator;
+import org.eclipse.jface.dialogs.InputDialog;
import org.eclipse.jface.dialogs.TitleAreaDialog;
import org.eclipse.jface.fieldassist.ComboContentAdapter;
import org.eclipse.jface.fieldassist.ContentProposalAdapter;
@@ -325,11 +327,14 @@
Label label = new Label(parent, SWT.LEFT);
label.setLayoutData(new GridData(GridData.END, GridData.CENTER, false, false));
label.setText(JstUIMessages.CSS_CLASS_DIALOG_FILE_LABEL);
-
+
// Text field contains path to the CSS file
- text = new Text(parent, SWT.BORDER);
- text.setLayoutData(new GridData(GridData.FILL, GridData.CENTER, true, false));
- text.setEditable(false);
+ text = new Text(parent, SWT.BORDER|SWT.READ_ONLY);
+ GridData gridData =new GridData(GridData.FILL, GridData.CENTER, true, false);
+ gridData.grabExcessHorizontalSpace=true;
+ gridData.horizontalSpan=2;
+ text.setLayoutData(gridData);
+// text.setEditable(false);
text.addModifyListener(new ModifyListener() {
public void modifyText(ModifyEvent e) {
String cssFile = text.getText().trim();
@@ -345,79 +350,79 @@
}
});
- Button button = new Button(parent, SWT.PUSH);
- button.setLayoutData(new GridData(GridData.END, GridData.CENTER, false, false));
-
- ImageDescriptor imageDesc = JspEditorPlugin.getImageDescriptor(Constants.IMAGE_FOLDERLARGE_FILE_LOCATION);
- Image image = imageDesc.createImage();
- button.setImage(image);
- button.setToolTipText(JstUIMessages.CSS_BROWSE_BUTTON_TOOLTIP);
- button.addDisposeListener(new DisposeListener() {
- public void widgetDisposed(DisposeEvent e) {
- Button button = (Button) e.getSource();
- button.getImage().dispose();
- }
- });
- button.addSelectionListener(new SelectionAdapter() {
- public void widgetSelected(SelectionEvent event) {
-// IResource project = Util.getCurrentProject();
- IResource project = ResourcesPlugin.getWorkspace().getRoot();
-
- ElementTreeSelectionDialog dialog = new ElementTreeSelectionDialog(getShell(),
- new WorkbenchLabelProvider(), new BaseWorkbenchContentProvider());
- dialog.addFilter(new FileExtensionFilter(fileExtensions));
- dialog.setTitle(JstUIMessages.CSS_FILE_SELECT_DIALOG_TITLE);
- dialog.setMessage(JstUIMessages.CSS_FILE_SELECT_DIALOG_LABEL);
- dialog.setInput(project);
- dialog.setAllowMultiple(false);
- dialog.setDoubleClickSelects(false);
- if (currentFile != null) {
- dialog.setInitialSelection(currentFile);
- }
- dialog.setEmptyListMessage(JstUIMessages.CSS_FILE_SELECT_DIALOG_EMPTY_MESSAGE);
-
- if (dialog.open() == Window.OK) {
- IResource res = (IResource) dialog.getFirstResult();
- // make some important saving actions
- if (res instanceof IFile) {
- if (styleChanged && currentFile != null) {
- MessageBox messageBox = new MessageBox(getParentShell(), SWT.YES | SWT.NO | SWT.ICON_QUESTION);
- messageBox.setText(JstUIMessages.CSS_SAVE_DIALOG_TITLE);
- messageBox.setMessage(CSSClassDialog.getMessageForSaveDialog(currentFile));
- int result = messageBox.open();
- if (result == SWT.YES) {
- saveChanges(true);
- } else {
- updateStyleComposite();
- }
- }
- styleComposite.revertPreview();
- releaseResources();
-
- // open new CSS file and initialize dialog
- boolean useRelativePath = true;
- if (project instanceof IWorkspaceRoot) {
- useRelativePath = false;
- }
- boolean updateCSSModel = false;
- if (currentFile != null && !currentFile.equals(Constants.EMPTY)) {
- currentClassStyle = null;
- updateCSSModel = true;
- }
- currentFile = (IFile)res;
- initCSSModel(currentFile, useRelativePath, updateCSSModel);
- updateOKButtonState();
- applyButton.setEnabled(false);
- styleChanged = false;
-
- // update content assist proposals
- SimpleContentProposalProvider proposalProvider =
- (SimpleContentProposalProvider)contentAssistAdapter.getContentProposalProvider();
- proposalProvider.setProposals(classCombo.getItems());
- }
- }
- }
- });
+// Button button = new Button(parent, SWT.PUSH);
+// button.setLayoutData(new GridData(GridData.END, GridData.CENTER, false, false));
+//
+// ImageDescriptor imageDesc = JspEditorPlugin.getImageDescriptor(Constants.IMAGE_FOLDERLARGE_FILE_LOCATION);
+// Image image = imageDesc.createImage();
+// button.setImage(image);
+// button.setToolTipText(JstUIMessages.CSS_BROWSE_BUTTON_TOOLTIP);
+// button.addDisposeListener(new DisposeListener() {
+// public void widgetDisposed(DisposeEvent e) {
+// Button button = (Button) e.getSource();
+// button.getImage().dispose();
+// }
+// });
+// button.addSelectionListener(new SelectionAdapter() {
+// public void widgetSelected(SelectionEvent event) {
+//// IResource project = Util.getCurrentProject();
+// IResource project = ResourcesPlugin.getWorkspace().getRoot();
+//
+// ElementTreeSelectionDialog dialog = new ElementTreeSelectionDialog(getShell(),
+// new WorkbenchLabelProvider(), new BaseWorkbenchContentProvider());
+// dialog.addFilter(new FileExtensionFilter(fileExtensions));
+// dialog.setTitle(JstUIMessages.CSS_FILE_SELECT_DIALOG_TITLE);
+// dialog.setMessage(JstUIMessages.CSS_FILE_SELECT_DIALOG_LABEL);
+// dialog.setInput(project);
+// dialog.setAllowMultiple(false);
+// dialog.setDoubleClickSelects(false);
+// if (currentFile != null) {
+// dialog.setInitialSelection(currentFile);
+// }
+// dialog.setEmptyListMessage(JstUIMessages.CSS_FILE_SELECT_DIALOG_EMPTY_MESSAGE);
+//
+// if (dialog.open() == Window.OK) {
+// IResource res = (IResource) dialog.getFirstResult();
+// // make some important saving actions
+// if (res instanceof IFile) {
+// if (styleChanged && currentFile != null) {
+// MessageBox messageBox = new MessageBox(getParentShell(), SWT.YES | SWT.NO | SWT.ICON_QUESTION);
+// messageBox.setText(JstUIMessages.CSS_SAVE_DIALOG_TITLE);
+// messageBox.setMessage(CSSClassDialog.getMessageForSaveDialog(currentFile));
+// int result = messageBox.open();
+// if (result == SWT.YES) {
+// saveChanges(true);
+// } else {
+// updateStyleComposite();
+// }
+// }
+// styleComposite.revertPreview();
+// releaseResources();
+//
+// // open new CSS file and initialize dialog
+// boolean useRelativePath = true;
+// if (project instanceof IWorkspaceRoot) {
+// useRelativePath = false;
+// }
+// boolean updateCSSModel = false;
+// if (currentFile != null && !currentFile.equals(Constants.EMPTY)) {
+// currentClassStyle = null;
+// updateCSSModel = true;
+// }
+// currentFile = (IFile)res;
+// initCSSModel(currentFile, useRelativePath, updateCSSModel);
+// updateOKButtonState();
+// applyButton.setEnabled(false);
+// styleChanged = false;
+//
+// // update content assist proposals
+// SimpleContentProposalProvider proposalProvider =
+// (SimpleContentProposalProvider)contentAssistAdapter.getContentProposalProvider();
+// proposalProvider.setProposals(classCombo.getItems());
+// }
+// }
+// }
+// });
}
/**
@@ -425,35 +430,34 @@
*
* @param parent Composite component
*/
- private void createStyleClassCombo(Composite parent) {
+ private void createStyleClassCombo(final Composite parent) {
Label label = new Label(parent, SWT.LEFT);
label.setLayoutData(new GridData(GridData.END, GridData.CENTER, false, false));
label.setText(JstUIMessages.CSS_CLASS_DIALOG_STYLE_CLASS_LABEL);
GridData gridData = new GridData(GridData.FILL, GridData.CENTER, true, false);
- gridData.horizontalSpan = 2;
+ gridData.horizontalSpan = 1;
- classCombo = new Combo(parent, SWT.BORDER);
+ classCombo = new Combo(parent, SWT.BORDER|SWT.READ_ONLY);
classCombo.setLayoutData(gridData);
- classCombo.setEnabled(false);
// add selection listener
- classCombo.addSelectionListener(new SelectionAdapter() {
- public void widgetSelected(SelectionEvent e) {
- if (keyInputSelector) {
- keyInputSelector = false;
- if (currentClassStyle != null && classCombo.indexOf(currentClassStyle) != -1) {
- return;
- }
- }
- keyInputSelector = false;
- }
- });
+// classCombo.addSelectionListener(new SelectionAdapter() {
+// public void widgetSelected(SelectionEvent e) {
+// if (keyInputSelector) {
+// keyInputSelector = false;
+// if (currentClassStyle != null && classCombo.indexOf(currentClassStyle) != -1) {
+// return;
+// }
+// }
+// keyInputSelector = false;
+// }
+// });
// add key modified listener
- classCombo.addKeyListener(new KeyAdapter() {
- public void keyReleased(KeyEvent e) {
- keyInputSelector = true;
- }
- });
+// classCombo.addKeyListener(new KeyAdapter() {
+// public void keyReleased(KeyEvent e) {
+// keyInputSelector = true;
+// }
+// });
// this listener is responsible for processing dialog header message events
classCombo.addModifyListener(new ModifyListener() {
public void modifyText(ModifyEvent e) {
@@ -476,9 +480,49 @@
applyButton.setEnabled(false);
}
});
+ //creates a button for add new class
+ Button show = new Button(parent, SWT.PUSH);
+ show.setText(JstUIMessages.BUTTON_ADD_NEW_STYLE_CLASS);
+ show.addSelectionListener(new SelectionAdapter() {
+ public void widgetSelected(SelectionEvent event) {
+ InputDialog dlg = new InputDialog(parent.getShell(),
+ JstUIMessages.ENTER_CSS_CLASS_NAME, JstUIMessages.ENTER_CSS_CLASS_NAME, classCombo.getText(),
+ new IInputValidator(){
+ /**
+ * Simple validation of new CSS Class Name, now we just check that it's not empty string
+ */
+ public String isValid(String newText) {
+ if(newText==null || newText.trim().length()==0){
+ return JstUIMessages.CSS_CLASS_NAME_NOT_VALID;
+ }
+ return null;
+ }
+
+ });
+ if (dlg.open() == Window.OK) {
+ addNewStyleClass(dlg.getValue().trim());
+ }
+ }
+ });
}
-
/**
+ * Add New Class to CSS Class Dialog
+ * @param styleClassName - name of new style class
+ */
+ protected void addNewStyleClass(String styleClassName) {
+ applyButton.setEnabled(true);
+ styleChanged = true;
+ currentClassStyle = styleClassName;
+ updateStyleComposite();
+ styleAttributes.setCssSelector(currentClassStyle);
+ styleComposite.updatePreview(currentClassStyle);
+ updateOKButtonState();
+ // add new class to end of list
+ classCombo.add(currentClassStyle);
+ // end select it
+ classCombo.select(classCombo.getItemCount() - 1);
+ }
+ /**
* This method is invoked to correctly process class style combo modify event.
*/
private void notifyStyleClassChanged() {
15 years, 9 months
JBoss Tools SVN: r13897 - in trunk: birt/plugins/org.jboss.tools.birt.oda.ui and 11 other directories.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2009-02-27 15:45:20 -0500 (Fri, 27 Feb 2009)
New Revision: 13897
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jboss_about.png
trunk/birt/plugins/org.jboss.tools.birt.oda.ui/jboss_about.png
trunk/esb/plugins/org.jboss.tools.esb.ui/jboss_about.png
trunk/examples/plugins/org.jboss.tools.project.examples/jboss_about.png
trunk/freemarker/plugins/org.jboss.ide.eclipse.freemarker/jboss_about.png
trunk/jbpm/plugins/org.jboss.tools.jbpm.convert/jboss_about.png
trunk/jmx/plugins/org.jboss.tools.jmx.ui/jboss_about.png
trunk/portlet/plugins/org.jboss.tools.portlet.ui/jboss_about.png
trunk/smooks/plugins/org.jboss.tools.smooks.ui/jboss_about.png
trunk/struts/plugins/org.jboss.tools.struts.ui/jboss_about.png
trunk/tptp/plugins/org.jboss.tools.eclipse.as.tptp/jboss_about.png
trunk/vpe/plugins/org.jboss.tools.xulrunner.initializer/jboss_about.png
trunk/ws/plugins/org.jboss.tools.ws.ui/jboss_about.png
Log:
JBIDE-3240 newer version from James
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jboss_about.png
===================================================================
(Binary files differ)
Modified: trunk/birt/plugins/org.jboss.tools.birt.oda.ui/jboss_about.png
===================================================================
(Binary files differ)
Modified: trunk/esb/plugins/org.jboss.tools.esb.ui/jboss_about.png
===================================================================
(Binary files differ)
Modified: trunk/examples/plugins/org.jboss.tools.project.examples/jboss_about.png
===================================================================
(Binary files differ)
Modified: trunk/freemarker/plugins/org.jboss.ide.eclipse.freemarker/jboss_about.png
===================================================================
(Binary files differ)
Modified: trunk/jbpm/plugins/org.jboss.tools.jbpm.convert/jboss_about.png
===================================================================
(Binary files differ)
Modified: trunk/jmx/plugins/org.jboss.tools.jmx.ui/jboss_about.png
===================================================================
(Binary files differ)
Modified: trunk/portlet/plugins/org.jboss.tools.portlet.ui/jboss_about.png
===================================================================
(Binary files differ)
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/jboss_about.png
===================================================================
(Binary files differ)
Modified: trunk/struts/plugins/org.jboss.tools.struts.ui/jboss_about.png
===================================================================
(Binary files differ)
Modified: trunk/tptp/plugins/org.jboss.tools.eclipse.as.tptp/jboss_about.png
===================================================================
(Binary files differ)
Modified: trunk/vpe/plugins/org.jboss.tools.xulrunner.initializer/jboss_about.png
===================================================================
(Binary files differ)
Modified: trunk/ws/plugins/org.jboss.tools.ws.ui/jboss_about.png
===================================================================
(Binary files differ)
15 years, 9 months
JBoss Tools SVN: r13896 - in trunk/documentation/qa/reports: Tests and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: sdzmitrovich
Date: 2009-02-27 14:17:57 -0500 (Fri, 27 Feb 2009)
New Revision: 13896
Added:
trunk/documentation/qa/reports/Tests 02.27.2009/
trunk/documentation/qa/reports/Tests 02.27.2009/VPE Tests.htm
Log:
Added: trunk/documentation/qa/reports/Tests 02.27.2009/VPE Tests.htm
===================================================================
--- trunk/documentation/qa/reports/Tests 02.27.2009/VPE Tests.htm (rev 0)
+++ trunk/documentation/qa/reports/Tests 02.27.2009/VPE Tests.htm 2009-02-27 19:17:57 UTC (rev 13896)
@@ -0,0 +1,88 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML><HEAD><TITLE>Execution Report</TITLE>
+<STYLE>H1 {
+ COLOR: #4a5d75; FONT-FAMILY: 'Lucida Grande', Geneva, Verdana, Arial, sans-serif; BACKGROUND-COLOR: transparent
+}
+H2 {
+ COLOR: #4a5d75; FONT-FAMILY: 'Lucida Grande', Geneva, Verdana, Arial, sans-serif; BACKGROUND-COLOR: transparent
+}
+TR {
+ BACKGROUND-COLOR: #f5f5f5
+}
+TD {
+ BORDER-RIGHT: dimgray 1px solid; PADDING-RIGHT: 0.5em; BORDER-TOP: dimgray 1px solid; PADDING-LEFT: 0.5em; PADDING-BOTTOM: 0.15em; BORDER-LEFT: dimgray 1px solid; PADDING-TOP: 0.15em; BORDER-BOTTOM: dimgray 1px solid; FONT-FAMILY: 'Lucida Grande', Geneva, Verdana, Arial, sans-serif; BACKGROUND-COLOR: transparent
+}
+HR {
+ COLOR: #999; BORDER-COLLAPSE: collapse
+}
+BODY {
+ PADDING-RIGHT: 2em; PADDING-LEFT: 2em; FONT-SIZE: 12px; PADDING-BOTTOM: 0em; COLOR: #333; LINE-HEIGHT: 100%; PADDING-TOP: 0em; FONT-FAMILY: 'Lucida Grande', Geneva, Verdana, Arial, sans-serif; max-width: 55em
+}
+TABLE {
+ BORDER-RIGHT: dimgray 0px solid; BORDER-TOP: dimgray 0px solid; BORDER-LEFT: dimgray 0px solid; COLOR: #4a5d75; BORDER-BOTTOM: dimgray 0px solid; FONT-FAMILY: 'Lucida Grande', Geneva, Verdana, Arial, sans-serif
+}
+</STYLE>
+
+<META http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
+<META content="MSHTML 6.00.2900.2180" name=GENERATOR></HEAD>
+<BODY bgColor=#f5f5f5>
+<CENTER>
+<H1>Execution Report</H1>
+<TABLE
+style="BORDER-TOP-WIDTH: 1pt; BORDER-LEFT-WIDTH: 1pt; BORDER-BOTTOM-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"
+cellSpacing=0 cellPadding=4 width="100%" align=center>
+ <TBODY>
+ <TR bgColor=gray>
+ <TD><B> Test Name</B></TD>
+ <TD><B>Status</B></TD>
+ <TD><B>Exec Date</B></TD>
+ <TD><B>Bug Number</B></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> Menu
+ appearance</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">02/27/2009</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> Menu
+ Content</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">02/27/2009</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> Insert
+ actions</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: red; BORDER-RIGHT-WIDTH: 1pt">Failed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">02/27/2009</TD>
+ <TD
+style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">JBIDE-3888</TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> Undo
+ (Ctrl+Z) operations</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">02/27/2009</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> Replace
+ with</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">02/27/2009</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> Taglib
+ appearing</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: red; BORDER-RIGHT-WIDTH: 1pt">Failed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">02/27/2009</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">JBIDE-3890<FONT
+ color=white
+size=1> </FONT></TD></TR></TBODY></TABLE></CENTER></BODY></HTML>
\ No newline at end of file
15 years, 9 months
JBoss Tools SVN: r13895 - trunk/esb/docs/esb_ref_guide/en/modules.
by jbosstools-commits@lists.jboss.org
Author: abogachuk
Date: 2009-02-27 12:53:19 -0500 (Fri, 27 Feb 2009)
New Revision: 13895
Modified:
trunk/esb/docs/esb_ref_guide/en/modules/esb_editor.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-600 - XML schema details added.
Modified: trunk/esb/docs/esb_ref_guide/en/modules/esb_editor.xml
===================================================================
--- trunk/esb/docs/esb_ref_guide/en/modules/esb_editor.xml 2009-02-27 17:52:07 UTC (rev 13894)
+++ trunk/esb/docs/esb_ref_guide/en/modules/esb_editor.xml 2009-02-27 17:53:19 UTC (rev 13895)
@@ -185,7 +185,10 @@
<title>Support for XML Schema</title>
<para>JBoss ESB Framework fully <link linkend="sourceView">supports XML files based on
- schemas as well as DTDs</link>.</para>
+ schemas as well as DTDs</link>.</para>
+ <note><title>Note:</title>
+ <para>The schema used behind ESB editor now uses the latest version available (from SOA-P 4.3). This removes the errors/warnings some users have reported seeing when using SOA-P specific esb.xml files.</para> </note>
+
</section>
<!--<section id="OpenOnSelection">
15 years, 9 months