~fredericp/zaluum/rt

« back to all changes in this revision

Viewing changes to org.zaluum.ide.editor/src/org/zaluum/ide/editor/ModelPaletteFactory.java

  • Committer: Frederic Perez Ordeig
  • Date: 2010-04-07 07:55:38 UTC
  • mfrom: (308.1.63 wip-scala)
  • Revision ID: frederic@zaluum.com-20100407075538-muaneuoz134fqu5o
merged

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
import org.zaluum.ide.util.Activator;
38
38
import org.zaluum.model.ComposedBox;
39
39
import org.zaluum.model.Port;
40
 
import org.zaluum.model.StickyNote;
41
40
import org.zaluum.model.Wire;
42
41
import org.zaluum.model.basicbox.ConstBox;
43
42
import org.zaluum.model.basicbox.InstanceBox;
91
90
                toolbar.add(tool);
92
91
                palette.setDefaultEntry(tool);
93
92
                toolbar.add(new MarqueeToolEntry());
94
 
                CreationToolEntry stickyEntry = new CreationToolEntry("Sticky Note",
 
93
                /*CreationToolEntry stickyEntry = new CreationToolEntry("Sticky Note",
95
94
                                "This show a note", new CreationFactory() {
96
95
                                        public Object getObjectType() {
97
96
                                                return StickyNote.class;
105
104
                                                Icons.class, "stickynote_32.png"));
106
105
                stickyEntry.setToolProperty(AbstractTool.PROPERTY_UNLOAD_WHEN_FINISHED,
107
106
                                true);
108
 
                toolbar.add(stickyEntry);
 
107
                toolbar.add(stickyEntry);*/
109
108
                return toolbar;
110
109
        }
111
110
 
121
120
                componentsDrawer.add(newTool("Constant Box", "A constant output box",
122
121
                                "const", ConstBox.class, Icons.class));
123
122
                componentsDrawer.add(newTool("Value Box",
124
 
                                "Reads or writes values from external device", "remote",
 
123
                                "Reads or writes values from external device", "value",
125
124
                                ValueBox.class, Icons.class));
126
125
                return componentsDrawer;
127
126