~haakan/do-plugins/sshfix

« back to all changes in this revision

Viewing changes to Cl.ickable/src/ClickableItemSource.cs

  • Committer: David Siegel
  • Date: 2008-09-04 21:44:55 UTC
  • Revision ID: david@david-desktop-20080904214455-r1o7exxrj4oxll25
Added Cl.ickable plugin.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// ClickableItemSource.cs
 
2
// 
 
3
// Copyright (C) 2008 Idealab
 
4
//
 
5
// This program is free software: you can redistribute it and/or modify
 
6
// it under the terms of the GNU General Public License as published by
 
7
// the Free Software Foundation, either version 3 of the License, or
 
8
// (at your option) any later version.
 
9
//
 
10
// This program is distributed in the hope that it will be useful,
 
11
// but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
// GNU General Public License for more details.
 
14
//
 
15
// You should have received a copy of the GNU General Public License
 
16
// along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
17
//
 
18
 
 
19
using System;
 
20
using System.Collections.Generic;
 
21
using Mono.Unix;
 
22
 
 
23
using Do.Addins;
 
24
using Do.Universe;
 
25
 
 
26
namespace Cl.ickable
 
27
{
 
28
        public class ClickableItemSource : AbstractItemSource
 
29
        {
 
30
                
 
31
                public override string Name {
 
32
                        get { return Catalog.GetString ("Cl.ickable Items"); }
 
33
                }
 
34
                
 
35
                public override string Description { 
 
36
                        get { return Catalog.GetString ("Usefull Cl.ickable Items"); }
 
37
                }
 
38
                
 
39
                public override string Icon {
 
40
                        get { return "www"; }
 
41
                }
 
42
 
 
43
                public override Type[] SupportedItemTypes
 
44
                {
 
45
                        get {
 
46
                                return new Type[] {
 
47
                                        typeof (IItem),
 
48
                                };
 
49
                        }
 
50
                }
 
51
 
 
52
                public override ICollection<IItem> Items
 
53
                {
 
54
                        get {
 
55
                                return new IItem[] {
 
56
                                        new WebClipsItem (),
 
57
                                };
 
58
                        }
 
59
                }
 
60
 
 
61
        }
 
62
}