Search in sources :

Example 1 with DetailAccessor

use of aero.minova.rcp.rcp.accessor.DetailAccessor in project aero.minova.rcp by minova-afis.

the class WFCDetailPart method postConstruct.

@PostConstruct
public void postConstruct(Composite parent, MWindow window, MApplication mApp) {
    resManager = new LocalResourceManager(JFaceResources.getResources(), parent);
    composite = parent;
    formToolkit = new FormToolkit(parent.getDisplay());
    appContext = mApp.getContext();
    mApplication = mApp;
    getForm();
    if (form.getDetail() == null) {
        mPart.setVisible(false);
        return;
    }
    layoutForm(parent);
    mDetail.setDetailAccessor(new DetailAccessor(mDetail));
    mDetail.setClearAfterSave(form.getDetail().isClearAfterSave());
    // Label und Icon aus Maske setzten
    mPart.setIconURI(ImageUtil.retrieveIcon(form.getIcon(), false));
    mPart.setLabel(form.getTitle());
    mPart.updateLocalization();
    // Erstellen der Util-Klasse, welche sämtliche funktionen der Detailansicht steuert
    casRequestsUtil = ContextInjectionFactory.make(WFCDetailCASRequestsUtil.class, mPerspective.getContext());
    casRequestsUtil.initializeCasRequestUtil(getDetail(), mPerspective, this);
    mPerspective.getContext().set(WFCDetailCASRequestsUtil.class, casRequestsUtil);
    mPerspective.getContext().set(Constants.DETAIL_WIDTH, detailWidth);
    TranslateUtil.translate(composite, translationService, locale);
    // Helper erst initialisieren, wenn casRequestsUtil erstellt wurde
    if (mDetail.getHelper() != null) {
        mDetail.getHelper().setControls(mDetail);
    }
    // Handler, der Dialog anzeigt wenn versucht wird, die Anwendung mit ungespeicherten Änderungen zu schließen. Außerdem wird
    // "RESTORING_UI_MESSAGE_SHOWN_THIS_SESSION" wieder auf false gesetzt, damit die Nachricht beim nächsten Starten wieder angezeigt wird
    IWindowCloseHandler handler = mWindow -> {
        @SuppressWarnings("unchecked") List<MPerspective> pList = (List<MPerspective>) appContext.get(Constants.DIRTY_PERSPECTIVES);
        if (pList != null && !pList.isEmpty()) {
            StringBuilder listString = new StringBuilder();
            for (MPerspective mPerspective : pList) {
                listString.append(" - " + translationService.translate(mPerspective.getLabel(), null) + "\n");
            }
            MessageDialog dialog = new MessageDialog(Display.getDefault().getActiveShell(), translationService.translate("@msg.ChangesDialog", null), null, translationService.translate("@msg.Close.DirtyMessage", null) + listString, MessageDialog.CONFIRM, new String[] { translationService.translate("@Action.Discard", null), translationService.translate("@Abort", null) }, 0);
            boolean res = dialog.open() == 0;
            if (res) {
                prefs.put(Constants.RESTORING_UI_MESSAGE_SHOWN_THIS_SESSION, "false");
            }
            return res;
        }
        prefs.put(Constants.RESTORING_UI_MESSAGE_SHOWN_THIS_SESSION, "false");
        return true;
    };
    window.getContext().set(IWindowCloseHandler.class, handler);
    openRestoringUIDialog();
}
Also used : ParameterizedCommand(org.eclipse.core.commands.ParameterizedCommand) MLookupField(aero.minova.rcp.model.form.MLookupField) MinovaSection(aero.minova.rcp.css.widgets.MinovaSection) Point(org.eclipse.swt.graphics.Point) ValueChangeListener(aero.minova.rcp.model.event.ValueChangeListener) BackingStoreException(org.osgi.service.prefs.BackingStoreException) Composite(org.eclipse.swt.widgets.Composite) Map(java.util.Map) IEclipsePreferences(org.eclipse.core.runtime.preferences.IEclipsePreferences) IWindowCloseHandler(org.eclipse.e4.ui.workbench.modeling.IWindowCloseHandler) MessageDialog(org.eclipse.jface.dialogs.MessageDialog) MButton(aero.minova.rcp.model.form.MButton) ServiceReference(org.osgi.framework.ServiceReference) ValueChangeEvent(aero.minova.rcp.model.event.ValueChangeEvent) MApplication(org.eclipse.e4.ui.model.application.MApplication) MGrid(aero.minova.rcp.model.form.MGrid) SelectionAdapter(org.eclipse.swt.events.SelectionAdapter) Constants(aero.minova.rcp.constants.Constants) Node(aero.minova.rcp.form.setup.xbs.Node) LookupField(aero.minova.rcp.rcp.fields.LookupField) WFCDetailCASRequestsUtil(aero.minova.rcp.rcp.util.WFCDetailCASRequestsUtil) ToolItem(org.eclipse.swt.widgets.ToolItem) MouseEvent(org.eclipse.swt.events.MouseEvent) IHelper(aero.minova.rcp.model.helper.IHelper) InstanceScope(org.eclipse.core.runtime.preferences.InstanceScope) Item(org.eclipse.swt.widgets.Item) MenuItem(org.eclipse.swt.widgets.MenuItem) Page(aero.minova.rcp.form.model.xsd.Page) SWT(org.eclipse.swt.SWT) MTextField(aero.minova.rcp.model.form.MTextField) SelectionListener(org.eclipse.swt.events.SelectionListener) MPerspective(org.eclipse.e4.ui.model.application.ui.advanced.MPerspective) UIEventTopic(org.eclipse.e4.ui.di.UIEventTopic) TranslationService(org.eclipse.e4.core.services.translation.TranslationService) ECommandService(org.eclipse.e4.core.commands.ECommandService) EPartService(org.eclipse.e4.ui.workbench.modeling.EPartService) MCommand(org.eclipse.e4.ui.model.application.commands.MCommand) JFaceResources(org.eclipse.jface.resource.JFaceResources) ButtonAccessor(aero.minova.rcp.rcp.accessor.ButtonAccessor) MToolBarElement(org.eclipse.e4.ui.model.application.ui.menu.MToolBarElement) ArrayList(java.util.ArrayList) ControlEvent(org.eclipse.swt.events.ControlEvent) MWindow(org.eclipse.e4.ui.model.application.ui.basic.MWindow) ModelToViewModel(aero.minova.rcp.model.form.ModelToViewModel) Named(javax.inject.Named) Section(org.eclipse.ui.forms.widgets.Section) Onclick(aero.minova.rcp.form.model.xsd.Onclick) MParameter(org.eclipse.e4.ui.model.application.commands.MParameter) Procedure(aero.minova.rcp.form.model.xsd.Procedure) SectionAccessor(aero.minova.rcp.rcp.accessor.SectionAccessor) Shell(org.eclipse.swt.widgets.Shell) ShortDateField(aero.minova.rcp.rcp.fields.ShortDateField) MMenu(org.eclipse.e4.ui.model.application.ui.menu.MMenu) FormLayout(org.eclipse.swt.layout.FormLayout) MHandledItem(org.eclipse.e4.ui.model.application.ui.menu.MHandledItem) DateTimeField(aero.minova.rcp.rcp.fields.DateTimeField) ImageDescriptor(org.eclipse.jface.resource.ImageDescriptor) ExecutionException(java.util.concurrent.ExecutionException) Preference(org.eclipse.e4.core.di.extensions.Preference) EModelService(org.eclipse.e4.ui.workbench.modeling.EModelService) ControlAdapter(org.eclipse.swt.events.ControlAdapter) Form(aero.minova.rcp.form.model.xsd.Form) ScrolledComposite(org.eclipse.swt.custom.ScrolledComposite) ContextInjectionFactory(org.eclipse.e4.core.contexts.ContextInjectionFactory) Head(aero.minova.rcp.form.model.xsd.Head) MDetail(aero.minova.rcp.model.form.MDetail) TabUtil(aero.minova.rcp.rcp.util.TabUtil) ToolBar(org.eclipse.swt.widgets.ToolBar) MBooleanField(aero.minova.rcp.model.form.MBooleanField) MHandledMenuItem(org.eclipse.e4.ui.model.application.ui.menu.MHandledMenuItem) MNumberField(aero.minova.rcp.model.form.MNumberField) Wizard(aero.minova.rcp.form.model.xsd.Wizard) Preferences(aero.minova.rcp.form.setup.xbs.Preferences) EHandlerService(org.eclipse.e4.core.commands.EHandlerService) GridChangeEvent(aero.minova.rcp.model.event.GridChangeEvent) Locale(java.util.Locale) MField(aero.minova.rcp.model.form.MField) Column(aero.minova.rcp.model.Column) LabelTextField(aero.minova.rcp.rcp.fields.LabelTextField) MDateTimeField(aero.minova.rcp.model.form.MDateTimeField) Optional(org.eclipse.e4.core.di.annotations.Optional) Display(org.eclipse.swt.widgets.Display) JAXBException(javax.xml.bind.JAXBException) BundleContext(org.osgi.framework.BundleContext) NumberField(aero.minova.rcp.rcp.fields.NumberField) MShortDateField(aero.minova.rcp.model.form.MShortDateField) List(java.util.List) IWorkbench(org.eclipse.e4.ui.workbench.IWorkbench) GridChangeListener(aero.minova.rcp.model.event.GridChangeListener) Entry(java.util.Map.Entry) PostConstruct(javax.annotation.PostConstruct) MLabelText(aero.minova.rcp.model.form.MLabelText) MouseAdapter(org.eclipse.swt.events.MouseAdapter) PersistState(org.eclipse.e4.ui.di.PersistState) ShortTimeField(aero.minova.rcp.rcp.fields.ShortTimeField) ExpandableComposite(org.eclipse.ui.forms.widgets.ExpandableComposite) RadioField(aero.minova.rcp.rcp.fields.RadioField) SectionGrid(aero.minova.rcp.rcp.widgets.SectionGrid) TRANSLATE_PROPERTY(aero.minova.rcp.rcp.fields.FieldUtil.TRANSLATE_PROPERTY) Image(org.eclipse.swt.graphics.Image) Rectangle(org.eclipse.swt.graphics.Rectangle) XBSUtil(aero.minova.rcp.form.setup.util.XBSUtil) ImageUtil(aero.minova.rcp.dataservice.ImageUtil) ApplicationPreferences(aero.minova.rcp.preferences.ApplicationPreferences) MRadioField(aero.minova.rcp.model.form.MRadioField) Inject(javax.inject.Inject) DetailLayout(aero.minova.rcp.css.widgets.DetailLayout) MinovaSectionData(aero.minova.rcp.css.widgets.MinovaSectionData) MPart(org.eclipse.e4.ui.model.application.ui.basic.MPart) MHandledToolItem(org.eclipse.e4.ui.model.application.ui.menu.MHandledToolItem) IEclipseContext(org.eclipse.e4.core.contexts.IEclipseContext) MessageDialogWithToggle(org.eclipse.jface.dialogs.MessageDialogWithToggle) MSection(aero.minova.rcp.model.form.MSection) TextField(aero.minova.rcp.rcp.fields.TextField) Field(aero.minova.rcp.form.model.xsd.Field) TranslateUtil(aero.minova.rcp.rcp.util.TranslateUtil) MParamStringField(aero.minova.rcp.model.form.MParamStringField) FieldUtil(aero.minova.rcp.rcp.fields.FieldUtil) FormToolkit(org.eclipse.ui.forms.widgets.FormToolkit) MTrimBar(org.eclipse.e4.ui.model.application.ui.basic.MTrimBar) UISynchronize(org.eclipse.e4.ui.di.UISynchronize) GridAccessor(aero.minova.rcp.rcp.accessor.GridAccessor) XmlProcessor(aero.minova.rcp.dataservice.XmlProcessor) MShortTimeField(aero.minova.rcp.model.form.MShortTimeField) LocalResourceManager(org.eclipse.jface.resource.LocalResourceManager) SelectionEvent(org.eclipse.swt.events.SelectionEvent) Menu(org.eclipse.swt.widgets.Menu) Grid(aero.minova.rcp.form.model.xsd.Grid) DetailAccessor(aero.minova.rcp.rcp.accessor.DetailAccessor) BooleanField(aero.minova.rcp.rcp.fields.BooleanField) FrameworkUtil(org.osgi.framework.FrameworkUtil) Control(org.eclipse.swt.widgets.Control) DetailAccessor(aero.minova.rcp.rcp.accessor.DetailAccessor) MPerspective(org.eclipse.e4.ui.model.application.ui.advanced.MPerspective) FormToolkit(org.eclipse.ui.forms.widgets.FormToolkit) LocalResourceManager(org.eclipse.jface.resource.LocalResourceManager) WFCDetailCASRequestsUtil(aero.minova.rcp.rcp.util.WFCDetailCASRequestsUtil) ArrayList(java.util.ArrayList) List(java.util.List) MessageDialog(org.eclipse.jface.dialogs.MessageDialog) IWindowCloseHandler(org.eclipse.e4.ui.workbench.modeling.IWindowCloseHandler) PostConstruct(javax.annotation.PostConstruct)

Example 2 with DetailAccessor

use of aero.minova.rcp.rcp.accessor.DetailAccessor in project aero.minova.rcp by minova-afis.

the class WFCStatisticDetailPart method postConstruct.

@PostConstruct
public void postConstruct(Composite parent) {
    this.parent = parent;
    formToolkit = new FormToolkit(parent.getDisplay());
    resManager = new LocalResourceManager(JFaceResources.getResources(), parent);
    mDetail = new MDetail();
    mDetail.setDetailAccessor(new DetailAccessor(mDetail));
    DetailLayout detailLayout = new DetailLayout();
    parent.setLayout(detailLayout);
    mPerspective.getContext().set(Constants.DETAIL_LAYOUT, detailLayout);
    layoutSection();
}
Also used : MDetail(aero.minova.rcp.model.form.MDetail) DetailAccessor(aero.minova.rcp.rcp.accessor.DetailAccessor) FormToolkit(org.eclipse.ui.forms.widgets.FormToolkit) LocalResourceManager(org.eclipse.jface.resource.LocalResourceManager) DetailLayout(aero.minova.rcp.css.widgets.DetailLayout) PostConstruct(javax.annotation.PostConstruct)

Example 3 with DetailAccessor

use of aero.minova.rcp.rcp.accessor.DetailAccessor in project aero.minova.rcp by minova-afis.

the class TraverseEnterHandler method execute.

@Execute
public void execute() {
    MPart part = partService.getActivePart();
    boolean popupOpen = false;
    if (part.getObject() instanceof WFCDetailPart) {
        MDetail mDetail = ((WFCDetailPart) part.getObject()).getDetail();
        if (((DetailAccessor) mDetail.getDetailAccessor()).getSelectedControl() != null) {
            // aktuell selektiertes Feld holen
            Control focussedControl = ((DetailAccessor) mDetail.getDetailAccessor()).getSelectedControl();
            // Ist ein Popup offen?
            if (focussedControl instanceof LookupComposite) {
                LookupComposite lookup = (LookupComposite) focussedControl;
                // Wir holen uns den Status des Popup des Lookup
                popupOpen = lookup.popupIsOpen();
            }
            // nächstes Pflichtfeld suchen und fokussieren
            getNextRequired(focussedControl, mDetail, popupOpen);
        }
    }
    // Bei offenem Lookup-Popup wollen wir nicht speichern
    if (!popupOpen) {
        // ParameterizedCommand des SaveDetailsHandlers erstellen und ausführen
        ParameterizedCommand cmd = commandService.createCommand(Constants.AERO_MINOVA_RCP_RCP_COMMAND_SAVEDETAIL, null);
        handlerService.executeHandler(cmd);
    }
}
Also used : MDetail(aero.minova.rcp.model.form.MDetail) MPart(org.eclipse.e4.ui.model.application.ui.basic.MPart) Control(org.eclipse.swt.widgets.Control) DetailAccessor(aero.minova.rcp.rcp.accessor.DetailAccessor) LookupComposite(aero.minova.rcp.widgets.LookupComposite) WFCDetailPart(aero.minova.rcp.rcp.parts.WFCDetailPart) ParameterizedCommand(org.eclipse.core.commands.ParameterizedCommand) Execute(org.eclipse.e4.core.di.annotations.Execute)

Example 4 with DetailAccessor

use of aero.minova.rcp.rcp.accessor.DetailAccessor in project aero.minova.rcp by minova-afis.

the class TraverseEnterHandler method getNextRequired.

/**
 * Diese Methode ermittelt das nächste leere Pflichtfeld nach folgendem Muster: <br>
 * <br>
 * 1. Prüfen, ob LookupEnterSelectsNextRequired gesetzt ist und ein Lookup mit offenen Popup selektiert ist:<br>
 * <br>
 * LookupEnterSelectsNextRequired ist nicht gesetzt: <br>
 * Bei einem Lookup mit offenen Popup wird der ausgewählte Wert festgesetzt und das Lookup bleibt selektiert. <br>
 * <br>
 * LookupEnterSelectsNextRequired ist gesetzt:<br>
 * Bei einem Lookup mit offenen Popup wird der ausgewählte Wert festgesetzt und das nächste leere Pflichtfeld selektiert. <br>
 * <br>
 * 2. Prüfen, ob EnterSelectsFirstRequired gesetzt ist und kein Lookup mit offenem Popup selektiert ist: <br>
 * <br>
 * EnterSelectsFirstRequired ist gesetzt: <br>
 * Begonnen mit der ersten Section, wird das erste leere Pflichtfeld ermittelt und selektiert. <br>
 * <br>
 * EnterSelectsFirstRequired ist nicht gesetzt und es ist kein Lookup mit offenem Popup selektiert: <br>
 * - Beginnend mit der Section, in der das aktuell selektierte Control sich befindet, wird das nächste leere Pflichtfeld ermittelt. Dabei werden nur die
 * Controls nach dem aktuell selektiertem geprüft.<br>
 * - Wenn kein Pflichtfeld gefunden wurde, werden die Sections, die nach der Section des selektierten Controls kommen, durchsucht.<br>
 * - Falls am Ende des Parts angekommen und immer noch kein Pflichtfeld selektiert wurde, wird mit den Sections vor dem des selektierten Control weiter
 * gemacht. Beginnend mit der ersten section <br>
 * - Bei der Section des aktuell selektierten Controls angekommen ohne ein Pflichtfeld selktiert zu haben, werden nun die Controls in der Section und vor
 * dem selktierten Control durchsucht. <br>
 * <br>
 * Wenn kein Pflichtfeld gefunden wird, bleibt das aktuelle Pflichtfeld selektiert.
 *
 * @param control
 *            fokussiertes Control
 * @param mDetail
 * @param popupOpen
 */
private void getNextRequired(Control control, MDetail mDetail, boolean popupOpen) {
    Preferences preferences = InstanceScope.INSTANCE.getNode(ApplicationPreferences.PREFERENCES_NODE);
    boolean lookupEnterSelectsNextRequired = (boolean) InstancePreferenceAccessor.getValue(preferences, ApplicationPreferences.LOOKUP_ENTER_SELECTS_NEXT_REQUIRED, DisplayType.CHECK, true, locale);
    boolean enterSelectsFirstRequired = (boolean) InstancePreferenceAccessor.getValue(preferences, ApplicationPreferences.ENTER_SELECTS_FIRST_REQUIRED, DisplayType.CHECK, true, locale);
    Control focussedControl = null;
    if (control.getParent() instanceof TextAssist || control.getParent() instanceof LookupComposite) {
        focussedControl = control.getParent();
    } else {
        focussedControl = control;
    }
    // Wir holen uns das MField des selektierten Felds.
    Control fc = null;
    Composite comp = null;
    Section fcSection = null;
    if (focussedControl instanceof NatTable) {
        fcSection = (Section) focussedControl.getData(Constants.GRID_DATA_SECTION);
        ((NatTable) focussedControl).commitAndCloseActiveCellEditor();
    } else {
        fcSection = ((SectionAccessor) ((MField) control.getData(Constants.CONTROL_FIELD)).getmSection().getSectionAccessor()).getSection();
    }
    if (focussedControl instanceof LookupComposite) {
        LookupComposite lookup = (LookupComposite) focussedControl;
        // Wir holen uns den Status des Popup des Lookup
        popupOpen = lookup.popupIsOpen();
    }
    for (Control children : fcSection.getChildren()) {
        if (children instanceof Composite && !(children instanceof ToolBar) && !(children instanceof ImageHyperlink) && !(children instanceof Twistie)) {
            comp = (Composite) children;
            break;
        }
    }
    // Wir prüfen ob die Preference LookupEnterSelectsNextRequired nicht gesetzt ist und das Lookup offen ist.
    if (!lookupEnterSelectsNextRequired && popupOpen) {
        focussedControl.setFocus();
        if (focussedControl instanceof LookupComposite) {
            LookupComposite lookup = (LookupComposite) focussedControl;
            lookup.closePopup();
            MField field = (MField) focussedControl.getData(Constants.CONTROL_FIELD);
            setLookupValue(field, lookup);
        }
        return;
    }
    if (!enterSelectsFirstRequired || popupOpen) {
        boolean cellSelected = false;
        if (focussedControl instanceof NatTable) {
            cellSelected = getNextRequiredNatTableCell(focussedControl, true);
        }
        LookupComposite lookup = null;
        if (focussedControl instanceof LookupComposite) {
            MField selectedField = (MField) focussedControl.getData(Constants.CONTROL_FIELD);
            lookup = (LookupComposite) focussedControl;
            if (popupOpen) {
                setLookupValue(selectedField, lookup);
            } else {
                selectedField.setValue(selectedField.getValue(), false);
            }
        }
        if (!cellSelected && focussedControl instanceof NatTable) {
            NatTable natTable = (NatTable) focussedControl;
            ((SelectionLayer) natTable.getData(Constants.GRID_DATA_SELECTIONLAYER)).clear();
        }
        if (!cellSelected) {
            Control[] tabListArrayFromFocussedControlSection = comp.getTabList();
            List<Control> tabListFromFocussedControlSection = arrayToList(tabListArrayFromFocussedControlSection);
            List<Section> sectionList = ((DetailAccessor) mDetail.getDetailAccessor()).getSectionList();
            // [0,1,2,3,4,5,6,7,8,9] --> sublist(0,5) = [0,1,2,3,4]
            int indexFocussedControl = tabListFromFocussedControlSection.indexOf(focussedControl);
            fc = getNextRequiredControl(tabListFromFocussedControlSection.subList(indexFocussedControl + 1, tabListFromFocussedControlSection.size()));
            if (fc != null) {
                return;
            }
            int indexFocussedControlSection = sectionList.indexOf(fcSection);
            fc = getNextRequiredControlOtherSection(focussedControl, sectionList.subList(indexFocussedControlSection + 1, sectionList.size()));
            if (fc != null) {
                return;
            }
            fc = getNextRequiredControlOtherSection(focussedControl, sectionList.subList(0, indexFocussedControlSection + 1));
            if (fc != null) {
                return;
            }
            fc = getNextRequiredControl(tabListFromFocussedControlSection.subList(0, indexFocussedControl + 1));
            if (fc == null) {
                if (focussedControl instanceof LookupComposite) {
                    lookup = (LookupComposite) focussedControl;
                    lookup.closePopup();
                }
                return;
            }
        }
    } else {
        LookupComposite lookup = null;
        if (focussedControl instanceof LookupComposite) {
            MField selectedField = (MField) focussedControl.getData(Constants.CONTROL_FIELD);
            lookup = (LookupComposite) focussedControl;
            if (popupOpen) {
                setLookupValue(selectedField, lookup);
            } else {
                selectedField.setValue(selectedField.getValue(), false);
            }
        }
        for (MSection mSection : mDetail.getMSectionList()) {
            Composite compo = null;
            Section section = ((SectionAccessor) mSection.getSectionAccessor()).getSection();
            for (Control children : section.getChildren()) {
                if (children instanceof Composite && !(children instanceof ToolBar || children instanceof Twistie || children instanceof ImageHyperlink)) {
                    compo = (Composite) children;
                    break;
                }
            }
            List<Control> tabList = arrayToList(compo.getTabList());
            fc = getNextRequiredControl(tabList);
            if (fc != null) {
                if (focussedControl instanceof LookupComposite) {
                    lookup = (LookupComposite) focussedControl;
                    lookup.closePopup();
                }
                return;
            } else {
                continue;
            }
        }
    }
}
Also used : Composite(org.eclipse.swt.widgets.Composite) LookupComposite(aero.minova.rcp.widgets.LookupComposite) ImageHyperlink(org.eclipse.ui.forms.widgets.ImageHyperlink) LookupComposite(aero.minova.rcp.widgets.LookupComposite) SectionAccessor(aero.minova.rcp.rcp.accessor.SectionAccessor) MSection(aero.minova.rcp.model.form.MSection) Section(org.eclipse.ui.forms.widgets.Section) Control(org.eclipse.swt.widgets.Control) DetailAccessor(aero.minova.rcp.rcp.accessor.DetailAccessor) SelectionLayer(org.eclipse.nebula.widgets.nattable.selection.SelectionLayer) TextAssist(org.eclipse.nebula.widgets.opal.textassist.TextAssist) ToolBar(org.eclipse.swt.widgets.ToolBar) NatTable(org.eclipse.nebula.widgets.nattable.NatTable) Twistie(org.eclipse.ui.forms.widgets.Twistie) MSection(aero.minova.rcp.model.form.MSection) Preferences(org.osgi.service.prefs.Preferences) ApplicationPreferences(aero.minova.rcp.preferences.ApplicationPreferences) MField(aero.minova.rcp.model.form.MField)

Aggregations

DetailAccessor (aero.minova.rcp.rcp.accessor.DetailAccessor)4 MDetail (aero.minova.rcp.model.form.MDetail)3 Control (org.eclipse.swt.widgets.Control)3 DetailLayout (aero.minova.rcp.css.widgets.DetailLayout)2 MField (aero.minova.rcp.model.form.MField)2 PostConstruct (javax.annotation.PostConstruct)2 ParameterizedCommand (org.eclipse.core.commands.ParameterizedCommand)2 MPart (org.eclipse.e4.ui.model.application.ui.basic.MPart)2 LocalResourceManager (org.eclipse.jface.resource.LocalResourceManager)2 FormToolkit (org.eclipse.ui.forms.widgets.FormToolkit)2 Constants (aero.minova.rcp.constants.Constants)1 MinovaSection (aero.minova.rcp.css.widgets.MinovaSection)1 MinovaSectionData (aero.minova.rcp.css.widgets.MinovaSectionData)1 ImageUtil (aero.minova.rcp.dataservice.ImageUtil)1 XmlProcessor (aero.minova.rcp.dataservice.XmlProcessor)1 Field (aero.minova.rcp.form.model.xsd.Field)1 Form (aero.minova.rcp.form.model.xsd.Form)1 Grid (aero.minova.rcp.form.model.xsd.Grid)1 Head (aero.minova.rcp.form.model.xsd.Head)1 Onclick (aero.minova.rcp.form.model.xsd.Onclick)1