summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpschonbac2009-02-22 13:04:06 (EST)
committer pschonbac2009-02-22 13:04:06 (EST)
commitd165193875237d3de019962c486e5eb8ad32aa55 (patch)
treee61dc53e86e53defe5b2f990dda0d0d81b7d4efb
parent168ee03ffefced4beafe2fb6d6a6bd05d137e63f (diff)
downloadorg.eclipse.xpand-d165193875237d3de019962c486e5eb8ad32aa55.zip
org.eclipse.xpand-d165193875237d3de019962c486e5eb8ad32aa55.tar.gz
org.eclipse.xpand-d165193875237d3de019962c486e5eb8ad32aa55.tar.bz2
Comments fixed
-rw-r--r--plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/expression/debug/NoResourceSpecial.java18
-rw-r--r--plugins/org.eclipse.xtend/src/org/eclipse/xtend/check/CheckComponent.java4
-rw-r--r--plugins/org.eclipse.xtend/src/org/eclipse/xtend/expression/AbstractExpressionsUsingWorkflowAdvice.java4
3 files changed, 16 insertions, 10 deletions
diff --git a/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/expression/debug/NoResourceSpecial.java b/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/expression/debug/NoResourceSpecial.java
index 94ad4a3..054aa21 100644
--- a/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/expression/debug/NoResourceSpecial.java
+++ b/plugins/org.eclipse.xtend/src/org/eclipse/internal/xtend/expression/debug/NoResourceSpecial.java
@@ -15,16 +15,19 @@ import org.eclipse.emf.mwe.core.debug.processing.EventHandler;
import org.eclipse.xtend.expression.ExecutionContext;
/**
- * Adapter to handle statements that don't have an associated resource. (mainly the initial one)
+ * Adapter to handle statements that don't have an associated resource. (mainly
+ * the initial one)
*
* @author Clemens Kadura (zAJKa)
*/
public class NoResourceSpecial extends BaseSpecialTreatment {
/**
- * Don't suspend for normal frame, if the element has no resource (virtual ones)
+ * Don't suspend for normal frame, if the element has no resource (virtual
+ * ones)
*
- * @see org.eclipse.internal.xtend.expression.debug.BaseSpecialTreatment#shallNotSuspend(java.lang.Object, int)
+ * @see org.eclipse.internal.xtend.expression.debug.BaseSpecialTreatment#shallNotSuspend(java.lang.Object,
+ * int, org.eclipse.xtend.expression.ExecutionContext)
*/
@Override
public boolean shallNotSuspend(Object element, int flag, ExecutionContext ctx) {
@@ -32,21 +35,24 @@ public class NoResourceSpecial extends BaseSpecialTreatment {
}
/**
- * Don't show frame in Launch view, if the element has no resource (virtual ones)
+ * Don't show frame in Launch view, if the element has no resource (virtual
+ * ones)
*
* @see org.eclipse.internal.xtend.expression.debug.BaseSpecialTreatment#adaptSyntaxElementTO(org.eclipse.internal.xtend.debug.model.SyntaxElement,
* java.lang.Object)
*/
@Override
public void adaptSyntaxElement(SyntaxElement to, Object element) {
- if (!hasResource(element))
+ if (!hasResource(element)) {
to.visible = false;
+ }
}
// -------------------------------------------------------------------------
private boolean hasResource(Object element) {
- return getClass().getResource("/" + ((org.eclipse.internal.xtend.expression.ast.SyntaxElement) element).getFileName()) != null;
+ return getClass().getResource(
+ "/" + ((org.eclipse.internal.xtend.expression.ast.SyntaxElement) element).getFileName()) != null;
}
}
diff --git a/plugins/org.eclipse.xtend/src/org/eclipse/xtend/check/CheckComponent.java b/plugins/org.eclipse.xtend/src/org/eclipse/xtend/check/CheckComponent.java
index c2ed7e1..784765b 100644
--- a/plugins/org.eclipse.xtend/src/org/eclipse/xtend/check/CheckComponent.java
+++ b/plugins/org.eclipse.xtend/src/org/eclipse/xtend/check/CheckComponent.java
@@ -98,7 +98,7 @@ public class CheckComponent extends AbstractExpressionsUsingWorkflowComponent {
}
/**
- * @see org.eclipse.workflow.lib.AbstractWorkflowComponent#getLogMessage()
+ * @see org.eclipse.emf.mwe.workflow.lib.AbstractWorkflowComponent#getLogMessage()
*/
@Override
public String getLogMessage() {
@@ -117,7 +117,7 @@ public class CheckComponent extends AbstractExpressionsUsingWorkflowComponent {
}
/**
- * @see org.eclipse.workflow.WorkflowComponent#getComponentName()
+ * @see org.eclipse.emf.mwe.workflow.WorkflowComponent#getComponentName()
*/
public String getComponentName() {
return COMPONENT_NAME;
diff --git a/plugins/org.eclipse.xtend/src/org/eclipse/xtend/expression/AbstractExpressionsUsingWorkflowAdvice.java b/plugins/org.eclipse.xtend/src/org/eclipse/xtend/expression/AbstractExpressionsUsingWorkflowAdvice.java
index 2420174..56a2308 100644
--- a/plugins/org.eclipse.xtend/src/org/eclipse/xtend/expression/AbstractExpressionsUsingWorkflowAdvice.java
+++ b/plugins/org.eclipse.xtend/src/org/eclipse/xtend/expression/AbstractExpressionsUsingWorkflowAdvice.java
@@ -52,8 +52,8 @@ public abstract class AbstractExpressionsUsingWorkflowAdvice extends AbstractWor
}
/**
- * @see org.eclipse.workflow.ao.AbstractWorkflowAdvice#weave(org.eclipse.workflow.WorkflowComponent,
- * org.eclipse.workflow.issues.Issues)
+ * @see org.eclipse.emf.mwe.workflow.ao.AbstractWorkflowAdvice#weave(org.eclipse.emf.mwe.workflow.WorkflowComponent,
+ * org.eclipse.emf.mwe.workflow.issues.Issues)
*/
@Override
public void weave(WorkflowComponent c, Issues issues) {