X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.image.ui%2Fsrc%2Forg%2Fsimantics%2Fimage%2Fui%2FmodelBrowser%2FImagesNode.java;h=3c266951f8499645827c85e84a25301c7cd507be;hb=1f2aad0097f93133625811b91c08d0f1b6d31c79;hp=0b29594eb8fede9ed1249deadef2be0fecb4ef5b;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.image.ui/src/org/simantics/image/ui/modelBrowser/ImagesNode.java b/bundles/org.simantics.image.ui/src/org/simantics/image/ui/modelBrowser/ImagesNode.java index 0b29594eb..3c266951f 100644 --- a/bundles/org.simantics.image.ui/src/org/simantics/image/ui/modelBrowser/ImagesNode.java +++ b/bundles/org.simantics.image.ui/src/org/simantics/image/ui/modelBrowser/ImagesNode.java @@ -1,33 +1,33 @@ -/******************************************************************************* - * Copyright (c) 2007, 2010 Association for Decentralized Information Management - * in Industry THTH ry. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * VTT Technical Research Centre of Finland - initial API and implementation - *******************************************************************************/ -package org.simantics.image.ui.modelBrowser; - -import org.simantics.browsing.ui.common.node.AbstractNode; -import org.simantics.db.Resource; - -/** - * @author Tuukka Lehtonen - */ -public class ImagesNode extends AbstractNode { - - public ImagesNode(Resource resource) { - super(resource); - } - - @SuppressWarnings("rawtypes") - @Override - public Object getAdapter(Class adapter) { - if(clazz == adapter) // There is no resource for this node.. - return null; - return super.getAdapter(adapter); - } -} +/******************************************************************************* + * Copyright (c) 2007, 2010 Association for Decentralized Information Management + * in Industry THTH ry. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * VTT Technical Research Centre of Finland - initial API and implementation + *******************************************************************************/ +package org.simantics.image.ui.modelBrowser; + +import org.simantics.browsing.ui.common.node.AbstractNode; +import org.simantics.db.Resource; + +/** + * @author Tuukka Lehtonen + */ +public class ImagesNode extends AbstractNode { + + public ImagesNode(Resource resource) { + super(resource); + } + + @SuppressWarnings("rawtypes") + @Override + public Object getAdapter(Class adapter) { + if(clazz == adapter) // There is no resource for this node.. + return null; + return super.getAdapter(adapter); + } +}