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 12:12 |
Daniel Zimmermann Messages: 81 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 12: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 13:17 |
Daniel Zimmermann Messages: 81 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 13: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 23:49 |
Thomas Schindl Messages: 6651 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 #1742015 is a reply to message #1095704] |
Tue, 27 August 2013 13:17 |
Daniel Zimmermann Messages: 81 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.
Greetings,
Daniel
|
|
|
Re: FXGraph and Preview no longer in sync [message #1742017 is a reply to message #1095746] |
Tue, 27 August 2013 23:49 |
Thomas Schindl Messages: 6651 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
|
|
|
Goto Forum:
Current Time: Tue Apr 23 15:22:02 GMT 2024
Powered by FUDForum. Page generated in 0.03794 seconds
|