[Bug 1864537] [NEW] GLMCompositePresentation did not understand #wrapper

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 1864537] [NEW] GLMCompositePresentation did not understand #wrapper

Hliaire Fernandes
Administrator
Public bug reported:

When the user wants to edit a script and when clicking on a script there
is this error.

The method methodsIn: contains a lot of broken code now: #wrapper and
#defaultPane are now unknown messages :(


methodsIn: composite  
        composite wrapper  title: 'Methods' translated;
                show: [ :wrapper |
                        wrapper fastList
                                display: [ :aClass | aClass methods collect: [ :m | m asRingDefinition ]];
                                format: [ :aCompiledMethod | aCompiledMethod selector asString ] ].
        composite wrapper title:  'Script data' translated;
                show: [ :wrapper |
                        wrapper fastList
                                display: [ :aClass | aClass class methods collect: [ :m | m asRingDefinition ]];
                                format: [ :aCompiledMethod | aCompiledMethod selector asString ] ].
        composite
                updateOn: MethodModified from: [ SystemAnnouncer uniqueInstance ];
                updateOn: MethodAdded from: [ SystemAnnouncer uniqueInstance ].
        composite onChangeOfPort: #activePresentation act: [ :presentation |
                (presentation pane port: #activePresentation) value ifNotNil: [ :activePresentation |
                        ((browser paneNamed: #methods) port: #selection) value: (activePresentation defaultPane port: #selection) value ] ].

** Affects: drgeo
     Importance: Critical
         Status: New


** Tags: user-interface

--
You received this bug notification because you are a member of DrGeo
developers, which is subscribed to Dr. Geo II.
Matching subscriptions: Dr. Geo bug report
https://bugs.launchpad.net/bugs/1864537

Title:
  GLMCompositePresentation did not understand #wrapper

Status in Dr. Geo II:
  New

Bug description:
  When the user wants to edit a script and when clicking on a script
  there is this error.

  The method methodsIn: contains a lot of broken code now: #wrapper and
  #defaultPane are now unknown messages :(


  methodsIn: composite  
  composite wrapper  title: 'Methods' translated;
  show: [ :wrapper |
  wrapper fastList
  display: [ :aClass | aClass methods collect: [ :m | m asRingDefinition ]];
  format: [ :aCompiledMethod | aCompiledMethod selector asString ] ].
  composite wrapper title:  'Script data' translated;
  show: [ :wrapper |
  wrapper fastList
  display: [ :aClass | aClass class methods collect: [ :m | m asRingDefinition ]];
  format: [ :aCompiledMethod | aCompiledMethod selector asString ] ].
  composite
  updateOn: MethodModified from: [ SystemAnnouncer uniqueInstance ];
  updateOn: MethodAdded from: [ SystemAnnouncer uniqueInstance ].
  composite onChangeOfPort: #activePresentation act: [ :presentation |
  (presentation pane port: #activePresentation) value ifNotNil: [ :activePresentation |
  ((browser paneNamed: #methods) port: #selection) value: (activePresentation defaultPane port: #selection) value ] ].

To manage notifications about this bug go to:
https://bugs.launchpad.net/drgeo/+bug/1864537/+subscriptions

Reply | Threaded
Open this post in threaded view
|

[Bug 1864537] Re: GLMCompositePresentation did not understand #wrapper

Hliaire Fernandes
Administrator
** Tags added: pharo8

** Tags added: script

** Description changed:

  When the user wants to edit a script and when clicking on a script there
  is this error.
 
- The method methodsIn: contains a lot of broken code now: #wrapper and
- #defaultPane are now unknown messages :(
+ The method DrGScriptBrowser>>methodsIn: contains a lot of broken code
+ now: #wrapper and #defaultPane are now unknown messages :(
 
-
- methodsIn: composite  
- composite wrapper  title: 'Methods' translated;
- show: [ :wrapper |
- wrapper fastList
- display: [ :aClass | aClass methods collect: [ :m | m asRingDefinition ]];
- format: [ :aCompiledMethod | aCompiledMethod selector asString ] ].
- composite wrapper title:  'Script data' translated;
- show: [ :wrapper |
- wrapper fastList
- display: [ :aClass | aClass class methods collect: [ :m | m asRingDefinition ]];
- format: [ :aCompiledMethod | aCompiledMethod selector asString ] ].
- composite
- updateOn: MethodModified from: [ SystemAnnouncer uniqueInstance ];
- updateOn: MethodAdded from: [ SystemAnnouncer uniqueInstance ].
- composite onChangeOfPort: #activePresentation act: [ :presentation |
- (presentation pane port: #activePresentation) value ifNotNil: [ :activePresentation |
- ((browser paneNamed: #methods) port: #selection) value: (activePresentation defaultPane port: #selection) value ] ].
+ methodsIn: composite
+  composite wrapper  title: 'Methods' translated;
+   show: [ :wrapper |
+    wrapper fastList
+     display: [ :aClass | aClass methods collect: [ :m | m asRingDefinition ]];
+     format: [ :aCompiledMethod | aCompiledMethod selector asString ] ].
+  composite wrapper title:  'Script data' translated;
+   show: [ :wrapper |
+    wrapper fastList
+     display: [ :aClass | aClass class methods collect: [ :m | m asRingDefinition ]];
+     format: [ :aCompiledMethod | aCompiledMethod selector asString ] ].
+  composite
+   updateOn: MethodModified from: [ SystemAnnouncer uniqueInstance ];
+   updateOn: MethodAdded from: [ SystemAnnouncer uniqueInstance ].
+  composite onChangeOfPort: #activePresentation act: [ :presentation |
+   (presentation pane port: #activePresentation) value ifNotNil: [ :activePresentation |
+    ((browser paneNamed: #methods) port: #selection) value: (activePresentation defaultPane port: #selection) value ] ].

--
You received this bug notification because you are a member of DrGeo
developers, which is subscribed to Dr. Geo II.
Matching subscriptions: Dr. Geo bug report
https://bugs.launchpad.net/bugs/1864537

Title:
  GLMCompositePresentation did not understand #wrapper

Status in Dr. Geo II:
  New

Bug description:
  When the user wants to edit a script and when clicking on a script
  there is this error.

  The method DrGScriptBrowser>>methodsIn: contains a lot of broken code
  now: #wrapper and #defaultPane are now unknown messages :(

  methodsIn: composite
   composite wrapper  title: 'Methods' translated;
    show: [ :wrapper |
     wrapper fastList
      display: [ :aClass | aClass methods collect: [ :m | m asRingDefinition ]];
      format: [ :aCompiledMethod | aCompiledMethod selector asString ] ].
   composite wrapper title:  'Script data' translated;
    show: [ :wrapper |
     wrapper fastList
      display: [ :aClass | aClass class methods collect: [ :m | m asRingDefinition ]];
      format: [ :aCompiledMethod | aCompiledMethod selector asString ] ].
   composite
    updateOn: MethodModified from: [ SystemAnnouncer uniqueInstance ];
    updateOn: MethodAdded from: [ SystemAnnouncer uniqueInstance ].
   composite onChangeOfPort: #activePresentation act: [ :presentation |
    (presentation pane port: #activePresentation) value ifNotNil: [ :activePresentation |
     ((browser paneNamed: #methods) port: #selection) value: (activePresentation defaultPane port: #selection) value ] ].

To manage notifications about this bug go to:
https://bugs.launchpad.net/drgeo/+bug/1864537/+subscriptions