Author: yzhishko
Date: 2010-03-05 09:53:25 -0500 (Fri, 05 Mar 2010)
New Revision: 20686
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/cssselector/CSSSelectorPartComposite.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-3288 tooltips for buttons are changed to
correct.
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 2010-03-05
14:41:13 UTC (rev 20685)
+++
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/messages/JstUIMessages.java 2010-03-05
14:53:25 UTC (rev 20686)
@@ -116,4 +116,6 @@
public static String JSPDialogContentProposalProvider_NewELExpression;
public static String PROPERTY_NAME_COLUMN;
public static String PROPERTY_VALUE_COLUMN;
+ public static String CSS_ADD_CSS_CLASS_TIP;
+ public static String CSS_REMOVE_CSS_CLASS_TIP;
}
\ No newline at end of file
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 2010-03-05
14:41:13 UTC (rev 20685)
+++
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/messages/messages.properties 2010-03-05
14:53:25 UTC (rev 20686)
@@ -6,6 +6,8 @@
CSS_EMPTY_FILE_PATH_MESSAGE=Choose any CSS file
CSS_EMPTY_STYLE_CLASS_MESSAGE=Style class field is empty
CSS_INVALID_STYLE_PROPERTY=Invalid Style class property has been entered.
+CSS_ADD_CSS_CLASS_TIP=Add CSS class
+CSS_REMOVE_CSS_CLASS_TIP=Remove CSS class
#CSS_SAVE_DIALOG_TITLE=Save CSS file
CSS_CLASS_DIALOG_FILE_LABEL=CSS file:
Modified:
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/cssdialog/cssselector/CSSSelectorPartComposite.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/cssdialog/cssselector/CSSSelectorPartComposite.java 2010-03-05
14:41:13 UTC (rev 20685)
+++
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/cssdialog/cssselector/CSSSelectorPartComposite.java 2010-03-05
14:53:25 UTC (rev 20686)
@@ -233,7 +233,7 @@
leftButton = new Button(buttonsContainer, SWT.PUSH);
selectedClassesTableViewer = new CSSSelectorTableViewer(this, SWT.MULTI
| SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL);
- rightButton.setToolTipText(JstUIMessages.ADD_FONT_FAMILY_TIP);
+ rightButton.setToolTipText(JstUIMessages.CSS_ADD_CSS_CLASS_TIP);
ImageDescriptor rightDesc = JspEditorPlugin
.getImageDescriptor(Constants.IMAGE_RIGHT_FILE_LOCATION);
Image rightImage = rightDesc.createImage();
@@ -246,7 +246,7 @@
}
});
- leftButton.setToolTipText(JstUIMessages.REMOVE_FONT_FAMILY_TIP);
+ leftButton.setToolTipText(JstUIMessages.CSS_REMOVE_CSS_CLASS_TIP);
ImageDescriptor leftDesc = JspEditorPlugin
.getImageDescriptor(Constants.IMAGE_LEFT_FILE_LOCATION);