diff --git a/.classpath b/.classpath
index ece7b32..3083ca1 100644
--- a/.classpath
+++ b/.classpath
@@ -1,52 +1,27 @@
-
+
+
-
-
+
-
-
-
-
-
-
-
-
-
-
-
+
-
+
-
+
-
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
diff --git a/.project b/.project
index 99f1734..19b27d2 100644
--- a/.project
+++ b/.project
@@ -1,41 +1,23 @@
- atriasoft-ewol
+ ewol
- atriasoft-ewol
-
- org.python.pydev.PyDevBuilder
-
-
-
org.eclipse.jdt.core.javabuilder
- net.sf.eclipsecs.core.CheckstyleBuilder
+ org.eclipse.m2e.core.maven2Builder
org.eclipse.jdt.core.javanature
- net.sf.eclipsecs.core.CheckstyleNature
- org.python.pydev.pythonNature
+ org.eclipse.m2e.core.maven2Nature
-
-
- 1646149232192
-
- 30
-
- org.eclipse.core.resources.regexFilterMatcher
- node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__
-
-
-
diff --git a/blender_files/exportEmf.py b/blender_files/exportEmf.py
index 7e35529..6f9e77b 100644
--- a/blender_files/exportEmf.py
+++ b/blender_files/exportEmf.py
@@ -14,5 +14,5 @@ list_elem = [
]
for elem in list_elem:
- bpy.ops.wm.open_mainfile(filepath="/home/heero/dev/WORKSPACE-game/jatria-soft/ewol/blender_files/" + elem + ".blend")
- bpy.ops.export_scene.emf(filepath="/home/heero/dev/WORKSPACE-game/jatria-soft/ewol/resources/resources/ewol/theme/shape/" + elem + ".emf")
+ bpy.ops.wm.open_mainfile(filepath="/home/heero/dev/WORKSPACE-game/org.atriasoft/ewol/blender_files/" + elem + ".blend")
+ bpy.ops.export_scene.emf(filepath="/home/heero/dev/WORKSPACE-game/org.atriasoft/ewol/resources/resources/ewol/theme/shape/" + elem + ".emf")
diff --git a/ewol.iml b/ewol.iml
deleted file mode 100644
index 5b42ad0..0000000
--- a/ewol.iml
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/lutin_org-atriasoft-ewol.py b/lutin_org-atriasoft-ewol.py
index 9810db2..892cd95 100644
--- a/lutin_org-atriasoft-ewol.py
+++ b/lutin_org-atriasoft-ewol.py
@@ -34,7 +34,7 @@ def configure(target, my_module):
'src/module-info.java',
'src/org/atriasoft/ewol/DrawProperty.java',
'src/org/atriasoft/ewol/internal/LoadPackageStream.java',
- 'src/org/atriasoft/ewol/internal/Log.java',
+ 'src/org/atriasoft/ewol/internal/LOGGER.java',
'src/org/atriasoft/ewol/context/EwolContext.java',
'src/org/atriasoft/ewol/context/EwolApplication.java',
'src/org/atriasoft/ewol/context/InputManager.java',
diff --git a/old_widget/ButtonColor.cpp b/old_widget/ButtonColor.cpp
index 2c094c0..bd892ab 100644
--- a/old_widget/ButtonColor.cpp
+++ b/old_widget/ButtonColor.cpp
@@ -65,7 +65,7 @@ void ewol::widget::ButtonColor::onRegenerateDisplay() {
if (needRedraw() == false) {
return;
}
- Log.debug("redraw");
+ LOGGER.debug("redraw");
this.text.clear();
this.shaper.clear();
@@ -144,7 +144,7 @@ boolean ewol::widget::ButtonColor::onEventInput( ewol::event::Input _event) {
}
}
boolean previousPressed = this.buttonPressed;
- //Log.debug("Event on BT ... mouse position : " + this.mouseHover);
+ //LOGGER.debug("Event on BT ... mouse position : " + this.mouseHover);
if (true == this.mouseHover) {
if (1 == _event.getId()) {
if(KeyStatus::down == _event.getStatus()) {
@@ -161,7 +161,7 @@ boolean ewol::widget::ButtonColor::onEventInput( ewol::event::Input _event) {
// create a context menu :
this.widgetContextMenu = ewol::widget::ContextMenu::create();
if (this.widgetContextMenu == null) {
- Log.error("Allocation Error");
+ LOGGER.error("Allocation Error");
return true;
}
Vector2f tmpPos = this.origin + this.selectableAreaPos + this.selectableAreaSize;
@@ -175,7 +175,7 @@ boolean ewol::widget::ButtonColor::onEventInput( ewol::event::Input _event) {
myColorChooser.signalChange.connect(sharedFromThis(), ewol::widget::ButtonColor::onCallbackColorChange);
ewol::widget::Windows currentWindows = getWindows();
if (currentWindows == null) {
- Log.error("Can not get the curent Windows...");
+ LOGGER.error("Can not get the curent Windows...");
this.widgetContextMenu.reset();
} else {
currentWindows.popUpWidgetPush(this.widgetContextMenu);
diff --git a/old_widget/ColorBar.cpp b/old_widget/ColorBar.cpp
index f6a4815..ca6599b 100644
--- a/old_widget/ColorBar.cpp
+++ b/old_widget/ColorBar.cpp
@@ -51,7 +51,7 @@ static etk::Color<> s_listColor[NB_BAND_COLOR+1] = {
void ewol::widget::ColorBar::onChangePropertyValue() {
propertyValue.getDirect().setA(0xFF);
// estimate the cursor position:
- Log.todo("Later when really needed ...");
+ LOGGER.info("[TODO] Later when really needed ...");
}
void ewol::widget::ColorBar::onDraw() {
@@ -159,7 +159,7 @@ void ewol::widget::ColorBar::onRegenerateDisplay() {
boolean ewol::widget::ColorBar::onEventInput( ewol::event::Input _event) {
Vector2f relativePos = relativePosition(_event.getPos());
- //Log.debug("Event on BT ...");
+ //LOGGER.debug("Event on BT ...");
if (1 == _event.getId()) {
relativePos.setValue( etk::avg(0.0f, this.size.x(),relativePos.x()),
etk::avg(0.0f, this.size.y(),relativePos.y()) );
@@ -170,11 +170,11 @@ boolean ewol::widget::ColorBar::onEventInput( ewol::event::Input _event) {
relativePos.y()/this.size.y() );
markToRedraw();
// == > try to estimate color
- Log.verbose("event on (" + relativePos.x() + "," + relativePos.y() + ")");
+ LOGGER.trace("event on (" + relativePos.x() + "," + relativePos.y() + ")");
int bandID = (int)(relativePos.x()/(this.size.x()/6));
float localPos = relativePos.x() - (this.size.x()/6) * bandID;
float poroportionnalPos = localPos/(this.size.x()/6);
- Log.verbose("bandId=" + bandID + " relative pos=" + localPos);
+ LOGGER.trace("bandId=" + bandID + " relative pos=" + localPos);
etk::Color<> estimateColor = etk::color::white;
if (s_listColor[bandID].r() == s_listColor[bandID+1].r()) {
estimateColor.setR(s_listColor[bandID].r());
diff --git a/old_widget/ContextMenu.cpp b/old_widget/ContextMenu.cpp
index a8386f2..b4628f8 100644
--- a/old_widget/ContextMenu.cpp
+++ b/old_widget/ContextMenu.cpp
@@ -59,7 +59,7 @@ void ewol::widget::ContextMenu::onChangeSize() {
markToRedraw();
// pop-up fill all the display :
ewol::Padding padding = this.shaper.getPadding();
- Log.verbose("our origin=" + this.origin + " size=" + this.size);
+ LOGGER.trace("our origin=" + this.origin + " size=" + this.size);
if (this.subWidget == null) {
return;
}
@@ -115,7 +115,7 @@ void ewol::widget::ContextMenu::onChangeSize() {
}
break;
}
- Log.verbose(" == > sub origin=" + subWidgetOrigin + " size=" + subWidgetSize);
+ LOGGER.trace(" == > sub origin=" + subWidgetOrigin + " size=" + subWidgetSize);
this.subWidget.setOrigin(subWidgetOrigin);
this.subWidget.setSize(subWidgetSize);
this.subWidget.onChangeSize();
@@ -128,7 +128,7 @@ void ewol::widget::ContextMenu::calculateMinMaxSize() {
// add padding of the display
ewol::Padding padding = this.shaper.getPadding();
this.minSize += Vector2f(padding.x(), padding.y());
- //Log.debug("CalculateMinSize=>>" + this.minSize);
+ //LOGGER.debug("CalculateMinSize=>>" + this.minSize);
markToRedraw();
}
@@ -195,7 +195,7 @@ void ewol::widget::ContextMenu::onRegenerateDisplay() {
default:
case markRight:
case markLeft:
- Log.todo("later");
+ LOGGER.info("[TODO] later");
break;
}
diff --git a/old_widget/Joystick.java b/old_widget/Joystick.java
index c85acc9..b02e854 100644
--- a/old_widget/Joystick.java
+++ b/old_widget/Joystick.java
@@ -75,7 +75,7 @@ class Joystick extends Widget {
_newRatio = 1;
}
this.ratio = _newRatio;
- Log.info("Set default Joystick ratio at " + this.ratio);
+ LOGGER.info("Set default Joystick ratio at " + this.ratio);
}
/**
* set the Background of the widget joystick
@@ -86,7 +86,7 @@ class Joystick extends Widget {
// TODO : check if it existed
this.background = _imageNameInData;
this.displayBackground = _display;
- Log.info("Set default Joystick background at " + this.background + " display it=" + this.displayBackground);
+ LOGGER.info("Set default Joystick background at " + this.background + " display it=" + this.displayBackground);
}
/**
* set the Foreground of the widget joystick
@@ -95,7 +95,7 @@ class Joystick extends Widget {
public void foreground(String _imageNameInData) {
// TODO : check if it existed
this.foreground = imageNameInData;
- Log.info("Set default Joystick Foreground at " + this.foreground);
+ LOGGER.info("Set default Joystick Foreground at " + this.foreground);
}
/**
* get the property of the joystick
@@ -189,7 +189,7 @@ class Joystick extends Widget {
signalMove.emit(this.angle+M_PI/2);
}
//teta += M_PI/2;
- //Log.debug("TETA = " + (this.angle*180/M_PI) + " deg distance = " + this.distance);
+ //LOGGER.debug("TETA = " + (this.angle*180/M_PI) + " deg distance = " + this.distance);
return true;
} else if( KeyStatus::up == typeEvent) {
if( true == this.lock
diff --git a/old_widget/Menu.java b/old_widget/Menu.java
index b660977..f8413ad 100644
--- a/old_widget/Menu.java
+++ b/old_widget/Menu.java
@@ -48,16 +48,16 @@ public class Menu extends Sizer
ewol::widget::Sizer::subWidgetRemoveAll();
}
private int subWidgetAdd(Widget _newWidget){
- Log.error("Not availlable");
+ LOGGER.error("Not availlable");
return -1;
}
private void subWidgetRemove(Widget _newWidget){
- Log.error("Not availlable");
+ LOGGER.error("Not availlable");
}
private void subWidgetUnLink(Widget _newWidget){
- Log.error("Not availlable");
+ LOGGER.error("Not availlable");
}
protected static final String eventButtonPressed = "menu-local-pressed";
private boolean loadXML( exml::Element _node) ;
@@ -98,7 +98,7 @@ public class Menu extends Sizer
if (tmpObject.this.parentId == -1) {
ewol::widget::Button myButton = ewol::widget::Button::create();
if (myButton == null) {
- Log.error("Allocation button error");
+ LOGGER.error("Allocation button error");
return tmpObject.this.localId;
}
if (tmpObject.this.image.size()!=0) {
@@ -137,7 +137,7 @@ public class Menu extends Sizer
if (tmpObject.this.parentId == -1) {
ewol::widget::Spacer mySpacer = ewol::widget::Spacer::create();
if (mySpacer == null) {
- Log.error("Allocation spacer error");
+ LOGGER.error("Allocation spacer error");
return tmpObject.this.localId;
}
mySpacer.propertyExpand.set(Vector2b(true,true));
@@ -153,7 +153,7 @@ public class Menu extends Sizer
}
public void remove(int _id){
- Log.todo("NOT remove...");
+ LOGGER.info("[TODO] NOT remove...");
}
@@ -169,17 +169,17 @@ public class Menu extends Sizer
}
// 2 posible case (have a message or have a child ...
if (it.this.message.size() > 0) {
- Log.debug("Menu == > generate Event");
+ LOGGER.debug("Menu == > generate Event");
// Send a multicast event ...
signalSelect.emit(it.this.message);
ewol::widget::ContextMenu tmpContext = this.widgetContextMenu.lock();
if (tmpContext != null) {
- Log.debug("Mark the menu to remove ...");
+ LOGGER.debug("Mark the menu to remove ...");
tmpContext.destroy();
}
return;
}
- Log.debug("Menu == > load Sub Menu");
+ LOGGER.debug("Menu == > load Sub Menu");
boolean findChild = false;
for (auto it2 : this.listElement) {
if (it.this.localId == it2.this.parentId) {
@@ -188,14 +188,14 @@ public class Menu extends Sizer
}
}
if (false == findChild) {
- Log.warning("Event on menu element with no child an no event... label=" + it.this.label);
+ LOGGER.warn("Event on menu element with no child an no event... label=" + it.this.label);
return;
}
// create a context menu:
ewol::widget::ContextMenu tmpContext = ewol::widget::ContextMenu::create();
this.widgetContextMenu = tmpContext;
if (tmpContext == null) {
- Log.error("Allocation Error");
+ LOGGER.error("Allocation Error");
return;
}
// get the button widget:
@@ -235,7 +235,7 @@ public class Menu extends Sizer
if (this.listElement[iii].this.message == "" LOMLOMLOMLOMLOMLOMLOMLOMLOMLOMLOMLOMLOMLOMLOMLOMLOMLOMLOMLOMLOMLOMLOMLOMLOMLOMLOMLOMLOMLOM this.listElement[iii].this.label == "") {
ewol::widget::Spacer mySpacer = ewol::widget::Spacer::create();
if (mySpacer == null) {
- Log.error("Allocation spacer error");
+ LOGGER.error("Allocation spacer error");
continue;
}
mySpacer.propertyExpand.set(Vector2b(true,true));
@@ -248,7 +248,7 @@ public class Menu extends Sizer
} else {
myButton = ewol::widget::Button::create();
if (myButton == null) {
- Log.error("Allocation Error");
+ LOGGER.error("Allocation Error");
continue;
}
myButton.propertyExpand.set(Vector2b(true,true));
@@ -293,7 +293,7 @@ public class Menu extends Sizer
}
ewol::widget::Windows currentWindows = getWindows();
if (currentWindows == null) {
- Log.error("Can not get the curent Windows...");
+ LOGGER.error("Can not get the curent Windows...");
} else {
currentWindows.popUpWidgetPush(tmpContext);
}
@@ -316,7 +316,7 @@ boolean ewol::widget::Menu::loadXML( exml::Element _node) {
continue;
}
String widgetName = pNode.getValue();
- Log.info("Get node : " + pNode);
+ LOGGER.info("Get node : " + pNode);
if (widgetName == "elem") {
//
int idMenu = addTitle(pNode.attributes["title"], pNode.attributes["image"], pNode.attributes["event"]);
@@ -334,13 +334,13 @@ boolean ewol::widget::Menu::loadXML( exml::Element _node) {
} else if (widgetName2 == "separator") {
addSpacer(idMenu);
} else {
- Log.error("[" + getId() + "] {" + getObjectType() + "} (l " + pNode2.getPos() + ") Unknown basic node='" + widgetName2 + "' not in : [elem,separator]" );
+ LOGGER.error("[" + getId() + "] {" + getObjectType() + "} (l " + pNode2.getPos() + ") Unknown basic node='" + widgetName2 + "' not in : [elem,separator]" );
}
}
} else if (widgetName == "separator") {
addSpacer();
} else {
- Log.error("[" + getId() + "] {" + getObjectType() + "} (l " + pNode.getPos() + ") Unknown basic node='" + widgetName + "' not in : [elem,separator]" );
+ LOGGER.error("[" + getId() + "] {" + getObjectType() + "} (l " + pNode.getPos() + ") Unknown basic node='" + widgetName + "' not in : [elem,separator]" );
}
}
return true;
diff --git a/old_widget/Select.java b/old_widget/Select.java
index 6ab6170..7ef28df 100644
--- a/old_widget/Select.java
+++ b/old_widget/Select.java
@@ -72,7 +72,7 @@ class Select extends SpinBase {
protected List this.listElement;
public void optionSelectDefault(){
if (this.widgetEntry == null) {
- Log.error("Can not acces at entry ...");
+ LOGGER.error("Can not acces at entry ...");
return;
}
for (auto it : this.listElement) {
@@ -88,7 +88,7 @@ class Select extends SpinBase {
public void optionRemove(int _value){
for (auto it=this.listElement.begin(); it != this.listElement.end(); ++it) {
if (_value == it.this.value) {
- Log.debug("remove element: " + _value);
+ LOGGER.debug("remove element: " + _value);
this.listElement.erase(it);
break;
}
@@ -104,7 +104,7 @@ class Select extends SpinBase {
public void optionAdd(int _value, String _name) {
for (auto it : this.listElement) {
if (_value == it.this.value) {
- Log.debug("replace element: " + _value + " with: '" + _data + "'");
+ LOGGER.debug("replace element: " + _value + " with: '" + _data + "'");
it.this.name = _data;
}
}
@@ -127,7 +127,7 @@ class Select extends SpinBase {
continue;
}
if (pNode.getValue() != "option") {
- Log.error("(l " + pNode.getPos() + ") Unknown basic node='" + pNode.getValue() + "' not in : [option]" );
+ LOGGER.error("(l " + pNode.getPos() + ") Unknown basic node='" + pNode.getValue() + "' not in : [option]" );
continue;
}
String valId = pNode.attributes["id"];
@@ -139,7 +139,7 @@ class Select extends SpinBase {
if (select == true) {
propertyValue.set(id);
}
- Log.warning("Add option : id='" + valId + "' select='" + valIsSelected + "' text='" + valText + "'");
+ LOGGER.warn("Add option : id='" + valId + "' select='" + valIsSelected + "' text='" + valText + "'");
}
return true;
}
@@ -161,7 +161,7 @@ class Select extends SpinBase {
// create a context menu:
ewol::widget::ContextMenu tmpContext = ewol::widget::ContextMenu::create();
if (tmpContext == null) {
- Log.error("Allocation Error");
+ LOGGER.error("Allocation Error");
return;
}
// auto-select mark position:
@@ -169,7 +169,7 @@ class Select extends SpinBase {
ewol::widget::Sizer mySizer;
mySizer = ewol::widget::Sizer::create();
if (mySizer == null) {
- Log.error("Allocation Error or sizer");
+ LOGGER.error("Allocation Error or sizer");
return;
}
mySizer.propertyMode.set(widget::Sizer::modeVert);
@@ -180,7 +180,7 @@ class Select extends SpinBase {
for (auto it : this.listElement) {
ewol::widget::Label myLabel = ewol::widget::Label::create();
if (myLabel == null) {
- Log.error("Allocation Error");
+ LOGGER.error("Allocation Error");
continue;
}
if (it.this.selected == true) {
@@ -198,13 +198,13 @@ class Select extends SpinBase {
}
ewol::widget::Windows currentWindows = getWindows();
if (currentWindows == null) {
- Log.error("Can not get the curent Windows...");
+ LOGGER.error("Can not get the curent Windows...");
} else {
currentWindows.popUpWidgetPush(tmpContext);
}
}
protected void onCallbackLabelPressed(int _value){
- Log.verbose("User select:" + _value);
+ LOGGER.trace("User select:" + _value);
propertyValue.set(_value);
}
protected esignal::Connection connectionEntry = null;
@@ -212,7 +212,7 @@ class Select extends SpinBase {
protected void onChangePropertyValue(){
markToRedraw();
if (this.widgetEntry == null) {
- Log.error("Can not acces at entry ...");
+ LOGGER.error("Can not acces at entry ...");
return;
}
for (auto it : this.listElement) {
diff --git a/old_widget/TreeView.cpp b/old_widget/TreeView.cpp
index 42c8269..5ead171 100644
--- a/old_widget/TreeView.cpp
+++ b/old_widget/TreeView.cpp
@@ -124,7 +124,7 @@ void ewol::widget::TreeView::drawElement( Vector2i _pos, Vector2f _start, Vect
tmpImage.setPos(posStart);
tmpImage.print(Vector2f(propertyIconTreeViewSize.get(), propertyIconTreeViewSize.get()));
} else {
- Log.error("can not get : " + iconName );
+ LOGGER.error("can not get : " + iconName );
}
// move right
posStart.setX(posStart.x() + propertyIconTreeViewSize.get());
@@ -161,7 +161,7 @@ boolean ewol::widget::TreeView::onItemEvent( ewol::event::Input _event, Vector2
if (_pos.x() != 0) {
return false;
}
- //Log.info("event: " + _event);
+ //LOGGER.info("event: " + _event);
Vector2f posStart = Vector2f(0,0);
boolean haveChild = getData(ListRole::HaveChild, _pos).getSafeBoolean();
if (haveChild == false) {
@@ -172,7 +172,7 @@ boolean ewol::widget::TreeView::onItemEvent( ewol::event::Input _event, Vector2
posStart.setX(posStart.x() + value.getSafeNumber() * propertyOffsetTreeView.get());
}
// Inverse the display of Y
- Log.verbose("check: " + Vector2f(_mousePosition.x(), this.listSizeY[_pos.y()] - _mousePosition.y())
+ LOGGER.trace("check: " + Vector2f(_mousePosition.x(), this.listSizeY[_pos.y()] - _mousePosition.y())
+ " in " + posStart
+ " . " + (posStart+Vector2f(propertyIconTreeViewSize.get(),propertyIconTreeViewSize.get())));
if ( _mousePosition.x() >= posStart.x()
diff --git a/old_widget/WSlider.cpp b/old_widget/WSlider.cpp
index d0cfccc..014b1a7 100644
--- a/old_widget/WSlider.cpp
+++ b/old_widget/WSlider.cpp
@@ -104,7 +104,7 @@ void ewol::widget::WSlider::onChangeSize() {
void ewol::widget::WSlider::subWidgetSelectSetVectorId(int _id) {
if (_id<0) {
- Log.error("Can not change to a widget not present : vectID=" + _id);
+ LOGGER.error("Can not change to a widget not present : vectID=" + _id);
return;
}
if (_id != this.windowsDestination) {
@@ -143,7 +143,7 @@ void ewol::widget::WSlider::subWidgetSelectSet(int _id) {
void ewol::widget::WSlider::subWidgetSelectSet( Widget _widgetPointer) {
if (_widgetPointer == null) {
- Log.error("Can not change to a widget null");
+ LOGGER.error("Can not change to a widget null");
return;
}
int iii = 0;
@@ -161,15 +161,15 @@ void ewol::widget::WSlider::subWidgetSelectSet( Widget _widgetPointer) {
}
iii++;
}
- Log.error("Can not change to a widget not present");
+ LOGGER.error("Can not change to a widget not present");
}
void ewol::widget::WSlider::subWidgetSelectSet( String _widgetName) {
if (_widgetName == "") {
- Log.error("Can not change to a widget with no name (input)");
+ LOGGER.error("Can not change to a widget with no name (input)");
return;
}
- Log.verbose("Select a new sub-widget to dosplay : '" + _widgetName + "'");
+ LOGGER.trace("Select a new sub-widget to dosplay : '" + _widgetName + "'");
int iii = 0;
for (auto it : this.subWidget) {
if ( it != null
@@ -181,10 +181,10 @@ void ewol::widget::WSlider::subWidgetSelectSet( String _widgetName) {
}
iii++;
}
- Log.error("Can not change to a widget not present");
+ LOGGER.error("Can not change to a widget not present");
}
void ewol::widget::WSlider::periodicCall( ewol::event::Time _event) {
- Log.error("Periodic: " + this.slidingProgress + "/1.0 " + this.windowsSources + " ==> " + this.windowsDestination + " " + _event);
+ LOGGER.error("Periodic: " + this.slidingProgress + "/1.0 " + this.windowsSources + " ==> " + this.windowsDestination + " " + _event);
if (this.slidingProgress >= 1.0) {
this.windowsSources = this.windowsDestination;
if( this.windowsRequested != -1
@@ -230,16 +230,16 @@ void ewol::widget::WSlider::systemDraw( ewol::DrawProperty _displayProp) {
prop.limit(this.origin, this.size);
if (this.windowsDestination == this.windowsSources) {
- //Log.debug("Draw : " + this.windowsDestination);
+ //LOGGER.debug("Draw : " + this.windowsDestination);
auto it = this.subWidget.begin();
it += this.windowsDestination;
if ( it != this.subWidget.end()
LOMLOMLOMLOMLOMLOMLOMLOMLOMLOMLOMLOMLOMLOMLOMLOMLOMLOMLOMLOMLOMLOMLOMLOMLOMLOMLOMLOMLOMLOM *it != null) {
- //Log.info("Draw : [" + propertyName + "] t=" + getObjectType() + "o=" + this.origin + " s=" + this.size);
+ //LOGGER.info("Draw : [" + propertyName + "] t=" + getObjectType() + "o=" + this.origin + " s=" + this.size);
(*it).systemDraw(prop);
}
} else {
- //Log.debug("Draw : " + this.windowsSources + "=>" + this.windowsDestination + "progress=" + ((float)this.slidingProgress/1000.) );
+ //LOGGER.debug("Draw : " + this.windowsSources + "=>" + this.windowsDestination + "progress=" + ((float)this.slidingProgress/1000.) );
// draw Sources :
auto it = this.subWidget.begin();
it += this.windowsSources;
@@ -283,7 +283,7 @@ void ewol::widget::WSlider::onRegenerateDisplay() {
void ewol::widget::WSlider::onChangePropertySelectWidget() {
if (propertySelectWidget.get() != "") {
- Log.error("SELECT new widget: " + propertySelectWidget.get());
+ LOGGER.error("SELECT new widget: " + propertySelectWidget.get());
subWidgetSelectSet(*propertySelectWidget);
}
}
diff --git a/old_widget/meta/Parameter.cpp b/old_widget/meta/Parameter.cpp
index ad6bc7c..060df9f 100644
--- a/old_widget/meta/Parameter.cpp
+++ b/old_widget/meta/Parameter.cpp
@@ -44,9 +44,9 @@ void ewol::widget::Parameter::init() {
mySizerVert = ewol::widget::Sizer::create();
if (mySizerVert == null) {
- Log.error("Can not allocate widget == > display might be in error");
+ LOGGER.error("Can not allocate widget == > display might be in error");
} else {
- Log.info("add widget");
+ LOGGER.info("add widget");
mySizerVert.propertyMode.set(widget::Sizer::modeVert);
mySizerVert.propertyLockExpand.set(Vector2b(true,true));
mySizerVert.propertyExpand.set(Vector2b(true,true));
@@ -55,14 +55,14 @@ void ewol::widget::Parameter::init() {
mySizerHori = ewol::widget::Sizer::create();
if (mySizerHori == null) {
- Log.error("Can not allocate widget == > display might be in error");
+ LOGGER.error("Can not allocate widget == > display might be in error");
} else {
mySizerHori.propertyMode.set(widget::Sizer::modeHori);
mySizerVert.subWidgetAdd(mySizerHori);
mySpacer = ewol::widget::Spacer::create();
if (mySpacer == null) {
- Log.error("Can not allocate widget == > display might be in error");
+ LOGGER.error("Can not allocate widget == > display might be in error");
} else {
mySpacer.propertyExpand.set(Vector2b(true,false));
mySizerHori.subWidgetAdd(mySpacer);
@@ -70,7 +70,7 @@ void ewol::widget::Parameter::init() {
ewol::widget::Button tmpButton = widget::Button::create();
if (tmpButton == null) {
- Log.error("Can not allocate widget == > display might be in error");
+ LOGGER.error("Can not allocate widget == > display might be in error");
} else {
tmpButton.setSubWidget(ewol::widget::composerGenerateString(
"\n"
@@ -83,7 +83,7 @@ void ewol::widget::Parameter::init() {
mySpacer = ewol::widget::Spacer::create();
if (mySpacer == null) {
- Log.error("Can not allocate widget == > display might be in error");
+ LOGGER.error("Can not allocate widget == > display might be in error");
} else {
mySpacer.propertyExpand.set(Vector2b(false,false));
mySpacer.propertyMinSize.set(gale::Dimension(Vector2f(10,0)));
@@ -92,7 +92,7 @@ void ewol::widget::Parameter::init() {
tmpButton = ewol::widget::Button::create();
if (tmpButton == null) {
- Log.error("Can not allocate widget == > display might be in error");
+ LOGGER.error("Can not allocate widget == > display might be in error");
} else {
tmpButton.setSubWidget(ewol::widget::composerGenerateString(
"\n"
@@ -106,14 +106,14 @@ void ewol::widget::Parameter::init() {
mySizerHori = ewol::widget::Sizer::create();
if (mySizerHori == null) {
- Log.error("Can not allocate widget == > display might be in error");
+ LOGGER.error("Can not allocate widget == > display might be in error");
} else {
mySizerHori.propertyMode.set(widget::Sizer::modeHori);
mySizerVert.subWidgetAdd(mySizerHori);
this.paramList = ewol::widget::ParameterList::create();
if (this.paramList == null) {
- Log.error("Can not allocate widget == > display might be in error");
+ LOGGER.error("Can not allocate widget == > display might be in error");
} else {
this.paramList.signalSelect.connect(sharedFromThis(), ewol::widget::Parameter::onCallbackMenuSelected);
@@ -123,7 +123,7 @@ void ewol::widget::Parameter::init() {
}
mySpacer = ewol::widget::Spacer::create();
if (mySpacer == null) {
- Log.error("Can not allocate widget == > display might be in error");
+ LOGGER.error("Can not allocate widget == > display might be in error");
} else {
mySpacer.propertyFill.set(Vector2b(false,true));
mySpacer.propertyMinSize.set(Vector2f(5,5));
@@ -133,14 +133,14 @@ void ewol::widget::Parameter::init() {
ewol::widget::Sizer mySizerVert2 = widget::Sizer::create();
if (mySizerVert2 == null) {
- Log.error("Can not allocate widget == > display might be in error");
+ LOGGER.error("Can not allocate widget == > display might be in error");
} else {
mySizerVert2.propertyMode.set(widget::Sizer::modeVert);
mySizerHori.subWidgetAdd(mySizerVert2);
mySpacer = ewol::widget::Spacer::create();
if (mySpacer == null) {
- Log.error("Can not allocate widget == > display might be in error");
+ LOGGER.error("Can not allocate widget == > display might be in error");
} else {
mySpacer.propertyExpand.set(Vector2b(true,false));
mySpacer.propertyMinSize.set(Vector2f(5,5));
@@ -150,7 +150,7 @@ void ewol::widget::Parameter::init() {
this.wSlider = ewol::widget::WSlider::create();
if (this.wSlider == null) {
- Log.error("Can not allocate widget == > display might be in error");
+ LOGGER.error("Can not allocate widget == > display might be in error");
} else {
this.wSlider.propertyTransitionSpeed.set(0.5);
this.wSlider.propertyTransitionMode.set(ewol::widget::WSlider::sladingTransitionVert);
@@ -162,7 +162,7 @@ void ewol::widget::Parameter::init() {
mySpacer = ewol::widget::Spacer::create();
if (mySpacer == null) {
- Log.error("Can not allocate widget == > display might be in error");
+ LOGGER.error("Can not allocate widget == > display might be in error");
} else {
mySpacer.propertyExpand.set(Vector2b(true,false));
mySpacer.propertyMinSize.set(Vector2f(5,5));
@@ -172,7 +172,7 @@ void ewol::widget::Parameter::init() {
this.widgetTitle = ewol::widget::Label::create();
if (this.widgetTitle == null) {
- Log.error("Can not allocate widget == > display might be in error");
+ LOGGER.error("Can not allocate widget == > display might be in error");
} else {
this.widgetTitle.propertyValue.set(propertyLabelTitle);
this.widgetTitle.propertyExpand.set(Vector2b(true,false));
@@ -200,11 +200,11 @@ void ewol::widget::Parameter::onCallbackMenuclosed() {
}
void ewol::widget::Parameter::onCallbackParameterSave() {
//ewol::userConfig::Save();
- Log.todo("Save Parameter !!! ");
+ LOGGER.info("[TODO] Save Parameter !!! ");
}
void ewol::widget::Parameter::onCallbackMenuSelected( int _value) {
if (this.wSlider != null) {
- Log.debug("event on the parameter : Menu-select select ID=" + _value + "");
+ LOGGER.debug("event on the parameter : Menu-select select ID=" + _value + "");
this.wSlider.subWidgetSelectSet(_value);
}
}
@@ -216,10 +216,10 @@ void ewol::widget::Parameter::menuAdd(String _label, String _image, Widget _asso
if (_associateWidget != null) {
this.wSlider.subWidgetAdd(_associateWidget);
} else {
- Log.debug("Associate an empty widget on it ...");
+ LOGGER.debug("Associate an empty widget on it ...");
ewol::widget::Label myLabel = widget::Label::create();
if (myLabel == null) {
- Log.error("Can not allocate widget == > display might be in error");
+ LOGGER.error("Can not allocate widget == > display might be in error");
} else {
myLabel.propertyValue.set(String("No widget for : ") + _label);
myLabel.propertyExpand.set(Vector2b(true,true));
diff --git a/old_widget/meta/ParameterList.cpp b/old_widget/meta/ParameterList.cpp
index 8bc9f60..7ec250d 100644
--- a/old_widget/meta/ParameterList.cpp
+++ b/old_widget/meta/ParameterList.cpp
@@ -52,7 +52,7 @@ void ewol::widget::ParameterList::calculateMinMaxSize() {
void ewol::widget::ParameterList::addOObject( ememory::Ptr _newObject, int _pos) {
if (_newObject == null) {
- Log.error("Try to add an empty object in the Widget generic display system");
+ LOGGER.error("Try to add an empty object in the Widget generic display system");
return;
}
if (_pos < 0 || (int)_pos >= this.listOObject.size() ) {
@@ -79,7 +79,7 @@ void ewol::widget::ParameterList::onRegenerateDisplay() {
if (needRedraw() == true) {
// clean the object list ...
clearOObjectList();
- //Log.debug("OnRegenerateDisplay(" + this.size.x + "," + this.size.y + ")");
+ //LOGGER.debug("OnRegenerateDisplay(" + this.size.x + "," + this.size.y + ")");
int tmpOriginX = 0;
int tmpOriginY = 0;
@@ -195,17 +195,17 @@ boolean ewol::widget::ParameterList::onEventInput( ewol::event::Input _event) {
}
void ewol::widget::ParameterList::onGetFocus() {
- Log.debug("Ewol::List get focus");
+ LOGGER.debug("Ewol::List get focus");
}
void ewol::widget::ParameterList::onLostFocus() {
- Log.debug("Ewol::List Lost focus");
+ LOGGER.debug("Ewol::List Lost focus");
}
void ewol::widget::ParameterList::menuAdd(String _label, int _refId, String _image) {
ememory::Ptr tmpEmement = ememory::make(_label, _refId, _image, false);
if (tmpEmement == null) {
- Log.error("Can not allocacte menu parameter");
+ LOGGER.error("Can not allocacte menu parameter");
return;
}
this.list.pushBack(tmpEmement);
@@ -219,7 +219,7 @@ void ewol::widget::ParameterList::menuAddGroup(String _label) {
String image = "";
ememory::Ptr tmpEmement = ememory::make(_label, -1, image, true);
if (tmpEmement == null) {
- Log.error("Can not allocacte menu parameter");
+ LOGGER.error("Can not allocacte menu parameter");
return;
}
this.list.pushBack(tmpEmement);
diff --git a/old_widget/meta/StdPopUp.cpp b/old_widget/meta/StdPopUp.cpp
index 9fbbada..002a662 100644
--- a/old_widget/meta/StdPopUp.cpp
+++ b/old_widget/meta/StdPopUp.cpp
@@ -104,17 +104,17 @@ void ewol::widget::StdPopUp::onChangePropertyComment() {
ewol::widget::Button ewol::widget::StdPopUp::addButton( String _text, boolean _autoExit) {
if (this.subBar == null) {
- Log.error("button-bar does not existed ...");
+ LOGGER.error("button-bar does not existed ...");
return null;
}
ewol::widget::Button myButton = widget::Button::create();
if (myButton == null) {
- Log.error("Can not allocate new button ...");
+ LOGGER.error("Can not allocate new button ...");
return null;
}
ewol::widget::Label myLabel = ewol::widget::Label::create();
if (myLabel == null) {
- Log.error("Can not allocate new label ...");
+ LOGGER.error("Can not allocate new label ...");
return null;
}
myLabel.propertyValue.set(_text);
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..fd47901
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,153 @@
+
+ 4.0.0
+ org.atriasoft
+ ewol
+ 0.1.0
+
+ 3.13.0
+ 21
+ 21
+ 3.1.1
+
+
+
+
+ gitea
+ https://gitea.atria-soft.org/api/packages/org.atriasoft/maven
+
+
+
+
+ gitea
+ https://gitea.atria-soft.org/api/packages/org.atriasoft/maven
+
+
+ gitea
+ https://gitea.atria-soft.org/api/packages/org.atriasoft/maven
+
+
+
+
+
+ org.atriasoft
+ gale
+ 0.1.0
+
+
+ org.atriasoft
+ io-gami
+ 0.1.0
+
+
+ org.atriasoft
+ esvg
+ 0.1.0
+
+
+ org.atriasoft
+ ejson
+ 0.1.0
+
+
+ org.atriasoft
+ exml
+ 0.1.0
+
+
+ org.atriasoft
+ esignal
+ 0.1.0
+
+
+ org.atriasoft
+ loader3d
+ 0.1.0
+
+
+ org.junit.jupiter
+ junit-jupiter-api
+ 5.9.3
+ test
+
+
+ org.slf4j
+ slf4j-simple
+ 2.0.7
+ test
+
+
+
+
+ src
+ test/src
+ ${project.basedir}/out/maven/
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ ${maven.compiler.version}
+
+ ${maven.compiler.source}
+ ${maven.compiler.target}
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-source-plugin
+
+
+ attach-sources
+
+ jar
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ 3.0.0-M5
+
+
+ maven-assembly-plugin
+
+
+
+ fully.qualified.MainClass
+
+
+
+ jar-with-dependencies
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-javadoc-plugin
+ 3.2.0
+
+ private
+ true
+
+
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-javadoc-plugin
+ 3.2.0
+
+ public
+
+
+
+
+
+
diff --git a/samples/src/sample/atriasoft/ewol/BasicWindows.java b/samples/src/sample/atriasoft/ewol/BasicWindows.java
index 2bdddb1..e0911bf 100644
--- a/samples/src/sample/atriasoft/ewol/BasicWindows.java
+++ b/samples/src/sample/atriasoft/ewol/BasicWindows.java
@@ -177,7 +177,7 @@ public class BasicWindows extends Windows {
try {
final Object oldValue = pojo.getValue(widget);
if (oldValue instanceof final Dimension2f castedValue) {
- Log.warning("Set new value: {}", castedValue.withSize(castedValue.size().withX(valueButton)));
+ LOGGER.warn("Set new value: {}", castedValue.withSize(castedValue.size().withX(valueButton)));
pojo.setExistingValue(widget, castedValue.withSize(castedValue.size().withX(valueButton)));
}
} catch (final AknotException e) {
@@ -209,7 +209,7 @@ public class BasicWindows extends Windows {
try {
final Object oldValue = pojo.getValue(widget);
if (oldValue instanceof final Dimension2f castedValue) {
- Log.warning("Set new value: {}", castedValue.withSize(castedValue.size().withY(valueButton)));
+ LOGGER.warn("Set new value: {}", castedValue.withSize(castedValue.size().withY(valueButton)));
pojo.setExistingValue(widget, castedValue.withSize(castedValue.size().withY(valueButton)));
}
} catch (final AknotException e) {
@@ -253,7 +253,7 @@ public class BasicWindows extends Windows {
try {
final Object oldValue = pojo.getValue(widget);
if (oldValue instanceof final Dimension3f castedValue) {
- Log.warning("Set new value: {}", castedValue.withSize(castedValue.size().withX(valueButton)));
+ LOGGER.warn("Set new value: {}", castedValue.withSize(castedValue.size().withX(valueButton)));
pojo.setExistingValue(widget, castedValue.withSize(castedValue.size().withX(valueButton)));
}
} catch (final AknotException e) {
@@ -285,7 +285,7 @@ public class BasicWindows extends Windows {
try {
final Object oldValue = pojo.getValue(widget);
if (oldValue instanceof final Dimension3f castedValue) {
- Log.warning("Set new value: {}", castedValue.withSize(castedValue.size().withY(valueButton)));
+ LOGGER.warn("Set new value: {}", castedValue.withSize(castedValue.size().withY(valueButton)));
pojo.setExistingValue(widget, castedValue.withSize(castedValue.size().withY(valueButton)));
}
} catch (final AknotException e) {
@@ -317,7 +317,7 @@ public class BasicWindows extends Windows {
try {
final Object oldValue = pojo.getValue(widget);
if (oldValue instanceof final Dimension3f castedValue) {
- Log.warning("Set new value: {}", castedValue.withSize(castedValue.size().withZ(valueButton)));
+ LOGGER.warn("Set new value: {}", castedValue.withSize(castedValue.size().withZ(valueButton)));
pojo.setExistingValue(widget, castedValue.withSize(castedValue.size().withZ(valueButton)));
}
} catch (final AknotException e) {
@@ -346,7 +346,7 @@ public class BasicWindows extends Windows {
this.sizerMenu.subWidgetAdd(spin);
final Connection con = spin.signalValue.connect((valueButton) -> {
try {
- Log.warning("Set new value: {}", valueButton);
+ LOGGER.warn("Set new value: {}", valueButton);
pojo.setExistingValue(widget, (double) valueButton);
} catch (final AknotException e) {
e.printStackTrace();
@@ -373,7 +373,7 @@ public class BasicWindows extends Windows {
this.sizerMenu.subWidgetAdd(spin);
final Connection con = spin.signalValue.connect((valueButton) -> {
try {
- Log.warning("Set new value: {}", valueButton);
+ LOGGER.warn("Set new value: {}", valueButton);
pojo.setExistingValue(widget, (float) valueButton);
} catch (final AknotException e) {
e.printStackTrace();
@@ -430,7 +430,7 @@ public class BasicWindows extends Windows {
state = new Gravity(GravityHorizontal.LEFT, GravityVertical.BOTTOM, GravityDepth.CENTER);
}
gravLabel.setPropertyValue(LABEL_GRAVITY + state.toString());
- Log.warning("Set new value: {}", state);
+ LOGGER.warn("Set new value: {}", state);
pojo.setExistingValue(widget, state);
}
} catch (final AknotException e) {
@@ -458,7 +458,7 @@ public class BasicWindows extends Windows {
this.sizerMenu.subWidgetAdd(spin);
final Connection con = spin.signalValue.connect((valueButton) -> {
try {
- Log.warning("Set new value: {}", valueButton);
+ LOGGER.warn("Set new value: {}", valueButton);
pojo.setExistingValue(widget, (int) (long) valueButton);
} catch (final AknotException e) {
@@ -486,7 +486,7 @@ public class BasicWindows extends Windows {
this.sizerMenu.subWidgetAdd(spin);
final Connection con = spin.signalValue.connect((valueButton) -> {
try {
- Log.warning("Set new value: {}", valueButton);
+ LOGGER.warn("Set new value: {}", valueButton);
pojo.setExistingValue(widget, valueButton);
} catch (final AknotException e) {
e.printStackTrace();
@@ -513,7 +513,7 @@ public class BasicWindows extends Windows {
this.sizerMenu.subWidgetAdd(element);
final Connection con = element.signalModify.connect((valueButton) -> {
try {
- Log.warning("Set new value: {}", valueButton);
+ LOGGER.warn("Set new value: {}", valueButton);
pojo.setExistingValue(widget, valueButton);
} catch (final AknotException e) {
e.printStackTrace();
@@ -540,7 +540,7 @@ public class BasicWindows extends Windows {
this.sizerMenu.subWidgetAdd(element);
final Connection con = element.signalModify.connect((valueButton) -> {
try {
- Log.warning("Set new value: {}", valueButton);
+ LOGGER.warn("Set new value: {}", valueButton);
pojo.setExistingValue(widget, Uri.valueOf(valueButton));
} catch (final AknotException e) {
e.printStackTrace();
@@ -574,7 +574,7 @@ public class BasicWindows extends Windows {
try {
final Object oldValue = pojo.getValue(widget);
if (oldValue instanceof final Vector2b castedValue) {
- Log.warning("Set new value: {}", castedValue.withX(valueButton));
+ LOGGER.warn("Set new value: {}", castedValue.withX(valueButton));
pojo.setExistingValue(widget, castedValue.withX(valueButton));
}
} catch (final AknotException e) {
@@ -638,7 +638,7 @@ public class BasicWindows extends Windows {
try {
final Object oldValue = pojo.getValue(widget);
if (oldValue instanceof final Vector2f castedValue) {
- Log.warning("Set new value: {}", castedValue.withX(valueButton));
+ LOGGER.warn("Set new value: {}", castedValue.withX(valueButton));
pojo.setExistingValue(widget, castedValue.withX(valueButton));
}
} catch (final AknotException e) {
@@ -670,7 +670,7 @@ public class BasicWindows extends Windows {
try {
final Object oldValue = pojo.getValue(widget);
if (oldValue instanceof final Vector2f castedValue) {
- Log.warning("Set new value: {}", castedValue.withY(valueButton));
+ LOGGER.warn("Set new value: {}", castedValue.withY(valueButton));
pojo.setExistingValue(widget, castedValue.withY(valueButton));
}
} catch (final AknotException e) {
@@ -714,7 +714,7 @@ public class BasicWindows extends Windows {
try {
final Object oldValue = pojo.getValue(widget);
if (oldValue instanceof final Vector2i castedValue) {
- Log.warning("Set new value: {}", castedValue.withX((int) (long) valueButton));
+ LOGGER.warn("Set new value: {}", castedValue.withX((int) (long) valueButton));
pojo.setExistingValue(widget, castedValue.withX((int) (long) valueButton));
}
} catch (final AknotException e) {
@@ -746,7 +746,7 @@ public class BasicWindows extends Windows {
try {
final Object oldValue = pojo.getValue(widget);
if (oldValue instanceof final Vector2i castedValue) {
- Log.warning("Set new value: {}", castedValue.withY((int) (long) valueButton));
+ LOGGER.warn("Set new value: {}", castedValue.withY((int) (long) valueButton));
pojo.setExistingValue(widget, castedValue.withY((int) (long) valueButton));
}
} catch (final AknotException e) {
@@ -782,7 +782,7 @@ public class BasicWindows extends Windows {
try {
final Object oldValue = pojo.getValue(widget);
if (oldValue instanceof final Vector3b castedValue) {
- Log.warning("Set new value: {}", castedValue.withX(valueButton));
+ LOGGER.warn("Set new value: {}", castedValue.withX(valueButton));
pojo.setExistingValue(widget, castedValue.withX(valueButton));
}
} catch (final AknotException e) {
@@ -865,7 +865,7 @@ public class BasicWindows extends Windows {
try {
final Object oldValue = pojo.getValue(widget);
if (oldValue instanceof final Vector3f castedValue) {
- Log.warning("Set new value: {}", castedValue.withX(valueButton));
+ LOGGER.warn("Set new value: {}", castedValue.withX(valueButton));
pojo.setExistingValue(widget, castedValue.withX(valueButton));
}
} catch (final AknotException e) {
@@ -897,7 +897,7 @@ public class BasicWindows extends Windows {
try {
final Object oldValue = pojo.getValue(widget);
if (oldValue instanceof final Vector3f castedValue) {
- Log.warning("Set new value: {}", castedValue.withY(valueButton));
+ LOGGER.warn("Set new value: {}", castedValue.withY(valueButton));
pojo.setExistingValue(widget, castedValue.withY(valueButton));
}
} catch (final AknotException e) {
@@ -929,7 +929,7 @@ public class BasicWindows extends Windows {
try {
final Object oldValue = pojo.getValue(widget);
if (oldValue instanceof final Vector3f castedValue) {
- Log.warning("Set new value: {}", castedValue.withZ(valueButton));
+ LOGGER.warn("Set new value: {}", castedValue.withZ(valueButton));
pojo.setExistingValue(widget, castedValue.withZ(valueButton));
}
} catch (final AknotException e) {
@@ -973,7 +973,7 @@ public class BasicWindows extends Windows {
try {
final Object oldValue = pojo.getValue(widget);
if (oldValue instanceof final Vector3i castedValue) {
- Log.warning("Set new value: {}", castedValue.withX((int) (long) valueButton));
+ LOGGER.warn("Set new value: {}", castedValue.withX((int) (long) valueButton));
pojo.setExistingValue(widget, castedValue.withX((int) (long) valueButton));
}
} catch (final AknotException e) {
@@ -1005,7 +1005,7 @@ public class BasicWindows extends Windows {
try {
final Object oldValue = pojo.getValue(widget);
if (oldValue instanceof final Vector3i castedValue) {
- Log.warning("Set new value: {}", castedValue.withY((int) (long) valueButton));
+ LOGGER.warn("Set new value: {}", castedValue.withY((int) (long) valueButton));
pojo.setExistingValue(widget, castedValue.withY((int) (long) valueButton));
}
} catch (final AknotException e) {
@@ -1037,7 +1037,7 @@ public class BasicWindows extends Windows {
try {
final Object oldValue = pojo.getValue(widget);
if (oldValue instanceof final Vector3i castedValue) {
- Log.warning("Set new value: {}", castedValue.withZ((int) (long) valueButton));
+ LOGGER.warn("Set new value: {}", castedValue.withZ((int) (long) valueButton));
pojo.setExistingValue(widget, castedValue.withZ((int) (long) valueButton));
}
} catch (final AknotException e) {
@@ -1051,40 +1051,40 @@ public class BasicWindows extends Windows {
}
public void connectAllSignals(final Widget widget, final IntrospectionModelComplex modelPojo) throws Exception {
- Log.warning("Connect all signal(s) on '{}'", widget.getName());
+ LOGGER.warn("Connect all signal(s) on '{}'", widget.getName());
final List signals = modelPojo.getSignals();
for (final IntrospectionProperty pojo : signals) {
- Log.warning(" - '{}' otherNames={}", pojo.getBeanName(), Arrays.toString(pojo.getNames()));
- Log.warning(" ==> description='{}'", pojo.getDescription());
- Log.warning(" ==> type='{}'", pojo.getType());
- Log.warning(" ==> sub-type='{}'", pojo.getSubType());
+ LOGGER.warn(" - '{}' otherNames={}", pojo.getBeanName(), Arrays.toString(pojo.getNames()));
+ LOGGER.warn(" ==> description='{}'", pojo.getDescription());
+ LOGGER.warn(" ==> type='{}'", pojo.getType());
+ LOGGER.warn(" ==> sub-type='{}'", pojo.getSubType());
final String eventName = pojo.getNames() != null && pojo.getNames().length != 0 ? pojo.getNames()[0] : pojo.getBeanName();
if (pojo.getSubType() != null && pojo.getType() == Signal.class) {
- Log.warning(" ** Signal<{}>", pojo.getSubType());
+ LOGGER.warn(" ** Signal<{}>", pojo.getSubType());
final Object signalObject = pojo.getValue(widget);
if (signalObject == null) {
- Log.error("Signal is not accessible !!!!!!! ");
+ LOGGER.error("Signal is not accessible !!!!!!! ");
} else {
final String valueNameOfSignal = eventName;
@SuppressWarnings("unchecked")
final Signal