Plugin to Oxygen XML editor to add support for BaseX DB.
Argon Author is licensed for use under The MIT License.
Author technical content with oXygen + BaseX
License: MIT License
Plugin to Oxygen XML editor to add support for BaseX DB.
Argon Author is licensed for use under The MIT License.
BaseX does not have "directories", so must add a file with path:
new-directory/.empty.xml
Various settings (that would normally be stored in .xpr files) should be available through a central location.
Might be as easy as storing the .xpr file in the DB. To be investigated.
INFO from @raducoravu
Regarding the standalone Oxygen application, if you want to share settings you would have the following options:
https://www.oxygenxml.com/doc/versions/17.1/ug-editor/#topics/sharing-projects.html
https://www.oxygenxml.com/doc/versions/17.1/ug-editor/#topics/default-options.html
https://www.oxygenxml.com/doc/versions/17.1/ug-editor/#topics/import-export-preferences.html
PluginWorkspaceProvider.getPluginWorkspace().setGlobalObjectProperty(key, value);
In our Maven SDK we have a sample plugin called ImposeOptions which imposes a fixed set of options when the application starts.
Otherwise "invalid byte 2 of 3 byte ... " exception
If I open a dialog (for example "Search in Path") and I move it on the screen, behind it I can find the "Rename" dialog showing.
This is also true when I show the "Rename" dialog 😄
Oxygen remembers previously openend files. Can not assume all opened documents are loaded from db.
[ AWT-EventQueue-0 ] - java.lang.NullPointerException
java.lang.NullPointerException
at de.axxepta.oxygen.api.RestConnection.lockedByUser(RestConnection.java:135)
at de.axxepta.oxygen.workspace.ArgonEditorChangeListener.editorClosed(ArgonEditorChangeListener.java:61)
at ro.sync.exml.workspace.b.c.d$_b.zog(Unknown Source)
Need to have write access for meta and history but can have individual access rights for other DBs
Using AuthorDocumentController one can manipulate nodes:
`try{
//
final AuthorDocumentController adc = authorAccess.getDocumentController();
int startOffset = adc.getAuthorDocumentNode().getRootElement().getStartOffset();
AuthorDocumentFragment frag = adc.createNewDocumentFragmentInContext("<?history version=\"\"?>", startOffset + 1);
adc.insertFragment(startOffset, frag);
} catch (AuthorOperationException e) {
e.printStackTrace();
}
// find nodes
//AuthorNode[] nodes = adc.findNodesByXPath("/processing-instruction('history')", true, true, true);
Die ganze Anwendung kann auf Windows nur per Taskmanager "abgeschossen" werden. Reagiert nicht auf "Beenden" Anweisung oder Klick.
save to url is not always available and there is no way to browse the database for
Example:
pluginWorkspaceAccess.addMenuBarCustomizer(new MenuBarCustomizer()
When adding a new file via context menu open it directly in editor
When editing xquery files there is a noticeable lag because of the requests being sent to the server
currently only left click highlights
Save:
This is useful if I'm renaming the resource to some name close to the current one. It also serves for me to remember on what resource I used "Rename".
e.g.
Hab ich mit @MarkusWb schon besprochen, nur der Vollständigkeit halber:
Die Anwendung hat einen Fehler festgestellt, der nicht automatisch behoben werden kann.
Es ist möglich, dass der Fehler unkritisch ist und dass die Anwendung normal weiterläuft.
Falls sich die Anwendung instabil verhält und nicht mehr normal geschlossen werden kann,
können Sie den „Force Quit“ Button aus diesem Dialog verwenden.
Beachten Sie, dass dann alle ungesicherten Änderungen in den geöffneten Dokumenten verloren gehen.
Hier sind die Fehlerdetails:
[ main ] - java.lang.NumberFormatException: For input string: "empty option"
java.lang.NumberFormatException: For input string: "empty option"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:580)
at java.lang.Integer.parseInt(Integer.java:615)
at de.axxepta.oxygen.api.BaseXConnectionWrapper.refreshFromOptions(BaseXConnectionWrapper.java:20)
at de.axxepta.oxygen.workspace.ArgonWorkspaceAccessPluginExtension.applicationStarted(ArgonWorkspaceAccessPluginExtension.java:77)
at ro.sync.exml.MainFrame.agm(Unknown Source)
at ro.sync.exml.MainFrame.<init>(Unknown Source)
at ro.sync.exml.MainFrame.<init>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at ro.sync.ui.application.ApplicationLauncher.d(Unknown Source)
at ro.sync.ui.application.ApplicationLauncher.launch(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at ro.sync.exml.Oxygen.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.install4j.runtime.launcher.MacLauncher.main(Unknown Source)
If deleting multiple files, a dialog with 'Don't show this message again' option should be presented
[ class ro.sync.ui.application.d.l ] - java.lang.NullPointerException
java.lang.NullPointerException
at org.basex.io.in.BufferInput.readByte(BufferInput.java:112)
at org.basex.io.in.BufferInput.content(BufferInput.java:194)
at org.basex.io.IOStream.read(IOStream.java:40)
at de.axxepta.oxygen.api.RestConnection.request(RestConnection.java:175)
at de.axxepta.oxygen.api.RestConnection.get(RestConnection.java:65)
at de.axxepta.oxygen.customprotocol.ArgonProtocolHandler$ArgonConnection.getInputStream(ArgonProtocolHandler.java:45)
at ro.sync.exml.editor.tb.d(Unknown Source)
Abstraktion über eigene Klasse. Implementierung verwendet REST API von basex
In Oxygen über CustomProtocolPlugin gelöst, Bsp.:
argon://foo/bar.xml
If non-accessible directories are in the tree, e.g. the repo folder on the test server, an error message is prompted while refreshing.
Reproduce:
Currently nothing happens until file is loaded in editor
Gegeben: Datenbankverbindung (z.B. config datei, oder erstmal hardcoded)
Probably because the sample from which you started did that...
Either:
Should be possible by using
pluginWorkspaceAccess.geXMLUtilAccess().prettyPrint(reader, systemID)
defaults in option page
Maybe you should add a confirmation dialog for the "Delete" action, especially if you will make it work using the DEL key. By the way, can deleted resources be recovered?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.