/*
 * Copyright (c) 2007 Stiftung Deutsches Elektronen-Synchrotron, Member of the Helmholtz
 * Association, (DESY), HAMBURG, GERMANY.
 *
 * THIS SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "../AS IS" BASIS. WITHOUT WARRANTY OF ANY
 * KIND, EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 * DEALINGS IN THE SOFTWARE. SHOULD THE SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, THE USER ASSUMES
 * THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY
 * CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY SOFTWARE IS AUTHORIZED HEREUNDER
 * EXCEPT UNDER THIS DISCLAIMER. DESY HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
 * ENHANCEMENTS, OR MODIFICATIONS. THE FULL LICENSE SPECIFYING FOR THE SOFTWARE THE REDISTRIBUTION,
 * MODIFICATION, USAGE AND OTHER RIGHTS AND OBLIGATIONS IS INCLUDED WITH THE DISTRIBUTION OF THIS
 * PROJECT IN THE FILE LICENSE.HTML. IF THE LICENSE IS NOT INCLUDED YOU MAY FIND A COPY AT
 * HTTP://WWW.DESY.DE/LEGAL/LICENSE.HTM
 */
/*
 * $Id$
 */
package org.csstudio.sds.behavior.desy;

import org.csstudio.sds.components.model.StripChartModel;
import org.csstudio.sds.model.AbstractWidgetModel;
import org.csstudio.sds.model.BorderStyleEnum;
import org.epics.css.dal.context.ConnectionState;
import org.epics.css.dal.simple.AnyData;
import org.epics.css.dal.simple.MetaData;

/**
 * @author hrickens
 * @author $Author$
 * @version $Revision$
 * @since 26.03.2010
 */
public class StripChartBehavior extends AbstractDesyConnectionBehavior<StripChartModel> {

    /**
     * Constructor.
     */
    public StripChartBehavior() {
        addInvisiblePropertyId(AbstractWidgetModel.PROP_NAME);
        addInvisiblePropertyId(StripChartModel.PROP_ACTIONDATA);
        addInvisiblePropertyId(StripChartModel.PROP_CURSOR);
        addInvisiblePropertyId(StripChartModel.PROP_BORDER_COLOR);
        addInvisiblePropertyId(StripChartModel.PROP_BORDER_STYLE);
        addInvisiblePropertyId(StripChartModel.PROP_BORDER_WIDTH);
    }

    @Override
    protected void doInitialize(final StripChartModel widget) {
        widget.setPropertyValue(StripChartModel.PROP_BORDER_STYLE, BorderStyleEnum.RAISED);
    }

    @Override
    protected void doProcessConnectionStateChange(final StripChartModel widget,
                                                  final ConnectionState connectionState) {
    }

    @Override
    protected void doProcessMetaDataChange(final StripChartModel widget, final MetaData metaData) {
    }

    @Override
    protected void doProcessValueChange(final StripChartModel model, final AnyData anyData) {
    }

}

@@ -1450,197 +1450,8 @@
 el;%0A
-import org.csstudio.sds.model.AbstractWidgetModel;%0Aimport org.csstudio.sds.model.BorderStyleEnum;%0Aimport org.epics.css.dal.context.ConnectionState;%0Aimport org.epics.css.dal.simple.AnyData;%0A
 impo
@@ -1746,71 +1746,8 @@
 ) %7B%0A
-        addInvisiblePropertyId(AbstractWidgetModel.PROP_NAME);%0A
     
@@ -1815,641 +1815,49 @@
     
-    addInvisiblePropertyId(StripChartModel.PROP_CURSOR);%0A        addInvisiblePropertyId(StripChartModel.PROP_BORDER_COLOR);%0A        addInvisiblePropertyId(StripChartModel.PROP_BORDER_STYLE);%0A        addInvisiblePropertyId(StripChartModel.PROP_BORDER_WIDTH);%0A    %7D%0A%0A    @Override%0A    protected void doInitialize(final StripChartModel widget) %7B%0A        widget.setPropertyValue(StripChartModel.PROP_BORDER_STYLE, BorderStyleEnum.RAISED);%0A    %7D%0A%0A    @Override%0A    protected void doProcessConnectionStateChange(final StripChartModel widget,%0A                                                  final ConnectionState connectionState) %7B
+%7D%0A%0A    /**%0A    %09%09* %7B@inheritDoc%7D
 %0A    
-%7D%0A
+%09%09*/
 %0A   
@@ -1975,118 +1975,47 @@
     
-%7D%0A%0A
     
-@Override%0A    protected void doProcessValueChange(final StripChartModel model, final AnyData anyData) %7B
+// TODO Auto-generated method stub%0A
 %0A   

refactor the doGetInvisiblePropertyIds