Search found 206 matches

by SSC
Thu Nov 22, 2012 5:19 pm
Forum: Other Issues
Topic: Relative file paths for ro.sync.ecss.css.URIContent.URIContent(String, String)
Replies: 9
Views: 3989

Re: Relative file paths for ro.sync.ecss.css.URIContent.URIContent(String, String)

Hello Radu,

thanks for the beta 14.2 version.
Its nice to see some new features like the highlighting....

I just tested the :before and :after issue and I say it is solved. :)

Thanks for that.

Best regards,

Simon
by SSC
Wed Nov 21, 2012 3:45 pm
Forum: Other Issues
Topic: Relative file paths for ro.sync.ecss.css.URIContent.URIContent(String, String)
Replies: 9
Views: 3989

Re: Relative file paths for ro.sync.ecss.css.URIContent.URIContent(String, String)

Hello Radu,

if this is not too time-consuming for you I´d like to have such a beta 14.2 version.

Best regards,

Simon
by SSC
Wed Nov 21, 2012 11:01 am
Forum: Other Issues
Topic: Relative file paths for ro.sync.ecss.css.URIContent.URIContent(String, String)
Replies: 9
Views: 3989

Re: Relative file paths for ro.sync.ecss.css.URIContent.URIContent(String, String)

Hello Alex, I already use your second approach for a different framework/document type, but without oxy_url(oxy_base-uri(),..) by just using: [locked]:before{ content: url("icons/lock.gif") " [Locked by user " attr(locked) "]"; display: inline; color: #FF5500; backgroun...
by SSC
Mon Nov 19, 2012 8:15 pm
Forum: Other Issues
Topic: Relative file paths for ro.sync.ecss.css.URIContent.URIContent(String, String)
Replies: 9
Views: 3989

Relative file paths for ro.sync.ecss.css.URIContent.URIContent(String, String)

Hello, we are using oXygen 14.1 Eclipse Version. I am trying to use the ro.sync.ecss.css.URIContent.URIContent(String, String) in order to show a certain image. styles.setProperty(Styles.KEY_MIXED_CONTENT, new URIContent("file:./icons/","lock.gif")); The lock.gif path is relative...
by SSC
Fri Nov 09, 2012 1:13 pm
Forum: Other Issues
Topic: AuthorSchemaManager for validating AuthorDocumentFragments
Replies: 3
Views: 1947

Re: AuthorSchemaManager for validating AuthorDocumentFragments

Hello Alex, The name createNewDocumentFragmentInContext and having a parameter, which specifies the offset( @param contentOffset The offset where the XML fragment should be inserted. ) leaded me to the conclusion that this method would directly insert the xml fragment into the document, which was no...
by SSC
Thu Nov 08, 2012 9:31 pm
Forum: Other Issues
Topic: AuthorSchemaManager for validating AuthorDocumentFragments
Replies: 3
Views: 1947

AuthorSchemaManager for validating AuthorDocumentFragments

Hello, I want to check, if a certain XML String can be inserted at a certain location. To insert a XML String schema aware you can easily use ro.sync.ecss.extensions.api.AuthorDocumentController.insertXMLFragmentSchemaAware(String, int); But how can I just check if a certain XML String may be insert...
by SSC
Mon Nov 05, 2012 11:02 am
Forum: Other Issues
Topic: Change the CSS filepath of a framework at runtime
Replies: 6
Views: 3064

Re: Change the CSS filepath of a framework at runtime

Hello Radu,

somehow the localisation fragment was not activated any more in my run configurations.
Now everything works fine.
Thanks a lot.

Best regards,

Simon
by SSC
Fri Nov 02, 2012 1:47 pm
Forum: Other Issues
Topic: Change the CSS filepath of a framework at runtime
Replies: 6
Views: 3064

Re: Change the CSS filepath of a framework at runtime

Hello Radu, It should not be a problem for it to reference the custom CSS as well, right? Right :wink: Thanks for the hint with the SDK Sources. The ro.sync.ecss.extensions.api.AuthorOperation was actually what I needed. I did implement some PI-Mod custom actions and it works fine. Because it is not...
by SSC
Tue Oct 30, 2012 10:54 am
Forum: Other Issues
Topic: Change the CSS filepath of a framework at runtime
Replies: 6
Views: 3064

Re: Change the CSS filepath of a framework at runtime

Hello Radu, the approach with the PI <?xml-stylesheet type="text/css" href="personal.css"?> works. I was just wonderung, if I could change some properties of a certain Framework programmatically at runtime. So we define the CSS via PI and DTD via Doctype. Though we have to define...
by SSC
Mon Oct 29, 2012 4:21 pm
Forum: Other Issues
Topic: Change the CSS filepath of a framework at runtime
Replies: 6
Views: 3064

Change the CSS filepath of a framework at runtime

Hello, We are using the Eclipse version 14.1 of Oxygen. I have added the http://www.pi-mod.de/ framework to the Document Type Association and defined certain rules for it. Unfortunately some of our customers have individually customized the CSS and Schema files, so that the XML document, its Schema ...
by SSC
Tue Oct 16, 2012 12:06 pm
Forum: Other Issues
Topic: com.oxygenxml.editor.contextMenuAdditions
Replies: 7
Views: 3120

Re: com.oxygenxml.editor.contextMenuAdditions

Hi Radu, you are welcome to put this into your FAQ. I appreciate to push the migration from org.eclipse.jface.action.IAction s to the Eclipse Command Framework a bit further. :) With my code I was able use the whole power of the Eclipse Commands, like declarative handler definition with activeWhen a...
by SSC
Mon Oct 15, 2012 12:29 pm
Forum: Other Issues
Topic: com.oxygenxml.editor.contextMenuAdditions
Replies: 7
Views: 3120

Re: com.oxygenxml.editor.contextMenuAdditions

Hello Radu, so I build my own solution. If you are interested I would share my solution with you: The following OxygenAuhtorPagePopupMenuCustomizer is attached to the AuthorPages by an org.eclipse.ui.IPartListener like it is used in your sample SDK code. import org.eclipse.jface.action.ContributionM...
by SSC
Mon Oct 15, 2012 11:58 am
Forum: Other Issues
Topic: Define which attributes may be edited
Replies: 7
Views: 3095

Re: Define which attributes may be edited

Hello Radu, the discussion about editable attributes just came up again and it seems that hiding the attributes is not enough, because the authors/users should see which attributes are set, but they should not be allowed to edit them. The same issue came up with PIs, which also should be seen by the...
by SSC
Thu Oct 11, 2012 5:19 pm
Forum: Other Issues
Topic: com.oxygenxml.editor.contextMenuAdditions
Replies: 7
Views: 3120

Re: com.oxygenxml.editor.contextMenuAdditions

Hello again Radu, now the additional action works for the Text Page. It wrote something wrong in the plugin.xml, because the Schemas for your Extension Points are missing. Are those .exsd schemas for your Extension Points are available somewhere? Nevertheless I expected that the com.oxygenxml.editor...
by SSC
Thu Oct 11, 2012 4:58 pm
Forum: Other Issues
Topic: com.oxygenxml.editor.contextMenuAdditions
Replies: 7
Views: 3120

Re: com.oxygenxml.editor.contextMenuAdditions

Hello Radu, I cause I use the com.oxygenxml. author .contextMenuAdditions Extension. The other one is not available, but it does not work. Now I tried the following: <extension point="com.oxygenxml.author.contextMenuAdditions"> <group id="Example_group_1"> <action id="Exampl...
by SSC
Thu Oct 11, 2012 1:25 pm
Forum: Other Issues
Topic: com.oxygenxml.editor.contextMenuAdditions
Replies: 7
Views: 3120

com.oxygenxml.editor.contextMenuAdditions

Hello, In your http://www.oxygenxml.com/InstData/Editor/SDK/oxygenEclipseSDK.zip you have an example about the com.oxygenxml.editor.contextMenuAdditions Extension Point. <extension point="com.oxygenxml.editor.contextMenuAdditions"> <group id="Example_group_1"> <action id="Ex...
by SSC
Mon Oct 08, 2012 3:34 pm
Forum: Other Issues
Topic: Editing multiple AuthorNodes at once
Replies: 1
Views: 1443

Editing multiple AuthorNodes at once

Hello, We use the Eclipse Plugin version 14.1 of Oxygen. In this version it is possible to select multiple XML tags(AuhtorNodes) while pressing the CRTL key. When I have selected multiple AuthorNodes and then try to edit some attributes of the selected AuthorNode s , only the latest selected AuthorN...
by SSC
Wed Sep 26, 2012 1:40 pm
Forum: Other Issues
Topic: Access to instances in the RCP Client from a Oxygen Extension
Replies: 10
Views: 5123

Re: Access to instances in the RCP Client from a Oxygen Extension

Hello Radu, it seems that your Oxygen plugin and our eclipse plugins use different class loaders. A colleague of mine just found out that you have your own classloader called ro.sync.util.tb, which comes from the org.eclipse.core.runtime.internal.adaptor.ContextFinder@d76237. But we use the org.ecli...
by SSC
Thu Sep 06, 2012 6:20 pm
Forum: Other Issues
Topic: Access to instances in the RCP Client from a Oxygen Extension
Replies: 10
Views: 5123

Re: Access to instances in the RCP Client from a Oxygen Extension

Hello Radu, [quote=Radu]To what Extension are you referring? When editing a document type in Oxygen there is a Classpath tab. Are you referring to it?[/quote] No. I added the necessary classes to the MANIFEST.MF of the Extension JAR. Actually this works, but not for those static classes, which are n...
by SSC
Thu Sep 06, 2012 12:40 pm
Forum: Other Issues
Topic: Access to instances in the RCP Client from a Oxygen Extension
Replies: 10
Views: 5123

Access to instances in the RCP Client from a Oxygen Extension

Hello, we are using the ro.sync.exml.editor.xmleditor.pageauthor.AuthorDnDListener and the ro.sync.ecss.extensions.api.StylesFilter Extensions. In the our Eclipse RCP client we have our own data-model, which can be accessed via a static singleton method. Like it is also done with the org.eclipse.cor...
by SSC
Mon Aug 27, 2012 4:48 pm
Forum: Other Issues
Topic: ro.sync.ecss.extensions.api.node.AuthorNode#getTextContent() throws NullPointer
Replies: 4
Views: 2896

Re: ro.sync.ecss.extensions.api.node.AuthorNode#getTextContent() throws NullPointer

Hello mihaela,

I also realized that this Exception only occurs at startup and afterwards everything works great.

I just postet this Bug for you in case you have not recognized it yet.

Best regards,

Simon
by SSC
Mon Aug 27, 2012 12:39 pm
Forum: Other Issues
Topic: ro.sync.ecss.extensions.api.node.AuthorNode#getTextContent() throws NullPointer
Replies: 4
Views: 2896

ro.sync.ecss.extensions.api.node.AuthorNode#getTextContent() throws NullPointer

Hello, the ro.sync.ecss.extensions.api.node.AuthorNode#getTextContent() method throws a NullPointerException. java.lang.NullPointerException at ro.sync.ecss.dom.o.f(Unknown Source) at ro.sync.ecss.dom.o.getTextContent(Unknown Source) It occurs in a ro.sync.ecss.extensions.api.StylesFilter , when I t...
by SSC
Thu Aug 23, 2012 11:07 am
Forum: Feature Request
Topic: New functionalities for the AuthorPersistentHighlighter
Replies: 12
Views: 6930

Re: New functionalities for the AuthorPersistentHighlighter

Hello mihaela, indeed this is a solution, but not the best, because we liked the "much more ergonomic" layout, too. Maybe you could try to just draw the border around the desired |xmlnode> to which the border belongs, even though the "Compact tag layout" feature is turned off. Al...
by SSC
Tue Aug 21, 2012 3:34 pm
Forum: Other Issues
Topic: Define which attributes may be edited
Replies: 7
Views: 3095

Define which attributes may be edited

Hello, our customers want some attributes in some XML tag to be not editable for an author, because they are set by a xml transformation and should not be modified by the author afterwards. I found these methods for a CIAttribute, but I am not sure, if that is what I actually want: http://www.oxygen...
by SSC
Tue Aug 21, 2012 3:22 pm
Forum: Feature Request
Topic: New functionalities for the AuthorPersistentHighlighter
Replies: 12
Views: 6930

Re: New functionalities for the AuthorPersistentHighlighter

Hello, I´d like to offer you another picture concerning the "wrong" behavior of the Full Tags mode´s XML elements. http://i46.tinypic.com/97nurd.png - http://i46.tinypic.com/97nurd.png - In the second part of the picture the :before content is outside the |note> tag and also outside the re...
by SSC
Fri Aug 17, 2012 9:40 am
Forum: Feature Request
Topic: New functionalities for the AuthorPersistentHighlighter
Replies: 12
Views: 6930

Re: New functionalities for the AuthorPersistentHighlighter

Hi, in general it seems that the :before node, the actual node and the :after node are not handled as a unity. In my opinion this is wrong, because other XML Editors and even common browsers handle :before,:after and the actual node as unity. I got 3 examples for that: [1.] When I use CSS like I alr...
by SSC
Thu Aug 16, 2012 6:38 pm
Forum: Feature Request
Topic: New functionalities for the AuthorPersistentHighlighter
Replies: 12
Views: 6930

Re: New functionalities for the AuthorPersistentHighlighter

Here is a picture of the custom Highlighter:
Image

Here you can see 3 borders, but we´d like to have one border, which surrounds every item of those 3.

Best regards,

Simon
by SSC
Thu Aug 16, 2012 6:18 pm
Forum: Feature Request
Topic: New functionalities for the AuthorPersistentHighlighter
Replies: 12
Views: 6930

Re: New functionalities for the AuthorPersistentHighlighter

Hi Mihaela, I just tried your CustomHighlightPainter, but it seems that the HighlightPainter is invoked several times, so that the existing CSS before elements and the actual xml elements have its own border. Actually we want one single border around the whole xml element including the before and af...
by SSC
Thu Aug 16, 2012 3:56 pm
Forum: Feature Request
Topic: New functionalities for the AuthorPersistentHighlighter
Replies: 12
Views: 6930

Re: New functionalities for the AuthorPersistentHighlighter

Hi, What we want to achieve is to mark some type of elements, like it is done with the ro.sync.ecss.extensions.api.highlights.AuthorPersistentHighlighter Currently we use the AuthorPersistentHighlighter to change the background color of a certain XML tag and add a tooltip. But instead of changing th...
by SSC
Thu Aug 16, 2012 2:53 pm
Forum: Feature Request
Topic: New functionalities for the AuthorPersistentHighlighter
Replies: 12
Views: 6930

Re: New functionalities for the AuthorPersistentHighlighter

Hi, some time ago you told me about the http://oxygenxml.com/doc/ug-editor/topics/dg-additional-custom-selectors.html On that page(http://oxygenxml.com/doc/ug-authorEclipse/index.html?q=/doc/ug-authorEclipse/topics/dg-namespace-selectors.html) I saw that you also support the Adjacent Sibling Selecto...