eclipse-plugin 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/.gitignore +1 -1
- data/.travis.yml +4 -2
- data/Changelog +6 -0
- data/Gemfile +1 -0
- data/Gemfile.lock +37 -0
- data/eclipse-plugin.gemspec +1 -2
- data/lib/eclipse/plugin.rb +62 -29
- data/lib/eclipse/plugin/version.rb +1 -1
- data/spec/data/source/ch.elexis.core.application/plugin.properties +139 -0
- data/spec/data/source/ch.elexis.core.application/plugin.xml +457 -0
- data/spec/data/source/ch.elexis.core.application/plugin_de.properties +139 -0
- data/spec/data/source/ch.elexis.core.application/plugin_en.properties +139 -0
- data/spec/data/source/ch.elexis.core.application/plugin_fr.properties +139 -0
- data/spec/data/source/ch.elexis.core.ui.contacts/plugin.properties +127 -0
- data/spec/data/source/ch.elexis.core.ui.contacts/plugin.xml +330 -0
- data/spec/data/source/ch.elexis.core.ui.contacts/plugin_de.properties +127 -0
- data/spec/data/source/ch.elexis.core.ui.contacts/plugin_en.properties +127 -0
- data/spec/data/source/ch.elexis.core.ui.contacts/plugin_fr.properties +127 -0
- data/spec/plugin_spec.rb +31 -1
- metadata +24 -17
@@ -0,0 +1,127 @@
|
|
1
|
+
#Created by JInto - www.guh-software.de
|
2
|
+
#Fri Mar 07 15:24:34 CET 2014
|
3
|
+
Bundle-Name.0=Elexis
|
4
|
+
Textvorlagen=document templates
|
5
|
+
aboutText=About Elexis (OpenSource)(c) 2005-2013 by G. Weirich and Elexis\nhttp\://www.elexis.ch\nGerry Weirich\nRietstrasse 30\n8201 Schaffhausen
|
6
|
+
category.contactManagement.description=
|
7
|
+
category.contactManagement.name=
|
8
|
+
category.contactManagement.nameA=
|
9
|
+
category.description.0=Billing related commands
|
10
|
+
category.name.0=Elexis
|
11
|
+
category.name.1=bills
|
12
|
+
command.addContact.description=
|
13
|
+
command.addContact.name=
|
14
|
+
command.addContact.organisation.label=
|
15
|
+
command.addContact.person.label=
|
16
|
+
command.addRelationship.description=
|
17
|
+
command.addRelationship.name=
|
18
|
+
command.advancedFilterCommand.label=
|
19
|
+
command.advancedFilterCommand.name=
|
20
|
+
command.contactMarkAsDeleted.description=
|
21
|
+
command.contactMarkAsDeleted.label=
|
22
|
+
command.contactMarkAsDeleted.name=
|
23
|
+
command.contactRemoveMarkAsDeleted.description=
|
24
|
+
command.contactRemoveMarkAsDeleted.label=
|
25
|
+
command.contactRemoveMarkAsDeleted.name=
|
26
|
+
command.description.0=connect to a database
|
27
|
+
command.description.1=return to start
|
28
|
+
command.description.2=create reminders
|
29
|
+
command.description.3=export service blocks
|
30
|
+
command.eraseContactFromDatabase.label=
|
31
|
+
command.eraseContactFromDatabase.name=
|
32
|
+
command.focusIntelligentSearch.name=
|
33
|
+
command.name.0=Home
|
34
|
+
command.name.1=create bills
|
35
|
+
command.name.2=reminders
|
36
|
+
command.name.3=Export Services
|
37
|
+
command.openStickerPreferencePage.label=
|
38
|
+
command.openStickerPreferencePage.name=
|
39
|
+
command.removeRelationship.description=
|
40
|
+
command.removeRelationship.name=
|
41
|
+
command.showViews=Show Views
|
42
|
+
commandParameter.contactType.name=
|
43
|
+
commandParameter.name.0=billables
|
44
|
+
context.description.0=context for billing
|
45
|
+
context.name.0=billing
|
46
|
+
decorator.contactType.label=
|
47
|
+
elexis.SearchView=Search
|
48
|
+
elexis.accounting=Accounting manager
|
49
|
+
elexis.activityCodePrefs=Accounting systems
|
50
|
+
elexis.activityPerspective=Services
|
51
|
+
elexis.activityView=Services
|
52
|
+
elexis.addressListView=Addresses
|
53
|
+
elexis.addressPerspective=ContactsPerspective
|
54
|
+
elexis.banner=Elexis - the Practice
|
55
|
+
elexis.cdss=clinical decision support
|
56
|
+
elexis.codesCategory=Codes
|
57
|
+
elexis.codesView=Codes
|
58
|
+
elexis.connectCommand=Connection
|
59
|
+
elexis.contactDetailView=Contact detail
|
60
|
+
elexis.contactsView=Contacts
|
61
|
+
elexis.createBillsView=Create Bills
|
62
|
+
elexis.createLetterView=Create letter
|
63
|
+
elexis.dataCategory=Data
|
64
|
+
elexis.databasePrefs=Database
|
65
|
+
elexis.docCategoryPrefs=Document categories
|
66
|
+
elexis.emrPrintView=Print EMR
|
67
|
+
elexis.fixMediView=Medication
|
68
|
+
elexis.generalPrefs=General
|
69
|
+
elexis.groupPrefs=Groups and rights
|
70
|
+
elexis.historyView=Consultations
|
71
|
+
elexis.importCommand=Import
|
72
|
+
elexis.importExt=Importer for external data
|
73
|
+
elexis.launcherView=Launcher
|
74
|
+
elexis.letterPerspective=Letters
|
75
|
+
elexis.loginCommand=login
|
76
|
+
elexis.mandatorPrefs=Mandators
|
77
|
+
elexis.measurementsCategory=Measurements
|
78
|
+
elexis.online=Online Services
|
79
|
+
elexis.patDetailView=Patient detail
|
80
|
+
elexis.patListView=Patients
|
81
|
+
elexis.patTodayView=Today
|
82
|
+
elexis.patientPerspective=Patient Perspective
|
83
|
+
elexis.persistency=Persistable object reference
|
84
|
+
elexis.plzView=Zip
|
85
|
+
elexis.prescriptionPrintView=Prescription
|
86
|
+
elexis.prescriptionView=Prescriptions
|
87
|
+
elexis.printerPrefs=Printers
|
88
|
+
elexis.reminderPerspective=Reminder
|
89
|
+
elexis.reminderPrefs=Reminders
|
90
|
+
elexis.remindersView=Reminders
|
91
|
+
elexis.scannerPrefs=barcode scanner
|
92
|
+
elexis.securityPrefs=Access control
|
93
|
+
elexis.selectLetterView=Select letter
|
94
|
+
elexis.sidebar=Elexis quickstart bar
|
95
|
+
elexis.sidebarPrefs=Launch bar
|
96
|
+
elexis.stocksView=Store
|
97
|
+
elexis.templatePrintView=Print template
|
98
|
+
elexis.userCasePrefs=cases
|
99
|
+
elexis.userPrefs=Users
|
100
|
+
menu.roles.label=
|
101
|
+
menu.sorter.label=
|
102
|
+
menu.sticker.label=
|
103
|
+
page.name.0=text editing
|
104
|
+
page.name.1=store management
|
105
|
+
page.name.2=view
|
106
|
+
page.name.3=preferences
|
107
|
+
page.name.4=sticker
|
108
|
+
page.name.5=fonts
|
109
|
+
page.name.6=XIDs
|
110
|
+
perspective.description.0=A perspective for creating and printing bills
|
111
|
+
perspective.name.0=Orders
|
112
|
+
product.name.0=Medelexis Nucleus
|
113
|
+
propertyTab.cases.label=
|
114
|
+
propertyTab.masterData.label=
|
115
|
+
propertyTab.relatedContacts.label=
|
116
|
+
propertyTab.system.label=
|
117
|
+
sidebar.contacts=Contacts
|
118
|
+
view.contactProperties.description=
|
119
|
+
view.contactProperties.name=
|
120
|
+
view.contacts.name=
|
121
|
+
view.name.0=Patient detail (old)
|
122
|
+
view.name.1=Data view
|
123
|
+
view.name.2=Open Drug Database
|
124
|
+
view.name.3=medication history
|
125
|
+
view.name.4=new lab values
|
126
|
+
view.name.5=Script
|
127
|
+
view.patientDetail.name=
|
@@ -0,0 +1,127 @@
|
|
1
|
+
#Created by JInto - www.guh-software.de
|
2
|
+
#Fri Mar 07 15:24:34 CET 2014
|
3
|
+
Bundle-Name.0=Elexis
|
4
|
+
Textvorlagen=document templates
|
5
|
+
aboutText=Elexis un logicial pour le cabinet m\u00E9dical.\n(c) 2005-2013 par Gerry Weirich et Elexis
|
6
|
+
category.contactManagement.description=
|
7
|
+
category.contactManagement.name=
|
8
|
+
category.contactManagement.nameA=
|
9
|
+
category.description.0=commandes concernant la facturation
|
10
|
+
category.name.0=Elexis
|
11
|
+
category.name.1=factures
|
12
|
+
command.addContact.description=
|
13
|
+
command.addContact.name=
|
14
|
+
command.addContact.organisation.label=
|
15
|
+
command.addContact.person.label=
|
16
|
+
command.addRelationship.description=
|
17
|
+
command.addRelationship.name=
|
18
|
+
command.advancedFilterCommand.label=
|
19
|
+
command.advancedFilterCommand.name=
|
20
|
+
command.contactMarkAsDeleted.description=
|
21
|
+
command.contactMarkAsDeleted.label=
|
22
|
+
command.contactMarkAsDeleted.name=
|
23
|
+
command.contactRemoveMarkAsDeleted.description=
|
24
|
+
command.contactRemoveMarkAsDeleted.label=
|
25
|
+
command.contactRemoveMarkAsDeleted.name=
|
26
|
+
command.description.0=se connecter \u00E0 une base de donn\u00E9es
|
27
|
+
command.description.1=retour au d\u00E9but
|
28
|
+
command.description.2=cr\u00E9er des rappels
|
29
|
+
command.description.3=exporter les cha\u00EEnages
|
30
|
+
command.eraseContactFromDatabase.label=
|
31
|
+
command.eraseContactFromDatabase.name=
|
32
|
+
command.focusIntelligentSearch.name=
|
33
|
+
command.name.0=home
|
34
|
+
command.name.1=cr\u00E9er des factures
|
35
|
+
command.name.2=rappels
|
36
|
+
command.name.3=exportation des cha\u00EEnages
|
37
|
+
command.openStickerPreferencePage.label=
|
38
|
+
command.openStickerPreferencePage.name=
|
39
|
+
command.removeRelationship.description=
|
40
|
+
command.removeRelationship.name=
|
41
|
+
command.showViews=presenter les Views
|
42
|
+
commandParameter.contactType.name=
|
43
|
+
commandParameter.name.0=facturables
|
44
|
+
context.description.0=contexte pour la facturation
|
45
|
+
context.name.0=facturation
|
46
|
+
decorator.contactType.label=
|
47
|
+
elexis.SearchView=rechercher
|
48
|
+
elexis.accounting=gestion des Factures
|
49
|
+
elexis.activityCodePrefs=codes des prestations
|
50
|
+
elexis.activityPerspective=prestations
|
51
|
+
elexis.activityView=prestations
|
52
|
+
elexis.addressListView=adresses
|
53
|
+
elexis.addressPerspective=perspective des contacts
|
54
|
+
elexis.banner=Elexis - le cabinet m\u00E9dical
|
55
|
+
elexis.cdss=plugin.properties\:elexis.cdss
|
56
|
+
elexis.codesCategory=codes
|
57
|
+
elexis.codesView=codes
|
58
|
+
elexis.connectCommand=connexion
|
59
|
+
elexis.contactDetailView=contact (d\u00E9tail)
|
60
|
+
elexis.contactsView=contacts
|
61
|
+
elexis.createBillsView=cr\u00E9er des factures
|
62
|
+
elexis.createLetterView=cr\u00E9er une lettre
|
63
|
+
elexis.dataCategory=donn\u00E9es
|
64
|
+
elexis.databasePrefs=base de donn\u00E9e
|
65
|
+
elexis.docCategoryPrefs=cat\u00E9gories des documents
|
66
|
+
elexis.emrPrintView=imprimer le dossier
|
67
|
+
elexis.fixMediView=m\u00E9dication fixe
|
68
|
+
elexis.generalPrefs=g\u00E9n\u00E9ral
|
69
|
+
elexis.groupPrefs=groupes, droits et acc\u00E8s
|
70
|
+
elexis.historyView=historique
|
71
|
+
elexis.importCommand=importation
|
72
|
+
elexis.importExt=importateur des donn\u00E9es externes
|
73
|
+
elexis.launcherView=d\u00E9marreur
|
74
|
+
elexis.letterPerspective=lettres
|
75
|
+
elexis.loginCommand=login
|
76
|
+
elexis.mandatorPrefs=mandant
|
77
|
+
elexis.measurementsCategory=mesures
|
78
|
+
elexis.online=services en ligne
|
79
|
+
elexis.patDetailView=patient (d\u00E9tail)
|
80
|
+
elexis.patListView=patients
|
81
|
+
elexis.patTodayView=aujourd'hui
|
82
|
+
elexis.patientPerspective=patients vue synoptique
|
83
|
+
elexis.persistency=Persistance d'objet
|
84
|
+
elexis.plzView=code postal
|
85
|
+
elexis.prescriptionPrintView=ordonnance
|
86
|
+
elexis.prescriptionView=ordonnances
|
87
|
+
elexis.printerPrefs=imprimantes
|
88
|
+
elexis.reminderPerspective=rappel
|
89
|
+
elexis.reminderPrefs=rappels
|
90
|
+
elexis.remindersView=rappels
|
91
|
+
elexis.scannerPrefs=barcodescanner
|
92
|
+
elexis.securityPrefs=contr\u00F4le d'acc\u00E8s
|
93
|
+
elexis.selectLetterView=choisissez lettre type
|
94
|
+
elexis.sidebar=quickstart bar de Elexis
|
95
|
+
elexis.sidebarPrefs=Barre de lancement
|
96
|
+
elexis.stocksView=stock
|
97
|
+
elexis.templatePrintView=imprimer mod\u00E8le
|
98
|
+
elexis.userCasePrefs=cas
|
99
|
+
elexis.userPrefs=utilisateur
|
100
|
+
menu.roles.label=
|
101
|
+
menu.sorter.label=
|
102
|
+
menu.sticker.label=
|
103
|
+
page.name.0=\u00E9dtion de texte
|
104
|
+
page.name.1=inventaire
|
105
|
+
page.name.2=vue
|
106
|
+
page.name.3=pr\u00E9f\u00E9rences
|
107
|
+
page.name.4=sticker
|
108
|
+
page.name.5=polices
|
109
|
+
page.name.6=XIDs
|
110
|
+
perspective.description.0=perspective pour la cr\u00E9er et imprimer des factures
|
111
|
+
perspective.name.0=ordres
|
112
|
+
product.name.0=medelexis nucleus
|
113
|
+
propertyTab.cases.label=
|
114
|
+
propertyTab.masterData.label=
|
115
|
+
propertyTab.relatedContacts.label=
|
116
|
+
propertyTab.system.label=
|
117
|
+
sidebar.contacts=contacts
|
118
|
+
view.contactProperties.description=
|
119
|
+
view.contactProperties.name=
|
120
|
+
view.contacts.name=
|
121
|
+
view.name.0=patients (d\u00E9tails vieux)
|
122
|
+
view.name.1=data view
|
123
|
+
view.name.2=open drug database
|
124
|
+
view.name.3=medication history
|
125
|
+
view.name.4=nouvelles valeurs labo
|
126
|
+
view.name.5=script
|
127
|
+
view.patientDetail.name=
|
data/spec/plugin_spec.rb
CHANGED
@@ -20,7 +20,11 @@ describe 'Plugin' do
|
|
20
20
|
workspace = Eclipse::Workspace.new(@dataDir)
|
21
21
|
workspace.parsePluginDir
|
22
22
|
workspace.views.first {|view| puts view.id }
|
23
|
-
workspace.views.size.should ==
|
23
|
+
workspace.views.size.should == 49
|
24
|
+
workspace.view_categories.size.should == 7
|
25
|
+
workspace.preferencePages.size.should == 3
|
26
|
+
workspace.preferencePage_categories.size.should == 1
|
27
|
+
workspace.perspectives.size.should == 7
|
24
28
|
end
|
25
29
|
|
26
30
|
it "must be able to analyse a plugin.xml without localization" do
|
@@ -81,4 +85,30 @@ describe 'Plugin' do
|
|
81
85
|
info.getTranslatedPerspectives.find_all{ |item| item.match(german) }.should_not be nil
|
82
86
|
end
|
83
87
|
|
88
|
+
it "should work with a source plugin" do
|
89
|
+
info = Eclipse::Plugin::Info.new(File.join(@dataDir, 'source', 'ch.elexis.core.ui.contacts'))
|
90
|
+
info.views.first.should_not be nil
|
91
|
+
info.perspectives.first.should_not be nil
|
92
|
+
info.preferencePages.first.should_not be nil
|
93
|
+
info.view_categories.first.should_not be nil
|
94
|
+
# info.preferencePage_categories.first.should_not be nil
|
95
|
+
end
|
96
|
+
|
97
|
+
it "should work with a source workspace" do
|
98
|
+
plugin = File.join('/opt/src/elexis-3-core')
|
99
|
+
workspace = Eclipse::Workspace.new(File.join(@dataDir, 'source'))
|
100
|
+
workspace.parse_sub_dirs
|
101
|
+
workspace.views.first.should_not be nil
|
102
|
+
workspace.perspectives.first.should_not be nil
|
103
|
+
workspace.preferencePages.first.should_not be nil
|
104
|
+
workspace.view_categories.first.should_not be nil
|
105
|
+
workspace.preferencePage_categories.first.should be nil
|
106
|
+
workspace.views.size.should == 49
|
107
|
+
workspace.view_categories.size.should == 7
|
108
|
+
workspace.preferencePages.size.should == 1
|
109
|
+
workspace.preferencePage_categories.size.should == 0
|
110
|
+
workspace.perspectives.size.should == 8
|
111
|
+
end
|
112
|
+
|
113
|
+
|
84
114
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eclipse-plugin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Niklaus Giger
|
@@ -14,14 +14,14 @@ dependencies:
|
|
14
14
|
name: rubyzip
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - <
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 1.0.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - <
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 1.0.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
@@ -80,20 +80,6 @@ dependencies:
|
|
80
80
|
- - ! '>='
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: pry-debugger
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - ! '>='
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - ! '>='
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '0'
|
97
83
|
description: Extracts localized info out of an Eclipse plugin jar
|
98
84
|
email:
|
99
85
|
- niklaus.giger@member.fsf.org
|
@@ -103,6 +89,7 @@ extra_rdoc_files: []
|
|
103
89
|
files:
|
104
90
|
- .gitignore
|
105
91
|
- .travis.yml
|
92
|
+
- Changelog
|
106
93
|
- Gemfile
|
107
94
|
- Gemfile.lock
|
108
95
|
- LICENSE
|
@@ -116,6 +103,16 @@ files:
|
|
116
103
|
- spec/data/plugins/ch.elexis.core.application_3.0.0.v20140314-1352.jar
|
117
104
|
- spec/data/plugins/ch.elexis.laborimport.hl7.allg-3.0.0-SNAPSHOT.jar
|
118
105
|
- spec/data/plugins/org.iatrix_3.0.0.v20140313-1017.jar
|
106
|
+
- spec/data/source/ch.elexis.core.application/plugin.properties
|
107
|
+
- spec/data/source/ch.elexis.core.application/plugin.xml
|
108
|
+
- spec/data/source/ch.elexis.core.application/plugin_de.properties
|
109
|
+
- spec/data/source/ch.elexis.core.application/plugin_en.properties
|
110
|
+
- spec/data/source/ch.elexis.core.application/plugin_fr.properties
|
111
|
+
- spec/data/source/ch.elexis.core.ui.contacts/plugin.properties
|
112
|
+
- spec/data/source/ch.elexis.core.ui.contacts/plugin.xml
|
113
|
+
- spec/data/source/ch.elexis.core.ui.contacts/plugin_de.properties
|
114
|
+
- spec/data/source/ch.elexis.core.ui.contacts/plugin_en.properties
|
115
|
+
- spec/data/source/ch.elexis.core.ui.contacts/plugin_fr.properties
|
119
116
|
- spec/helpers_spec.rb
|
120
117
|
- spec/plugin_spec.rb
|
121
118
|
- spec/spec_helper.rb
|
@@ -149,6 +146,16 @@ test_files:
|
|
149
146
|
- spec/data/plugins/ch.elexis.core.application_3.0.0.v20140314-1352.jar
|
150
147
|
- spec/data/plugins/ch.elexis.laborimport.hl7.allg-3.0.0-SNAPSHOT.jar
|
151
148
|
- spec/data/plugins/org.iatrix_3.0.0.v20140313-1017.jar
|
149
|
+
- spec/data/source/ch.elexis.core.application/plugin.properties
|
150
|
+
- spec/data/source/ch.elexis.core.application/plugin.xml
|
151
|
+
- spec/data/source/ch.elexis.core.application/plugin_de.properties
|
152
|
+
- spec/data/source/ch.elexis.core.application/plugin_en.properties
|
153
|
+
- spec/data/source/ch.elexis.core.application/plugin_fr.properties
|
154
|
+
- spec/data/source/ch.elexis.core.ui.contacts/plugin.properties
|
155
|
+
- spec/data/source/ch.elexis.core.ui.contacts/plugin.xml
|
156
|
+
- spec/data/source/ch.elexis.core.ui.contacts/plugin_de.properties
|
157
|
+
- spec/data/source/ch.elexis.core.ui.contacts/plugin_en.properties
|
158
|
+
- spec/data/source/ch.elexis.core.ui.contacts/plugin_fr.properties
|
152
159
|
- spec/helpers_spec.rb
|
153
160
|
- spec/plugin_spec.rb
|
154
161
|
- spec/spec_helper.rb
|