Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorafinkbein2008-10-27 23:45:41 +0000
committerafinkbein2008-10-27 23:45:41 +0000
commit06d8bfbf58ac3ef534579b12c471cb846f9ccd0b (patch)
tree51a4b1eedc7225e1d3ca3af5a59f58f6d672d519 /org.eclipse.osee.framework.ui.skynet
parentf891c2568006c74406b9f23582cd59ad04306942 (diff)
downloadorg.eclipse.osee-06d8bfbf58ac3ef534579b12c471cb846f9ccd0b.tar.gz
org.eclipse.osee-06d8bfbf58ac3ef534579b12c471cb846f9ccd0b.tar.xz
org.eclipse.osee-06d8bfbf58ac3ef534579b12c471cb846f9ccd0b.zip
TIS rendering fix
Diffstat (limited to 'org.eclipse.osee.framework.ui.skynet')
-rw-r--r--org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/render/word/template/WordAttributeTypeAttributeHandler.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/render/word/template/WordAttributeTypeAttributeHandler.java b/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/render/word/template/WordAttributeTypeAttributeHandler.java
index b13d17ad83d..038e8be1ce4 100644
--- a/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/render/word/template/WordAttributeTypeAttributeHandler.java
+++ b/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/render/word/template/WordAttributeTypeAttributeHandler.java
@@ -57,6 +57,8 @@ public final class WordAttributeTypeAttributeHandler implements ITemplateAttribu
*/
@Override
public boolean canHandle(Artifact artifact, TemplateAttribute attribute) throws OseeCoreException {
- return artifact.isAttributeTypeValid(WordAttribute.WORD_TEMPLATE_CONTENT);
+ boolean goodAttributeType = attribute.getName().equals(WordAttribute.WORD_TEMPLATE_CONTENT);
+ boolean goodArtifact = artifact.isAttributeTypeValid(WordAttribute.WORD_TEMPLATE_CONTENT);
+ return goodAttributeType && goodArtifact;
}
} \ No newline at end of file

Back to the top