Skip to content

Commit

Permalink
Move FAST, FASTSourceCode and FASTDump tabs after Navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel-Darbord committed Dec 20, 2023
1 parent f992de2 commit 4f6a972
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
17 changes: 9 additions & 8 deletions src/FAST-Core-Model-Extension/FASTTEntity.extension.st
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,18 @@ FASTTEntity >> display [
{ #category : #'*FAST-Core-Model-Extension' }
FASTTEntity >> inspectionFAST [

<inspectorPresentationOrder: 450 title: 'FAST'>
<inspectorPresentationOrder: 1.1 title: 'FAST'>
^ SpTreeTablePresenter new
addColumn: (SpCompositeTableColumn new
addColumn: ((SpImageTableColumn evaluated: #mooseIcon)
width: 20;
yourself);
addColumn: (SpStringTableColumn evaluated: [ :node | node display ]);
addColumn:
(SpStringTableColumn evaluated: [ :node | node display ]);
yourself);
children: [ :aClass |
aClass children asArray sorted: [ :a :b |
(a startPos ifNil: 0) <= (b startPos ifNil: 0) ] ];
children: [ :aClass |
aClass children asArray sorted: [ :a :b |
(a startPos ifNil: [ 0 ]) <= (b startPos ifNil: [ 0 ]) ] ];
beMultipleSelection;
roots: { self };
beResizable
Expand All @@ -48,9 +49,9 @@ FASTTEntity >> inspectionFAST [
{ #category : #'*FAST-Core-Model-Extension' }
FASTTEntity >> inspectionFASTSourceCode [

<inspectorPresentationOrder: 500 title: 'FASTSourceCode'>
(self sourceText isNotNil and: [
self startPos isNotNil and: [ self endPos isNotNil ] ]) ifFalse: [
<inspectorPresentationOrder: 1.2 title: 'FASTSourceCode'>
(self sourceText isNotNil and: [
self startPos isNotNil and: [ self endPos isNotNil ] ]) ifFalse: [
^ SpTextPresenter new
text: 'Not available';
yourself ].
Expand Down
2 changes: 1 addition & 1 deletion src/FAST-Core-Tools/FASTTEntity.extension.st
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ FASTTEntity >> dump [
{ #category : #'*FAST-Core-Tools' }
FASTTEntity >> inspectionFASTDump [

<inspectorPresentationOrder: 550 title: 'FASTDump'>
<inspectorPresentationOrder: 1.3 title: 'FASTDump'>
^ SpCodePresenter new
text: (RBParser parseExpression: self dump) formattedCode;
beForScripting;
Expand Down

0 comments on commit 4f6a972

Please sign in to comment.