|
|
Dear Protege developers,
I'm currently developing a plugin for Protege 5.x. Ideally, I
could somehow extend the existing class hierarchy view by an
additional action besides "add_sub", "add_sibling" and "delete".
Is there any way to achieve this? So far, I created a new view
component, but this is more or less
unnecessarily complicated.
I tried to achieve this somehow by a plugin of type EditorKitHook,
in which I scanned all existing plugins for the class hierarchy
component. Unfortunately, at this time the view component itself
has not been created yet, thus, it's impossible to add another
action to it.
Kind regards,
Lorenz
--
Lorenz Bühmann
AKSW group, University of Leipzig
Group: http://aksw.org - semantic web research center
_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev
|
Administrator
|
Hi Lorenz,
The very latest beta release supports context menu actions in the asserted class hierarchy. You can plug these in as you might do for regular menu actions. Here’s an example,
<extension id="context.edit.duplicate" point="org.protege.editor.core.application.EditorKitMenuAction"> <name value="Duplicate class..."/> <class value="org.protege.editor.owl.ui.action.DuplicateSelectedClassAction"/> <toolTip value="Duplicates the current class. This copies the class, its superclasses and equivalent classes."/> <path value="[AssertedClassHierarchy]/SlotC-F"/> <editorKitId value="OWLEditorKit"/> <accelerator value="shift C"/> </extension>
Note that the root of the path must be [AssertedClassHierarchy] - the square brackets are important.
Cheers,
Matthew
Dear Protege developers,
I'm currently developing a plugin for Protege 5.x. Ideally, I could somehow extend the existing class hierarchy view by an additional action besides "add_sub", "add_sibling" and "delete". Is there any way to achieve this? So far, I created a new view component,
but this is more or less unnecessarily complicated.
I tried to achieve this somehow by a plugin of type EditorKitHook, in which I scanned all existing plugins for the class hierarchy component. Unfortunately, at this time the view component itself has not been created yet, thus, it's impossible to add another
action to it.
Kind regards,
Lorenz
--
Lorenz Bühmann
AKSW group, University of Leipzig
Group: http://aksw.org - semantic web research center
_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev
_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev
|
|
Hello Matthew,
thank you, I'll give it a try and see whether it fit's the user
requirements.
Kind regards,
Lorenz
Hi Lorenz,
The very latest beta release supports context menu
actions in the asserted class hierarchy. You can plug these in
as you might do for regular menu actions. Here’s an example,
<extension id="context.edit.duplicate"
point="org.protege.editor.core.application.EditorKitMenuAction">
<name value="Duplicate class..."/>
<class value="org.protege.editor.owl.ui.action.DuplicateSelectedClassAction"/>
<toolTip value="Duplicates the current class. This copies the class, its superclasses and equivalent classes."/>
<path value="[AssertedClassHierarchy]/SlotC-F"/>
<editorKitId value="OWLEditorKit"/>
<accelerator value="shift C"/>
</extension>
Note that the root of the path must
be [AssertedClassHierarchy] - the square brackets are important.
Cheers,
Matthew
Dear Protege
developers,
I'm currently developing a plugin for Protege 5.x.
Ideally, I could somehow extend the existing class
hierarchy view by an additional action besides
"add_sub", "add_sibling" and "delete". Is there any
way to achieve this? So far, I created a new view
component, but this is more or less unnecessarily
complicated.
I tried to achieve this somehow by a plugin of type
EditorKitHook, in which I scanned all existing plugins
for the class hierarchy component. Unfortunately, at
this time the view component itself has not been
created yet, thus, it's impossible to add another
action to it.
Kind regards,
Lorenz
--
Lorenz Bühmann
AKSW group, University of Leipzig
Group: http://aksw.org - semantic web research center
_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev
_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev
--
Lorenz Bühmann
AKSW group, University of Leipzig
Group: http://aksw.org - semantic web research center
_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev
|
|
Hi Matthew,
it perfectly works and it's a good way to integrate my plugin.
Just a comment:
I don't know whether it's a bug, but some actions of the context
menu of the class hierarchy disappear once you change the entity
rendering in the menu.
Kind regards,
Lorenz
Hello Matthew,
thank you, I'll give it a try and see whether it fit's the user
requirements.
Kind regards,
Lorenz
Hi Lorenz,
The very latest beta release supports context menu
actions in the asserted class hierarchy. You can plug these
in as you might do for regular menu actions. Here’s an
example,
<extension id="context.edit.duplicate"
point="org.protege.editor.core.application.EditorKitMenuAction">
<name value="Duplicate class..."/>
<class value="org.protege.editor.owl.ui.action.DuplicateSelectedClassAction"/>
<toolTip value="Duplicates the current class. This copies the class, its superclasses and equivalent classes."/>
<path value="[AssertedClassHierarchy]/SlotC-F"/>
<editorKitId value="OWLEditorKit"/>
<accelerator value="shift C"/>
</extension>
Note that the root of the path must
be [AssertedClassHierarchy] - the square brackets are
important.
Cheers,
Matthew
Dear
Protege developers,
I'm currently developing a plugin for Protege 5.x.
Ideally, I could somehow extend the existing class
hierarchy view by an additional action besides
"add_sub", "add_sibling" and "delete". Is there any
way to achieve this? So far, I created a new view
component, but this is more or less unnecessarily
complicated.
I tried to achieve this somehow by a plugin of type
EditorKitHook, in which I scanned all existing
plugins for the class hierarchy component.
Unfortunately, at this time the view component
itself has not been created yet, thus, it's
impossible to add another action to it.
Kind regards,
Lorenz
--
Lorenz Bühmann
AKSW group, University of Leipzig
Group: http://aksw.org - semantic web research center
_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev
_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev
--
Lorenz Bühmann
AKSW group, University of Leipzig
Group: http://aksw.org - semantic web research center
_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev
--
Lorenz Bühmann
AKSW group, University of Leipzig
Group: http://aksw.org - semantic web research center
_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev
|
Administrator
|
Hi Lorenz,
Thanks for the report. I’ll take a look at it.
Cheers,
Matthew
Hi Matthew,
it perfectly works and it's a good way to integrate my plugin.
Just a comment:
I don't know whether it's a bug, but some actions of the context menu of the class hierarchy disappear once you change the entity rendering in the menu.
Kind regards,
Lorenz
Hello Matthew,
thank you, I'll give it a try and see whether it fit's the user requirements.
Kind regards,
Lorenz
Hi Lorenz,
The very latest beta release supports context menu actions in the asserted class hierarchy. You can plug these in as you might do for regular menu actions. Here’s an example,
<extension id="context.edit.duplicate"
point="org.protege.editor.core.application.EditorKitMenuAction">
<name value="Duplicate class..."/>
<class value="org.protege.editor.owl.ui.action.DuplicateSelectedClassAction"/>
<toolTip value="Duplicates the current class. This copies the class, its superclasses and equivalent classes."/>
<path value="[AssertedClassHierarchy]/SlotC-F"/>
<editorKitId value="OWLEditorKit"/>
<accelerator value="shift C"/>
</extension>
Note that the root of the path must be [AssertedClassHierarchy] - the square brackets are important.
Cheers,
Matthew
Dear Protege developers,
I'm currently developing a plugin for Protege 5.x. Ideally, I could somehow extend the existing class hierarchy view by an additional action besides "add_sub", "add_sibling" and "delete". Is there any way to achieve this? So far, I created a new view component,
but this is more or less unnecessarily complicated.
I tried to achieve this somehow by a plugin of type EditorKitHook, in which I scanned all existing plugins for the class hierarchy component. Unfortunately, at this time the view component itself has not been created yet, thus, it's impossible to add another
action to it.
Kind regards,
Lorenz
--
Lorenz Bühmann
AKSW group, University of Leipzig
Group: http://aksw.org - semantic web research center
_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev
_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev
--
Lorenz Bühmann
AKSW group, University of Leipzig
Group: http://aksw.org - semantic web research center
_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev
--
Lorenz Bühmann
AKSW group, University of Leipzig
Group: http://aksw.org - semantic web research center
_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev
_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev
|
|
Hi Lorenz,
Thanks for the report. I’ll take a look at it.
Cheers,
Matthew
Hi Matthew,
it perfectly works and it's a good way to integrate my
plugin.
Just a comment:
I don't know whether it's a bug, but some actions of
the context menu of the class hierarchy disappear once
you change the entity rendering in the menu.
Kind regards,
Lorenz
Hello Matthew,
thank you, I'll give it a try and see whether it
fit's the user requirements.
Kind regards,
Lorenz
Hi Lorenz,
The very latest beta release supports
context menu actions in the asserted class
hierarchy. You can plug these in as you might do
for regular menu actions. Here’s an example,
<extension id="context.edit.duplicate"
point="org.protege.editor.core.application.EditorKitMenuAction">
<name value="Duplicate class..."/>
<class value="org.protege.editor.owl.ui.action.DuplicateSelectedClassAction"/>
<toolTip value="Duplicates the current class. This copies the class, its superclasses and equivalent classes."/>
<path value="[AssertedClassHierarchy]/SlotC-F"/>
<editorKitId value="OWLEditorKit"/>
<accelerator value="shift C"/>
</extension>
Note that the root of the path must
be [AssertedClassHierarchy] - the square brackets
are important.
Cheers,
Matthew
Dear
Protege developers,
I'm currently developing a plugin for
Protege 5.x. Ideally, I could somehow
extend the existing class hierarchy view
by an additional action besides
"add_sub", "add_sibling" and "delete".
Is there any way to achieve this? So
far, I created a new view component, but
this is more or less unnecessarily
complicated.
I tried to achieve this somehow by a
plugin of type EditorKitHook, in which I
scanned all existing plugins for the
class hierarchy component.
Unfortunately, at this time the view
component itself has not been created
yet, thus, it's impossible to add
another action to it.
Kind regards,
Lorenz
--
Lorenz Bühmann
AKSW group, University of Leipzig
Group: http://aksw.org - semantic web research center
_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev
_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev
--
Lorenz Bühmann
AKSW group, University of Leipzig
Group: http://aksw.org - semantic web research center
_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev
--
Lorenz Bühmann
AKSW group, University of Leipzig
Group: http://aksw.org - semantic web research center
_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev
_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev
--
Lorenz Bühmann
AKSW group, University of Leipzig
Group: http://aksw.org - semantic web research center
_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev
|
Administrator
|
Thanks Lorenz,
That’s the best way for us to receive these reports.
Cheers,
Matthew
Hi Lorenz,
Thanks for the report. I’ll take a look at it.
Cheers,
Matthew
Hi Matthew,
it perfectly works and it's a good way to integrate my plugin.
Just a comment:
I don't know whether it's a bug, but some actions of the context menu of the class hierarchy disappear once you change the entity rendering in the menu.
Kind regards,
Lorenz
Hello Matthew,
thank you, I'll give it a try and see whether it fit's the user requirements.
Kind regards,
Lorenz
Hi Lorenz,
The very latest beta release supports context menu actions in the asserted class hierarchy. You can plug these in as you might do for regular menu actions. Here’s an example,
<extension id="context.edit.duplicate"
point="org.protege.editor.core.application.EditorKitMenuAction">
<name value="Duplicate class..."/>
<class value="org.protege.editor.owl.ui.action.DuplicateSelectedClassAction"/>
<toolTip value="Duplicates the current class. This copies the class, its superclasses and equivalent classes."/>
<path value="[AssertedClassHierarchy]/SlotC-F"/>
<editorKitId value="OWLEditorKit"/>
<accelerator value="shift C"/>
</extension>
Note that the root of the path must be [AssertedClassHierarchy] - the square brackets are important.
Cheers,
Matthew
Dear Protege developers,
I'm currently developing a plugin for Protege 5.x. Ideally, I could somehow extend the existing class hierarchy view by an additional action besides "add_sub", "add_sibling" and "delete". Is there any way to achieve this? So far, I created a new view component,
but this is more or less unnecessarily complicated.
I tried to achieve this somehow by a plugin of type EditorKitHook, in which I scanned all existing plugins for the class hierarchy component. Unfortunately, at this time the view component itself has not been created yet, thus, it's impossible to add another
action to it.
Kind regards,
Lorenz
--
Lorenz Bühmann
AKSW group, University of Leipzig
Group: http://aksw.org - semantic web research center
_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev
_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev
--
Lorenz Bühmann
AKSW group, University of Leipzig
Group: http://aksw.org - semantic web research center
_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev
--
Lorenz Bühmann
AKSW group, University of Leipzig
Group: http://aksw.org - semantic web research center
_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev
_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev
--
Lorenz Bühmann
AKSW group, University of Leipzig
Group: http://aksw.org - semantic web research center
_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev
_______________________________________________
protege-dev mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-dev
|
|