~ubuntu-branches/ubuntu/oneiric/monodevelop/oneiric-updates

« back to all changes in this revision

Viewing changes to src/addins/MonoDevelop.Autotools/MakefileIntegrationFeature.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2009-02-18 08:40:51 UTC
  • mfrom: (1.2.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090218084051-gh8m6ukvokbwj7cf
Tags: 1.9.2+dfsg-1ubuntu1
* Merge from Debian Experimental (LP: #330519), remaining Ubuntu changes:
  + debian/control:
    - Update for Gnome# 2.24
    - Add libmono-cairo1.0-cil to build-deps to fool pkg-config check

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 
8
8
namespace MonoDevelop.Autotools
9
9
{
10
 
        class MakefileIntegrationFeature: ICombineEntryFeature
 
10
        class MakefileIntegrationFeature: ISolutionItemFeature
11
11
        {
12
12
                public string Title {
13
13
                        get { return GettextCatalog.GetString ("Makefile Integration"); }
17
17
                        get { return string.Empty; }
18
18
                }
19
19
 
20
 
                public bool SupportsCombineEntry (Combine parentCombine, CombineEntry entry)
 
20
                public bool SupportsSolutionItem (SolutionFolder parentCombine, SolutionItem entry)
21
21
                {
22
22
                        return entry is Project;
23
23
                }
24
24
                
25
 
                public Widget CreateFeatureEditor (Combine parentCombine, CombineEntry entry)
 
25
                public Widget CreateFeatureEditor (SolutionFolder parentCombine, SolutionItem entry)
26
26
                {
27
27
                        return new MakefileIntegrationFeatureWidget ((Project)entry);
28
28
                }
29
29
 
30
 
                public void ApplyFeature (Combine parentCombine, CombineEntry entry, Widget editor)
 
30
                public void ApplyFeature (SolutionFolder parentCombine, SolutionItem entry, Widget editor)
31
31
                {
32
32
                        ((MakefileIntegrationFeatureWidget)editor).Store ();
33
33
                }
34
34
                
35
 
                public string Validate (Combine parentCombine, CombineEntry entry, Gtk.Widget editor)
 
35
                public string Validate (SolutionFolder parentCombine, SolutionItem entry, Gtk.Widget editor)
36
36
                {
37
37
                        return null;
38
38
                }
39
39
                
40
 
                public bool IsEnabled (Combine parentCombine, CombineEntry entry) 
 
40
                public bool IsEnabled (SolutionFolder parentCombine, SolutionItem entry) 
41
41
                {
42
42
                        return false;
43
43
                }