~ubuntu-branches/ubuntu/trusty/netbeans/trusty

« back to all changes in this revision

Viewing changes to languages/scala/core/src/org/netbeans/modules/scala/core/ScalaDataNode.java

  • Committer: Bazaar Package Importer
  • Author(s): Marek Slama
  • Date: 2008-01-29 14:11:22 UTC
  • Revision ID: james.westby@ubuntu.com-20080129141122-fnzjbo11ntghxfu7
Tags: upstream-6.0.1
ImportĀ upstreamĀ versionĀ 6.0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package org.netbeans.modules.scala.core;
 
2
 
 
3
import org.openide.loaders.DataNode;
 
4
import org.openide.nodes.Children;
 
5
 
 
6
public class ScalaDataNode extends DataNode {
 
7
    
 
8
    private static final String IMAGE_ICON_BASE = "org/netbeans/modules/scala/core/resources/class.png";
 
9
    
 
10
    public ScalaDataNode(final ScalaDataObject obj) {
 
11
        super(obj, Children.LEAF);
 
12
        setIconBaseWithExtension(IMAGE_ICON_BASE);
 
13
    }
 
14
    
 
15
}