Commit 937bda8f authored by Sonja Happ's avatar Sonja Happ

re-organize widget and dashboard files

parent 800428b7
import { expect } from 'chai';
import createControls from '../../widget/edit-widget-control-creator';
import EditWidgetTextControl from '../../widget/edit-widget-text-control';
import EditWidgetColorControl from '../../widget/edit-widget-color-control';
import EditWidgetTimeControl from '../../widget/edit-widget-time-control';
import EditImageWidgetControl from '../../widget/edit-widget-image-control';
import EditWidgetSimulationControl from '../../widget/edit-widget-simulation-control';
import EditWidgetSignalControl from '../../widget/edit-widget-signal-control';
import EditWidgetSignalsControl from '../../widget/edit-widget-signals-control';
import EditWidgetOrientation from '../../widget/edit-widget-orientation';
import EditWidgetTextSizeControl from '../../widget/edit-widget-text-size-control';
import EditWidgetAspectControl from '../../widget/edit-widget-aspect-control';
import EditWidgetCheckboxControl from '../../widget/edit-widget-checkbox-control';
import EditWidgetMinMaxControl from '../../widget/edit-widget-min-max-control';
import EditWidgetColorZonesControl from '../../widget/edit-widget-color-zones-control';
import EditWidgetHTMLContent from '../../widget/edit-widget-html-content';
import EditWidgetNumberControl from '../../widget/edit-widget-number-control';
import createControls from '../../widget/edit-widget/edit-widget-control-creator';
import EditWidgetTextControl from '../../widget/edit-widget/edit-widget-text-control';
import EditWidgetColorControl from '../../widget/edit-widget/edit-widget-color-control';
import EditWidgetTimeControl from '../../widget/edit-widget/edit-widget-time-control';
import EditImageWidgetControl from '../../widget/edit-widget/edit-widget-image-control';
import EditWidgetSimulationControl from '../../widget/edit-widget/edit-widget-simulation-control';
import EditWidgetSignalControl from '../../widget/edit-widget/edit-widget-signal-control';
import EditWidgetSignalsControl from '../../widget/edit-widget/edit-widget-signals-control';
import EditWidgetOrientation from '../../widget/edit-widget/edit-widget-orientation';
import EditWidgetTextSizeControl from '../../widget/edit-widget/edit-widget-text-size-control';
import EditWidgetAspectControl from '../../widget/edit-widget/edit-widget-aspect-control';
import EditWidgetCheckboxControl from '../../widget/edit-widget/edit-widget-checkbox-control';
import EditWidgetMinMaxControl from '../../widget/edit-widget/edit-widget-min-max-control';
import EditWidgetColorZonesControl from '../../widget/edit-widget/edit-widget-color-zones-control';
import EditWidgetHTMLContent from '../../widget/edit-widget/edit-widget-html-content';
import EditWidgetNumberControl from '../../widget/edit-widget/edit-widget-number-control';
describe('edit widget control creator', () => {
it('should not return null', () => {
......
......@@ -25,11 +25,10 @@ import Fullscreenable from 'react-fullscreenable';
import classNames from 'classnames';
import Widget from '../widget/widget';
import EditWidget from '../widget/edit-widget';
import WidgetContextMenu from './widget-context-menu';
import WidgetToolbox from './widget-toolbox';
import WidgetArea from './widget-area';
import EditWidget from '../widget/edit-widget/edit-widget';
import WidgetContextMenu from '../widget/widget-context-menu';
import WidgetToolbox from '../widget/widget-toolbox';
import WidgetArea from '../widget/widget-area';
import DashboardButtonGroup from './dashboard-button-group';
import LoginStore from '../user/login-store';
......
......@@ -23,9 +23,9 @@ import React from 'react';
import { FormGroup, FormLabel, Button } from 'react-bootstrap';
import Icon from '../common/icon';
import Table from '../common/table';
import TableColumn from '../common/table-column';
import Icon from '../../common/icon';
import Table from '../../common/table';
import TableColumn from '../../common/table-column';
class EditWidgetColorZonesControl extends React.Component {
constructor(props) {
......
......@@ -22,7 +22,7 @@
import React from 'react';
import { FormGroup, FormControl, FormLabel, Button, ProgressBar } from 'react-bootstrap';
import AppDispatcher from '../common/app-dispatcher';
import AppDispatcher from '../../common/app-dispatcher';
class EditImageWidgetControl extends React.Component {
constructor(props) {
......
......@@ -22,7 +22,7 @@
import React, { Component } from 'react';
import { FormGroup, Col, Row, FormCheck, FormLabel } from 'react-bootstrap';
import WidgetSlider from './widgets/slider';
import WidgetSlider from '../widgets/slider';
class EditWidgetOrientation extends Component {
constructor(props) {
......
......@@ -21,7 +21,7 @@
import React, { Component } from 'react';
import { FormGroup, FormLabel } from 'react-bootstrap';
import ParametersEditor from '../common/parameters-editor';
import ParametersEditor from '../../common/parameters-editor';
class EditWidgetParametersControl extends Component {
constructor(props) {
......
......@@ -22,7 +22,7 @@
import React from 'react';
//import { FormGroup, FormControl, FormLabel } from 'react-bootstrap';
import Dialog from '../common/dialogs/dialog';
import Dialog from '../../common/dialogs/dialog';
import CreateControls from './edit-widget-control-creator';
......
......@@ -25,7 +25,7 @@ import PropTypes from 'prop-types';
import Dropzone from './dropzone';
import Grid from './grid';
import WidgetFactory from '../widget/widget-factory';
import WidgetFactory from './widget-factory';
class WidgetArea extends React.Component {
snapToGrid(value) {
......
......@@ -22,7 +22,7 @@
import React from 'react';
import PropTypes from 'prop-types';
import { Menu, Item, Separator, MenuProvider } from 'react-contexify';
import Widget from '../widget/widget';
import Widget from './widget';
class WidgetContextMenu extends React.Component {
editWidget = event => {
......
......@@ -22,7 +22,7 @@
import React, { Component } from 'react';
import EditWidgetColorControl from '../edit-widget-color-control';
import EditWidgetColorControl from '../edit-widget/edit-widget-color-control';
class WidgetBox extends Component {
render() {
......
......@@ -21,7 +21,7 @@
import React, { Component } from 'react';
import EditWidgetColorControl from '../edit-widget-color-control';
import EditWidgetColorControl from '../edit-widget/edit-widget-color-control';
class WidgetLabel extends Component {
render() {
......
......@@ -21,7 +21,7 @@
import React, { Component } from 'react';
import EditWidgetColorControl from '../edit-widget-color-control';
import EditWidgetColorControl from '../edit-widget/edit-widget-color-control';
class WidgetLamp extends Component {
constructor(props) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment