Author: dazarov
Date: 2011-07-06 13:57:44 -0400 (Wed, 06 Jul 2011)
New Revision: 32668
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/web/validation/jsf2/action/JSF2CompositeAttrsProposal.java
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/web/validation/jsf2/action/JSF2CompositeComponentProposal.java
Log:
https://issues.jboss.org/browse/JBIDE-9209
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/web/validation/jsf2/action/JSF2CompositeAttrsProposal.java
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/web/validation/jsf2/action/JSF2CompositeAttrsProposal.java 2011-07-06
17:43:42 UTC (rev 32667)
+++
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/web/validation/jsf2/action/JSF2CompositeAttrsProposal.java 2011-07-06
17:57:44 UTC (rev 32668)
@@ -21,7 +21,9 @@
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.core.runtime.Path;
+import org.eclipse.swt.graphics.Image;
import org.eclipse.ui.IMarkerResolution;
+import org.eclipse.ui.IMarkerResolution2;
import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.ide.IDE;
import org.jboss.tools.jsf.JSFModelPlugin;
@@ -36,7 +38,7 @@
*
*/
-public class JSF2CompositeAttrsProposal implements IMarkerResolution {
+public class JSF2CompositeAttrsProposal implements IMarkerResolution2 {
private IResource resource;
private String componentPath = null;
private String[] attrs = null;
@@ -72,4 +74,14 @@
}
}
+ @Override
+ public String getDescription() {
+ return getLabel();
+ }
+
+ @Override
+ public Image getImage() {
+ return null;
+ }
+
}
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/web/validation/jsf2/action/JSF2CompositeComponentProposal.java
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/web/validation/jsf2/action/JSF2CompositeComponentProposal.java 2011-07-06
17:43:42 UTC (rev 32667)
+++
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/web/validation/jsf2/action/JSF2CompositeComponentProposal.java 2011-07-06
17:57:44 UTC (rev 32668)
@@ -20,7 +20,9 @@
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.core.runtime.Path;
+import org.eclipse.swt.graphics.Image;
import org.eclipse.ui.IMarkerResolution;
+import org.eclipse.ui.IMarkerResolution2;
import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.ide.IDE;
import org.jboss.tools.jsf.JSFModelPlugin;
@@ -33,7 +35,7 @@
*
*/
-public class JSF2CompositeComponentProposal implements IMarkerResolution {
+public class JSF2CompositeComponentProposal implements IMarkerResolution2 {
private IResource resource;
private String componentPath = null;
private String[] attrs = null;
@@ -67,4 +69,14 @@
}
}
+ @Override
+ public String getDescription() {
+ return getLabel();
+ }
+
+ @Override
+ public Image getImage() {
+ return null;
+ }
+
}