Change ComboBoxView by IComboBoxView and ComboBoxPopUp by IStrandWithModelView
diff --git a/frameworks/projects/.vscode/tasks.json b/frameworks/projects/.vscode/tasks.json
index f207ad4..9079eee 100644
--- a/frameworks/projects/.vscode/tasks.json
+++ b/frameworks/projects/.vscode/tasks.json
@@ -1,9 +1,28 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
- "version": "0.1.0",
+ "version": "2.0.0",
"command": "mvn",
- "args": ["clean", "install", "-DskipTests"],
- "isShellCommand": true,
- "showOutput": "always"
+ "args": [
+ "clean",
+ "install",
+ "-DskipTests"
+ ],
+ "tasks": [
+ {
+ "label": "mvn",
+ "type": "shell",
+ "command": "mvn",
+ "args": [
+ "clean",
+ "install",
+ "-DskipTests"
+ ],
+ "problemMatcher": [],
+ "group": {
+ "_id": "build",
+ "isDefault": false
+ }
+ }
+ ]
}
diff --git a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/controls/combobox/ComboBoxListWidth.as b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/controls/combobox/ComboBoxListWidth.as
index 69df6b7..1a5fd29 100644
--- a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/controls/combobox/ComboBoxListWidth.as
+++ b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/controls/combobox/ComboBoxListWidth.as
@@ -22,9 +22,9 @@
import org.apache.royale.core.IStrand;
import org.apache.royale.events.Event;
import org.apache.royale.jewel.ComboBox;
- import org.apache.royale.jewel.supportClasses.combobox.ComboBoxPopUp;
- import org.apache.royale.jewel.beads.views.ComboBoxView;
+ import org.apache.royale.jewel.beads.controls.combobox.IComboBoxView;
import org.apache.royale.jewel.beads.views.ComboBoxPopUpView;
+ import org.apache.royale.core.IStrandWithModelView;
/**
* The ComboBoxListWidth class is a specialty bead that can be used with
@@ -82,7 +82,7 @@
private function popUpOpenedHandler(event:Event):void
{
if (width > 0)
- (((_strand.view as ComboBoxView).popup as ComboBoxPopUp).view as ComboBoxPopUpView).list.width = width;
+ (((_strand.view as IComboBoxView).popup as IStrandWithModelView).view as ComboBoxPopUpView).list.width = width;
}
}
}
\ No newline at end of file