text stringlengths 3 1.18M |
|---|
package fr.opensagres.eclipse.forms.editor;
import org.eclipse.core.databinding.DataBindingContext;
import org.eclipse.ui.forms.IManagedForm;
import fr.opensagres.eclipse.forms.IBindableAware;
public abstract class ModelFormPage<Model> extends AbstractFormPage implements
IBindableAware {
public ModelFo... |
package fr.opensagres.eclipse.forms.editor;
import org.eclipse.core.databinding.DataBindingContext;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.ui.forms.IFormPart;
import fr.opensagres.eclipse.forms.AbstractDetailsPage;
import fr.opens... |
/*******************************************************************************
* Copyright (c) 2008 Ralf Ebert
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* ht... |
package fr.opensagres.eclipse.forms.editor;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.eclipse.core.databinding.Binding;
import org.eclipse.core.databinding.DataBindingContext;
public class DataBindingContextWrapper {
private final DataBindingContext dataBin... |
package fr.opensagres.eclipse.forms.editor;
public interface IModelProvider<Model> {
Model getModel();
}
|
package fr.opensagres.eclipse.forms.conversion;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.eclipse.core.databinding.conversion.IConverter;
public class StringToDateConverter implements IConverter {
private final Stri... |
package fr.opensagres.eclipse.forms.conversion;
import java.util.Date;
import org.eclipse.core.databinding.validation.IValidator;
import org.eclipse.core.databinding.validation.ValidationStatus;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
public class StringToDateValidat... |
package fr.opensagres.eclipse.forms.conversion;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.eclipse.core.databinding.conversion.IConverter;
public class DateToStringConverter implements IConverter {
private final String pattern;
private final DateFo... |
package fr.opensagres.eclipse.forms.conversion;
import java.util.HashMap;
import java.util.Map;
public class DateConverterRegistry {
private static final Map<String, StringToDateConverter> stringToDateConvertersCache = new HashMap<String, StringToDateConverter>();
private static final Map<String, DateToStr... |
package fr.opensagres.eclipse.forms.dialogs;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.ui.dialogs.SelectionD... |
package fr.opensagres.eclipse.forms.registry;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.eclipse.core.runtime.IConfigurationElement;
import org.eclipse.core.runtime.IExtensionDelta;
import org.eclipse.core.runtime.IExtensionRegistry;
import ... |
package fr.opensagres.eclipse.forms.registry;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IConfigurationElement;
import org.eclipse.ui.IEditorPart;
public class EditorPageDescriptor {
private static final String CLASS_ATTR = "class";
private final String pageId;
priv... |
package fr.opensagres.eclipse.forms.registry;
import org.eclipse.core.runtime.IConfigurationElement;
import org.eclipse.core.runtime.IExtensionDelta;
import org.eclipse.core.runtime.IExtensionRegistry;
import org.eclipse.core.runtime.IRegistryChangeEvent;
import org.eclipse.core.runtime.IRegistryChangeListener... |
package fr.opensagres.eclipse.forms.validation;
import org.eclipse.core.databinding.AggregateValidationStatus;
import org.eclipse.core.databinding.Binding;
import org.eclipse.core.databinding.DataBindingContext;
import org.eclipse.core.databinding.observable.value.IValueChangeListener;
import org.eclipse.core.da... |
package fr.opensagres.eclipse.forms;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.ui.forms.AbstractFormPart;
import org.eclipse.ui.forms.IDetailsPage;
public abstract class AbstractDetailsPage extends AbstractFormPart implements
IDetailsPage {
public final void createContents(Composite pa... |
/**
* Copyright (C) 2011 Angelo Zerr <angelo.zerr@gmail.com> and Pascal Leclercq <pascal.leclercq@gmail.com>
*
* All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the... |
/**
* Copyright (C) 2011 Angelo Zerr <angelo.zerr@gmail.com> and Pascal Leclercq <pascal.leclercq@gmail.com>
*
* All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the... |
package fr.opensagres.eclipse.forms.internal;
import org.eclipse.jface.resource.ImageRegistry;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.osgi.framework.BundleContext;
/**
* The activator class controls the plug-in life cycle
*/
public class Activator extends AbstractUIPlugin {
// The pl... |
/**
* Copyright (C) 2011 Angelo Zerr <angelo.zerr@gmail.com> and Pascal Leclercq <pascal.leclercq@gmail.com>
*
* All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the... |
package fr.opensagres.eclipse.forms.internal;
import java.net.URL;
import org.eclipse.core.runtime.Platform;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.jface.resource.ImageRegistry;
import org.eclipse.swt.graphics.Image;
import org.osgi.framework.Bundle;
public class ImageResourc... |
package fr.opensagres.xdocreport.eclipse.extensions.modules;
import org.eclipse.swt.graphics.Image;
public interface IReportBaseModule {
String getName();
Image getIcon();
}
|
package fr.opensagres.xdocreport.eclipse.extensions.modules;
public interface IReportModuleEntryProvider {
IReportModuleEntry getEntry();
}
|
package fr.opensagres.xdocreport.eclipse.extensions.modules;
import fr.opensagres.xdocreport.eclipse.extensions.ICommandIdProvider;
public interface IReportModuleEntry extends IReportBaseModule,
ICommandIdProvider {
IReportModule getModule();
}
|
package fr.opensagres.xdocreport.eclipse.extensions.modules;
import java.util.List;
public interface IReportModuleRegistry {
List<IReportModule> getReportModules();
}
|
package fr.opensagres.xdocreport.eclipse.extensions.modules;
import java.util.List;
import fr.opensagres.xdocreport.eclipse.reporting.core.IReportLoader;
import fr.opensagres.xdocreport.eclipse.reporting.core.IReportProcessors;
public interface IReportModule extends IReportBaseModule {
List<IReportModuleE... |
package fr.opensagres.xdocreport.eclipse.extensions.ui.wizards;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.jface.wizard.Wizard;
public interface IWizardFactory {
<T extends Wizard> T createWizard(String wizardId, Class<T> clazz)
throws WizardInitException, CoreException;
}
|
package fr.opensagres.xdocreport.eclipse.extensions.ui.wizards;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.ui.WorkbenchException;
public class WizardInitException extends WorkbenchException {
private static final long serialVersionUID = -7781798070868433645L;
/**
* Creates a new excep... |
package fr.opensagres.xdocreport.eclipse.extensions.ui.dialogs;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.ui.WorkbenchException;
public class DialogInitException extends WorkbenchException {
private static final long serialVersionUID = -7781798070868433645L;
/**
* Creates a new excep... |
package fr.opensagres.xdocreport.eclipse.extensions.ui.dialogs;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.jface.window.Window;
import org.eclipse.swt.widgets.Shell;
public interface IDialogFactory {
<T extends Window> T createDialog(Shell shell, String dialogId,
Class<T> clazz) t... |
package fr.opensagres.xdocreport.eclipse.extensions;
public interface ICommandIdProvider {
String getCommandId();
}
|
package fr.opensagres.xdocreport.eclipse.ui.editors;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.eclipse.jface.action.Action;
import org.eclipse.jface.action.IToolBarManager;
import org.eclipse.ui.IEditorInput;
import org.eclipse.ui.IEditor... |
package fr.opensagres.xdocreport.eclipse.ui.editors;
import fr.opensagres.eclipse.forms.editor.ModelEditorInput;
import fr.opensagres.xdocreport.eclipse.extensions.modules.IReportModuleEntry;
public abstract class ModelAndEntryEditorInput<Model> extends
ModelEditorInput<Model> {
private final IReportModul... |
package fr.opensagres.xdocreport.eclipse.ui.editors;
import java.io.File;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.Path;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.ui.IPathEditorInput;
import org.eclipse.ui.IPersistableElement;
public class SystemFil... |
package fr.opensagres.xdocreport.eclipse.ui.editors;
import fr.opensagres.eclipse.forms.editor.ModelToolbarFormPage;
public abstract class ReportingFormPage<Model> extends
ModelToolbarFormPage<Model> {
public ReportingFormPage(ReportingFormEditor<Model> editor, String id,
String title) {
super(edito... |
package fr.opensagres.xdocreport.eclipse.ui.editors;
import org.eclipse.jface.action.IToolBarManager;
import org.eclipse.swt.graphics.Image;
import org.eclipse.ui.forms.IManagedForm;
import org.eclipse.ui.forms.widgets.FormToolkit;
import org.eclipse.ui.forms.widgets.ScrolledForm;
import fr.opensagres.eclipse... |
package fr.opensagres.xdocreport.eclipse.ui.handlers;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.jface.wizard.WizardDialog;
import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.handlers.HandlerUtil;
import fr.opensagres.xdo... |
package fr.opensagres.xdocreport.eclipse.ui.handlers;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.ui.IEditorInput;
import org.eclipse.ui.PartInitException;
import fr.opensagres.xdocreport.eclipse.extensions.modules.IReportModuleEntry;... |
package fr.opensagres.xdocreport.eclipse.ui.handlers;
import java.io.File;
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.core.commands.NotEnabledException;
import org.eclipse.core.comma... |
package fr.opensagres.xdocreport.eclipse.ui.handlers;
import org.eclipse.swt.widgets.Event;
import fr.opensagres.xdocreport.eclipse.extensions.modules.IReportModuleEntry;
import fr.opensagres.xdocreport.eclipse.reporting.core.IReportLoader;
import fr.opensagres.xdocreport.eclipse.reporting.core.ReportConfigurat... |
package fr.opensagres.xdocreport.eclipse.ui.handlers;
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
public abstract class AbstractContextHandler extends AbstractHandler {
public Object execute(Execution... |
package fr.opensagres.xdocreport.eclipse.ui.handlers;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.ui.IEditorInput;
import org.eclipse.ui.IWorkbenchPage;
import org.eclipse.ui.IWorkbenchWindow;
imp... |
package fr.opensagres.xdocreport.eclipse.ui.handlers;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import fr.opensagres.xdocreport.eclipse.reporting.core.IReportEngine;
import fr.opensagres.xdocreport.eclipse.reporting.core.IReportLoader;
import fr.opens... |
/*******************************************************************************
* Copyright (c) 2007, 2008 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribu... |
package fr.opensagres.xdocreport.eclipse.ui.actions;
import org.eclipse.jface.action.Action;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.swt.widgets.Event;
import org.eclipse.ui.services.IServiceLocator;
import fr.opensagres.eclipse.forms.editor.IModelProvider;
import fr.opensagres.x... |
package fr.opensagres.xdocreport.eclipse.ui.wizards;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.jface.wizard.Wizard;
import org.eclipse.ui.IEditorInput;
import org.eclipse.ui.PartInitException;
import fr.opensagres.xdocreport.eclipse.extensions.modules.IReportModuleEntry;
import fr.op... |
package fr.opensagres.xdocreport.eclipse.ui.dialogs;
import org.eclipse.jface.viewers.ArrayContentProvider;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.viewers.TableViewer;
import org.eclipse.jface.viewers.TableViewerColumn;
import org.eclipse.nebula.widgets.pagination.springd... |
package fr.opensagres.xdocreport.eclipse.ui;
import org.eclipse.ui.forms.widgets.TableWrapLayout;
public class FormLayoutFactory {
// FORM BODY
public static final int FORM_BODY_MARGIN_TOP = 12;
public static final int FORM_BODY_MARGIN_BOTTOM = 12;
public static final int FORM_BODY_MARGIN_LEFT = 6;
pu... |
package fr.opensagres.xdocreport.eclipse;
import fr.opensagres.xdocreport.eclipse.extensions.modules.IReportModuleRegistry;
import fr.opensagres.xdocreport.eclipse.extensions.ui.dialogs.IDialogFactory;
import fr.opensagres.xdocreport.eclipse.extensions.ui.wizards.IWizardFactory;
import fr.opensagres.xdocreport.ec... |
package fr.opensagres.xdocreport.eclipse.internal.extensions.modules;
import java.util.ArrayList;
import java.util.List;
import fr.opensagres.xdocreport.eclipse.extensions.modules.IReportModule;
import fr.opensagres.xdocreport.eclipse.extensions.modules.IReportModuleEntry;
import fr.opensagres.xdocreport.eclip... |
package fr.opensagres.xdocreport.eclipse.internal.extensions.modules;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.core.runtime.IConfigurationElement;
import org.eclipse.core.runtime.IExtensionDelta;
import org.eclipse.core.runtime.IExtensionRegistry;
import org.eclipse.core.runtime.P... |
package fr.opensagres.xdocreport.eclipse.internal.extensions.modules;
import org.eclipse.swt.graphics.Image;
public abstract class ReportBaseModule {
private final String id;
private String name;
private String description;
private Image image;
public ReportBaseModule(String id) {
this.id = id;
... |
package fr.opensagres.xdocreport.eclipse.internal.extensions.modules;
import fr.opensagres.xdocreport.eclipse.extensions.modules.IReportModule;
import fr.opensagres.xdocreport.eclipse.extensions.modules.IReportModuleEntry;
public class ReportModuleEntry extends ReportBaseModule implements
IReportModuleEntry {... |
package fr.opensagres.xdocreport.eclipse.internal.extensions.ui.wizards;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IConfigurationElement;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.jface.wizard.Wizard;
public class WizardDescriptor {
private s... |
package fr.opensagres.xdocreport.eclipse.internal.extensions.ui.wizards;
import java.util.HashMap;
import java.util.Map;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IConfigurationElement;
import org.eclipse.core.runtime.IExtensionDelta;
import org.eclipse.core.runtime.IExten... |
package fr.opensagres.xdocreport.eclipse.internal.extensions.ui.dialogs;
import java.util.HashMap;
import java.util.Map;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IConfigurationElement;
import org.eclipse.core.runtime.IExtensionDelta;
import org.eclipse.core.runtime.IExten... |
package fr.opensagres.xdocreport.eclipse.internal.extensions.ui.dialogs;
import java.lang.reflect.Method;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IConfigurationElement;
import org.eclipse.jface.window.Window;
import org.eclipse.swt.widgets.Shell;
import fr.opensagres.x... |
package fr.opensagres.xdocreport.eclipse.internal.handlers;
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.jface.wizard.WizardDialog;
import org.eclipse.ui.IWorkbenchWindow;
import org.ecl... |
package fr.opensagres.xdocreport.eclipse.internal;
import org.eclipse.osgi.util.NLS;
public class Messages extends NLS {
private static final String BUNDLE_NAME = "fr.opensagres.xdocreport.eclipse.internal.Messages";//$NON-NLS-1$
public static String WorkbenchWindowConfigurer_title;
// Report Processo... |
package fr.opensagres.xdocreport.eclipse.internal;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.jface.resource.ImageRegistry;
import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.osgi.framework.BundleContext;
/**
* The activator class con... |
package fr.opensagres.xdocreport.eclipse.internal.ui;
import org.eclipse.ui.application.IWorkbenchWindowConfigurer;
import org.eclipse.ui.application.WorkbenchAdvisor;
import org.eclipse.ui.application.WorkbenchWindowAdvisor;
public class XDocReportApplicationWorkbenchAdvisor extends WorkbenchAdvisor {
private stat... |
package fr.opensagres.xdocreport.eclipse.internal.ui.viewers;
import org.eclipse.jface.viewers.ArrayContentProvider;
public class ReportProcessorContentProvider extends ArrayContentProvider {
private static ReportProcessorContentProvider instance;
public static ReportProcessorContentProvider getInstance()... |
package fr.opensagres.xdocreport.eclipse.internal.ui.viewers;
import org.eclipse.jface.viewers.ArrayContentProvider;
public class ReportEngineContentProvider extends ArrayContentProvider {
private static ReportEngineContentProvider instance;
public static ReportEngineContentProvider getInstance() {
syn... |
package fr.opensagres.xdocreport.eclipse.internal.ui.viewers;
import org.eclipse.jface.viewers.LabelProvider;
import fr.opensagres.xdocreport.eclipse.reporting.core.IReportProcessor;
public class ReportProcessorLabelProvider extends LabelProvider {
private static ReportProcessorLabelProvider instance;
... |
package fr.opensagres.xdocreport.eclipse.internal.ui.viewers;
import org.eclipse.jface.viewers.ArrayContentProvider;
public class ReportModuleContentProvider extends ArrayContentProvider {
private static ReportModuleContentProvider instance;
public static ReportModuleContentProvider getInstance() {
syn... |
package fr.opensagres.xdocreport.eclipse.internal.ui.viewers;
import org.eclipse.jface.viewers.LabelProvider;
import fr.opensagres.xdocreport.eclipse.reporting.core.IReportEngine;
public class ReportEngineLabelProvider extends LabelProvider {
private static ReportEngineLabelProvider instance;
public st... |
package fr.opensagres.xdocreport.eclipse.internal.ui.viewers;
import org.eclipse.jface.viewers.LabelProvider;
import fr.opensagres.xdocreport.eclipse.extensions.modules.IReportModule;
public class ReportModuleLabelProvider extends LabelProvider {
private static ReportModuleLabelProvider instance;
publi... |
package fr.opensagres.xdocreport.eclipse.internal.ui;
import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.actions.ActionFactory;
import org.eclipse.ui.application.ActionBarAdvisor;
import org.eclipse.ui.application.IActionBarConfigurer;
/**
* An action bar advisor is responsible for creating, adding, and d... |
package fr.opensagres.xdocreport.eclipse.internal.ui;
import org.eclipse.equinox.app.IApplication;
import org.eclipse.equinox.app.IApplicationContext;
import org.eclipse.swt.widgets.Display;
import org.eclipse.ui.IWorkbench;
import org.eclipse.ui.PlatformUI;
/**
* This class controls all aspects of the application's... |
package fr.opensagres.xdocreport.eclipse.internal.ui;
import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;
public class XDocReportPerspective implements IPerspectiveFactory {
public void createInitialLayout(IPageLayout layout) {
layout.setEditorAreaVisible(true);
layout.addView(ModuleEx... |
package fr.opensagres.xdocreport.eclipse.internal.ui;
import java.util.Collection;
import java.util.List;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
import org.eclipse.jface.viewers.DoubleClickEvent;
import org.eclipse.jface.viewers.IDoubleClickListener;
import org.eclipse.jface.... |
package fr.opensagres.xdocreport.eclipse.internal.ui;
import org.eclipse.swt.graphics.Point;
import org.eclipse.ui.application.ActionBarAdvisor;
import org.eclipse.ui.application.IActionBarConfigurer;
import org.eclipse.ui.application.IWorkbenchWindowConfigurer;
import org.eclipse.ui.application.WorkbenchWindowAdvisor... |
package fr.opensagres.xdocreport.eclipse.internal.ui.wizards;
import java.util.Collection;
import org.eclipse.jface.dialogs.Dialog;
import org.eclipse.jface.viewers.ComboViewer;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.wizard.WizardPage;
import org.eclipse.swt.SWT;
impo... |
package fr.opensagres.xdocreport.eclipse.internal.ui.wizards;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import org.eclipse.jface.wizard.WizardPage;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.Select... |
package fr.opensagres.xdocreport.eclipse.internal;
import java.net.URL;
import org.eclipse.core.runtime.FileLocator;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.Path;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.jface.resource.ImageRegistry;
import org.ecli... |
/*******************************************************************************
* Copyright (C) 2011 Angelo Zerr <angelo.zerr@gmail.com>, Pascal Leclercq <pascal.leclercq@gmail.com>
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public Licen... |
/*******************************************************************************
* Copyright (C) 2011 Angelo Zerr <angelo.zerr@gmail.com>, Pascal Leclercq <pascal.leclercq@gmail.com>
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public Licen... |
/*******************************************************************************
* Copyright (C) 2011 Angelo Zerr <angelo.zerr@gmail.com>, Pascal Leclercq <pascal.leclercq@gmail.com>
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public Licen... |
/*******************************************************************************
* Copyright (C) 2011 Angelo Zerr <angelo.zerr@gmail.com>, Pascal Leclercq <pascal.leclercq@gmail.com>
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public Licen... |
package fr.opensagres.xdocreport.eclipse.reporting.ui.editors;
import java.io.File;
import java.io.FileInputStream;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.rap.singlesourcing.SingleSourcingUtils;
import org.eclipse.swt.SWT;
import... |
package fr.opensagres.xdocreport.eclipse.reporting.ui;
import fr.opensagres.xdocreport.eclipse.reporting.ui.fragment.IUIFragmentRegistry;
import fr.opensagres.xdocreport.eclipse.reporting.ui.internal.fragment.UIFragmentRegistry;
public final class PlaformUIReporting {
public static IUIFragmentRegistry getUIF... |
package fr.opensagres.xdocreport.eclipse.reporting.ui.fragment;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.ui.forms.IDetailsPage;
public interface IUIFragmentRegistry {
IDetailsPage createDetailsPage(String fragmentId) throws CoreException;
}
|
package fr.opensagres.xdocreport.eclipse.reporting.ui.internal.editors;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.ui.PartInitException;
import org.eclipse.ui.forms.editor.FormEditor;
public class ReportingEditor extends FormEditor {
public static final String EDITOR_ID = "fr.opens... |
package fr.opensagres.xdocreport.eclipse.reporting.ui.internal.editors;
import fr.opensagres.eclipse.forms.editor.AbstractEditorInput;
import fr.opensagres.xdocreport.eclipse.extensions.modules.IReportModuleEntry;
public class ReportingEditorInput extends AbstractEditorInput {
private final IReportModuleEntr... |
package fr.opensagres.xdocreport.eclipse.reporting.ui.internal.editors;
import org.eclipse.ui.forms.IManagedForm;
import org.eclipse.ui.forms.editor.FormEditor;
import org.eclipse.ui.forms.editor.FormPage;
import org.eclipse.ui.forms.widgets.FormToolkit;
import org.eclipse.ui.forms.widgets.ScrolledForm;
impor... |
package fr.opensagres.xdocreport.eclipse.reporting.ui.internal.editors;
import java.util.List;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.jface.action.Action;
import org.eclipse.jface.viewers.ComboViewer;
import org.eclipse.jface.viewers.ISelectionChangedListener;
import org.eclipse.jfa... |
package fr.opensagres.xdocreport.eclipse.reporting.ui.internal.viewers;
import org.eclipse.jface.viewers.ArrayContentProvider;
public class ReportLoaderContentProvider extends ArrayContentProvider {
private static ReportLoaderContentProvider instance;
public static ReportLoaderContentProvider getInstance(... |
package fr.opensagres.xdocreport.eclipse.reporting.ui.internal.viewers;
import org.eclipse.jface.viewers.LabelProvider;
import fr.opensagres.xdocreport.eclipse.reporting.core.IReportLoader;
public class ReportLoaderLabelProvider extends LabelProvider {
private static ReportLoaderLabelProvider instance;
... |
package fr.opensagres.xdocreport.eclipse.reporting.ui.internal.handlers;
import org.eclipse.ui.IEditorInput;
import fr.opensagres.xdocreport.eclipse.extensions.modules.IReportModuleEntry;
import fr.opensagres.xdocreport.eclipse.reporting.ui.internal.editors.ReportingEditor;
import fr.opensagres.xdocreport.eclip... |
package fr.opensagres.xdocreport.eclipse.reporting.ui.internal;
import org.eclipse.osgi.util.NLS;
public class Messages extends NLS {
private static final String BUNDLE_NAME = "fr.opensagres.xdocreport.eclipse.reporting.ui.internal.Messages";//$NON-NLS-1$
public static String WorkbenchWindowConfigurer_tit... |
package fr.opensagres.xdocreport.eclipse.reporting.ui.internal;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.jface.resource.ImageRegistry;
import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.osgi.framework.BundleContext;
/**
* The activa... |
package fr.opensagres.xdocreport.eclipse.reporting.ui.internal;
import java.net.URL;
import org.eclipse.core.runtime.FileLocator;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.Path;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.jface.resource.ImageRegistry;
im... |
package fr.opensagres.xdocreport.eclipse.reporting.ui.internal.fragment;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IConfigurationElement;
import org.eclipse.ui.forms.IDetailsPage;
public class Fragment {
private final String id;
private static final String CLASS_ATTR =... |
package fr.opensagres.xdocreport.eclipse.reporting.ui.internal.fragment;
import java.util.HashMap;
import java.util.Map;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IConfigurationElement;
import org.eclipse.core.runtime.IExtensionDelta;
import org.eclipse.core.runtime.IExten... |
package fr.opensagres.xdocreport.eclipse.reporting.xdocreport.ui.internal.viewers;
import org.eclipse.jface.viewers.ArrayContentProvider;
public class TemplateEngineDiscoveryContentProvider extends ArrayContentProvider {
private static TemplateEngineDiscoveryContentProvider instance;
public static Templat... |
package fr.opensagres.xdocreport.eclipse.reporting.xdocreport.ui.internal.viewers;
import org.eclipse.jface.viewers.LabelProvider;
import fr.opensagres.xdocreport.template.discovery.ITemplateEngineDiscovery;
public class TemplateEngineDiscoveryLabelProvider extends LabelProvider {
private static TemplateEn... |
package fr.opensagres.xdocreport.eclipse.reporting.xdocreport.ui.internal;
import java.util.Collection;
import org.eclipse.jface.viewers.ComboViewer;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.widgets.Combo;
import org.eclipse.swt.widgets.Composite;
import org.... |
package fr.opensagres.xdocreport.eclipse.reporting.xdocreport.ui.internal;
import org.eclipse.osgi.util.NLS;
public class Messages extends NLS {
private static final String BUNDLE_NAME = "fr.opensagres.xdocreport.eclipse.reporting.xdocreport.ui.internal.Messages";//$NON-NLS-1$
public static String XDocRep... |
package fr.opensagres.xdocreport.eclipse.reporting.xdocreport.ui.internal;
import org.eclipse.core.runtime.Plugin;
import org.osgi.framework.BundleContext;
/**
* The activator class controls the plug-in life cycle
*/
public class Activator extends Plugin {
// The plug-in ID
public static final String ... |
/**
* Copyright (C) 2011 Angelo Zerr <angelo.zerr@gmail.com> and Pascal Leclercq <pascal.leclercq@gmail.com>
*
* All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the... |
/**
* Copyright (C) 2011 Angelo Zerr <angelo.zerr@gmail.com> and Pascal Leclercq <pascal.leclercq@gmail.com>
*
* All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.