Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » FXGraph and Preview no longer in sync
FXGraph and Preview no longer in sync [message #1095704] Tue, 27 August 2013 08:12 Go to next message
Daniel Zimmermann is currently offline Daniel Zimmermann
Messages: 70
Registered: July 2009
Member
Hi again,

since an hour or so my FXGraph is no longer synched, that results in a) no FXML re-generation and b) no update of the Preview-View.

This is kind of annoying, since I cannpt say, what's causing this. Did a clean install of Eclispe and e(fx)clipse - to no avail.

I have no 32bit Java installed (and don't intend to install one) to give the Kepler-build of efxclipse a try...

To clarify: There is no error (regarding efxclipse) in the error log, tryed it on both the old and a new workspace with both the current project and a new one.
I thought it was maybe because of my update to target platform, but this cannot be the reason, because it worked prior to it and afterwards, too.

To sum it up: I have now idea, what went wrong! If you have any idea at all, please share it with me, thanks.

EDIT: Funny enough, the preview of the (now outdated) fxml still works.

Daniel

[Updated on: Tue, 27 August 2013 08:16]

Report message to a moderator

Re: FXGraph and Preview no longer in sync [message #1095746 is a reply to message #1095704] Tue, 27 August 2013 09:17 Go to previous messageGo to next message
Daniel Zimmermann is currently offline Daniel Zimmermann
Messages: 70
Registered: July 2009
Member
Ok, I found the problem, althougt it was by accident.
That the - now not longer updated - FXML file still worked "forced" me to test a complete new FXGraph file (although I thought, that the test with a new project should have covered it - don't know what I did wrong there).
After trial and error I recognized that one of my static assignments might trigger it.

Here my (obiously wrong) approach:
component Root controlledby RootController resourcefile "../bundle/strings.properties" styledwith [ "../css/application.css" ] {
	BorderPane {
		center : SplitPane id splitPaneBody {
			items : [
				Accordion id accordionNavigation {
					minWidth : 200,
					maxWidth : 400
				},
				TabPane id tabPaneContent {
					minWidth : 500,
					maxWidth : 100000
				}
			]
		}, static margin : Insets {
				left : 2,
				right : 2
			}
	}
}


The static margin part is wrong - I wanted a margin to the left and right of the center.
What I find interessting is, that there was no information (a.k.a. syntax highlighting, error log) about my bad copy-&-paste stuff.

I fixed it by removing it and now it works as intended (without the margin obviously).

Greetings,
Daniel

[Updated on: Tue, 27 August 2013 09:17]

Report message to a moderator

Re: FXGraph and Preview no longer in sync [message #1096080 is a reply to message #1095746] Tue, 27 August 2013 19:49 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5013
Registered: July 2009
Senior Member
Can you file a bug for this please so that we can fix this and show
errors. We are currently showing fairly none of those and need to add
much more validation :-(

BTW if you only have one css you can skip the []!

Tom

On 27.08.13 15:17, Daniel Zimmermann wrote:
> Ok, I found the problem, althougt it was by accident.
> That the - now not longer updated - FXML file still worked "forced" me
> to test a complete new FXGraph file (although I thought, that the test
> with a new project should have covered it - don't know what I did wrong
> there).
> After trial and error I recognized that one of my static assignments
> might trigger it.
>
> Here my (obiously wrong) approach:
>
> component Root controlledby RootController resourcefile
> "../bundle/strings.properties" styledwith [ "../css/application.css" ] {
> BorderPane {
> center : SplitPane id splitPaneBody {
> items : [
> Accordion id accordionNavigation {
> minWidth : 200,
> maxWidth : 400
> },
> TabPane id tabPaneContent {
> minWidth : 500,
> maxWidth : 100000
> }
> ]
> }, static margin : Insets {
> left : 2,
> right : 2
> }
> }
> }
>
>
> The static margin part is wrong - I wanted a margin to the left and
> right of the center.
> What I find interessting is, that there was no information (a.k.a.
> syntax highlighting, error log) about my bad copy-&-paste stuff.
>
> I fixed it by removing it and now it works as intended.
>
> Greetings,
> Daniel
Re: FXGraph and Preview no longer in sync [message #1096290 is a reply to message #1096080] Wed, 28 August 2013 03:36 Go to previous message
Daniel Zimmermann is currently offline Daniel Zimmermann
Messages: 70
Registered: July 2009
Member
The bug is filed:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=416012

Hope the description is ok.
Previous Topic:Missing OSGi-Bundle Dependencies
Next Topic:Icons on Buttons via FXGraph
Goto Forum:
  


Current Time: Fri Apr 18 11:49:04 EDT 2014

Powered by FUDForum. Page generated in 0.02132 seconds