Java 类ims.emergency.vo.enums.AreaWorkspaceEvent 实例源码

项目:AvoinApotti    文件:Logic.java   
protected void onCcAreaWorkspaceConfigValueChanged() throws PresentationLogicException
{

    if (AreaWorkspaceEvent.COMBOVALUECHANGED.equals(form.lyr1().tabAreaWorkspace().ccAreaWorkspaceConfig().getSelectedEvent()))
    {
        form.getLocalContext().setAreaFromAreaWorkspace(form.lyr1().tabAreaWorkspace().ccAreaWorkspaceConfig().getFromAreaCombo());
        updateControlsState();
    }
    //WDEV-14896
    else if (AreaWorkspaceEvent.COPYAREAWORKSPACEDIALOGCLOSED.equals(form.lyr1().tabAreaWorkspace().ccAreaWorkspaceConfig().getSelectedEvent()))
    {
        open();
        form.lyr1().showtabAreaWorkspace();
    }

}
项目:AvoinApotti    文件:Logic.java   
@Override
protected void onFormDialogClosed(FormName formName, DialogResult result) throws PresentationLogicException
{
    if (formName.equals(form.getForms().Emergency.TrackingAreaColumnConfigurationDialog)&& result.equals(DialogResult.OK)) //WDEV-14896
    {
        // open();
        populateGridWithOrder();
    }
    //WDEV-14896
    else if (formName.equals(form.getForms().Emergency.CopyAreaWorkspaceConfig)&& result.equals(DialogResult.OK))
    {
        form.getLocalContext().setSelectedEvent(AreaWorkspaceEvent.COPYAREAWORKSPACEDIALOGCLOSED);
        form.fireCustomControlValueChanged();
    }
    updateControlsState();
}
项目:AvoinApotti    文件:Logic.java   
@Override
protected void onCmbAreaValueChanged() throws PresentationLogicException
{
    if (form.cmbArea().getValue() != null)
    {
        form.getGlobalContext().Emergency.setTrackingAreaWorkspace(domain.getTrackingArea(form.cmbArea().getValue()));
    }
    else
    {
        form.getGlobalContext().Emergency.setTrackingAreaWorkspace(null);
    }

    populateGrid();
    form.getLocalContext().setSelectedEvent(AreaWorkspaceEvent.COMBOVALUECHANGED);
    form.fireCustomControlValueChanged();

}
项目:openMAXIMS    文件:Logic.java   
protected void onCcAreaWorkspaceConfigValueChanged() throws PresentationLogicException
{

    if (AreaWorkspaceEvent.COMBOVALUECHANGED.equals(form.lyr1().tabAreaWorkspace().ccAreaWorkspaceConfig().getSelectedEvent()))
    {
        form.getLocalContext().setAreaFromAreaWorkspace(form.lyr1().tabAreaWorkspace().ccAreaWorkspaceConfig().getFromAreaCombo());
        updateControlsState();
    }
    //WDEV-14896
    else if (AreaWorkspaceEvent.COPYAREAWORKSPACEDIALOGCLOSED.equals(form.lyr1().tabAreaWorkspace().ccAreaWorkspaceConfig().getSelectedEvent()))
    {
        open();
        form.lyr1().showtabAreaWorkspace();
    }

}
项目:openMAXIMS    文件:Logic.java   
@Override
protected void onFormDialogClosed(FormName formName, DialogResult result) throws PresentationLogicException
{
    if (formName.equals(form.getForms().Emergency.TrackingAreaColumnConfigurationDialog)&& result.equals(DialogResult.OK)) //WDEV-14896
    {
        // open();
        populateGridWithOrder();
    }
    //WDEV-14896
    else if (formName.equals(form.getForms().Emergency.CopyAreaWorkspaceConfig)&& result.equals(DialogResult.OK))
    {
        form.getLocalContext().setSelectedEvent(AreaWorkspaceEvent.COPYAREAWORKSPACEDIALOGCLOSED);
        form.fireCustomControlValueChanged();
    }
    updateControlsState();
}
项目:openMAXIMS    文件:Logic.java   
@Override
protected void onCmbAreaValueChanged() throws PresentationLogicException
{
    if (form.cmbArea().getValue() != null)
    {
        form.getGlobalContext().Emergency.setTrackingAreaWorkspace(domain.getTrackingArea(form.cmbArea().getValue()));
    }
    else
    {
        form.getGlobalContext().Emergency.setTrackingAreaWorkspace(null);
    }

    populateGrid();
    form.getLocalContext().setSelectedEvent(AreaWorkspaceEvent.COMBOVALUECHANGED);
    form.fireCustomControlValueChanged();

}
项目:openMAXIMS    文件:Logic.java   
protected void onCcAreaWorkspaceConfigValueChanged() throws PresentationLogicException
{

    if (AreaWorkspaceEvent.COMBOVALUECHANGED.equals(form.lyr1().tabAreaWorkspace().ccAreaWorkspaceConfig().getSelectedEvent()))
    {
        form.getLocalContext().setAreaFromAreaWorkspace(form.lyr1().tabAreaWorkspace().ccAreaWorkspaceConfig().getFromAreaCombo());
        updateControlsState();
    }
    //WDEV-14896
    else if (AreaWorkspaceEvent.COPYAREAWORKSPACEDIALOGCLOSED.equals(form.lyr1().tabAreaWorkspace().ccAreaWorkspaceConfig().getSelectedEvent()))
    {
        open();
        form.lyr1().showtabAreaWorkspace();
    }

}
项目:openMAXIMS    文件:Logic.java   
@Override
protected void onFormDialogClosed(FormName formName, DialogResult result) throws PresentationLogicException
{
    if (formName.equals(form.getForms().Emergency.TrackingAreaColumnConfigurationDialog)&& result.equals(DialogResult.OK)) //WDEV-14896
    {
        // open();
        populateGridWithOrder();
    }
    //WDEV-14896
    else if (formName.equals(form.getForms().Emergency.CopyAreaWorkspaceConfig)&& result.equals(DialogResult.OK))
    {
        form.getLocalContext().setSelectedEvent(AreaWorkspaceEvent.COPYAREAWORKSPACEDIALOGCLOSED);
        form.fireCustomControlValueChanged();
    }
    updateControlsState();
}
项目:openMAXIMS    文件:Logic.java   
@Override
protected void onCmbAreaValueChanged() throws PresentationLogicException
{
    if (form.cmbArea().getValue() != null)
    {
        form.getGlobalContext().Emergency.setTrackingAreaWorkspace(domain.getTrackingArea(form.cmbArea().getValue()));
    }
    else
    {
        form.getGlobalContext().Emergency.setTrackingAreaWorkspace(null);
    }

    populateGrid();
    form.getLocalContext().setSelectedEvent(AreaWorkspaceEvent.COMBOVALUECHANGED);
    form.fireCustomControlValueChanged();

}
项目:openmaxims-linux    文件:Logic.java   
protected void onCcAreaWorkspaceConfigValueChanged() throws PresentationLogicException
{

    if (AreaWorkspaceEvent.COMBOVALUECHANGED.equals(form.lyr1().tabAreaWorkspace().ccAreaWorkspaceConfig().getSelectedEvent()))
    {
        form.getLocalContext().setAreaFromAreaWorkspace(form.lyr1().tabAreaWorkspace().ccAreaWorkspaceConfig().getFromAreaCombo());
        updateControlsState();
    }
    //WDEV-14896
    else if (AreaWorkspaceEvent.COPYAREAWORKSPACEDIALOGCLOSED.equals(form.lyr1().tabAreaWorkspace().ccAreaWorkspaceConfig().getSelectedEvent()))
    {
        open();
        form.lyr1().showtabAreaWorkspace();
    }

}
项目:openmaxims-linux    文件:Logic.java   
@Override
protected void onFormDialogClosed(FormName formName, DialogResult result) throws PresentationLogicException
{
    if (formName.equals(form.getForms().Emergency.TrackingAreaColumnConfigurationDialog)&& result.equals(DialogResult.OK)) //WDEV-14896
    {
        // open();
        populateGridWithOrder();
    }
    //WDEV-14896
    else if (formName.equals(form.getForms().Emergency.CopyAreaWorkspaceConfig)&& result.equals(DialogResult.OK))
    {
        form.getLocalContext().setSelectedEvent(AreaWorkspaceEvent.COPYAREAWORKSPACEDIALOGCLOSED);
        form.fireCustomControlValueChanged();
    }
    updateControlsState();
}
项目:openmaxims-linux    文件:Logic.java   
@Override
protected void onCmbAreaValueChanged() throws PresentationLogicException
{
    if (form.cmbArea().getValue() != null)
    {
        form.getGlobalContext().Emergency.setTrackingAreaWorkspace(domain.getTrackingArea(form.cmbArea().getValue()));
    }
    else
    {
        form.getGlobalContext().Emergency.setTrackingAreaWorkspace(null);
    }

    populateGrid();
    form.getLocalContext().setSelectedEvent(AreaWorkspaceEvent.COMBOVALUECHANGED);
    form.fireCustomControlValueChanged();

}
项目:AvoinApotti    文件:Logic.java   
public AreaWorkspaceEvent getSelectedEvent()
{
    return form.getLocalContext().getSelectedEvent();
}
项目:openMAXIMS    文件:Logic.java   
public AreaWorkspaceEvent getSelectedEvent()
{
    return form.getLocalContext().getSelectedEvent();
}
项目:openMAXIMS    文件:Logic.java   
public AreaWorkspaceEvent getSelectedEvent()
{
    return form.getLocalContext().getSelectedEvent();
}
项目:openmaxims-linux    文件:Logic.java   
public AreaWorkspaceEvent getSelectedEvent()
{
    return form.getLocalContext().getSelectedEvent();
}