diff options
author | Pierre-Charles David | 2013-12-05 15:54:11 +0000 |
---|---|---|
committer | Gerrit Code Review @ Eclipse.org | 2013-12-09 13:18:45 +0000 |
commit | 43f93d2b9249ba8891fd0afed080d0948799286e (patch) | |
tree | 96c8aefa4af9a8b6f959f58e379d3e9469371363 | |
parent | 12ef6dcda8884a214c5f7e9abe0215f7e888988f (diff) | |
download | org.eclipse.sirius-43f93d2b9249ba8891fd0afed080d0948799286e.tar.gz org.eclipse.sirius-43f93d2b9249ba8891fd0afed080d0948799286e.tar.xz org.eclipse.sirius-43f93d2b9249ba8891fd0afed080d0948799286e.zip |
[422587] Re-enable the Paperclips dependency and the corresponding feature
Change-Id: I003312c41cd02e72ef113abc1b29d32e8bded330
Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
13 files changed, 383 insertions, 6 deletions
diff --git a/packaging/org.eclipse.sirius.update/category.xml b/packaging/org.eclipse.sirius.update/category.xml index 960a8d6cec..8bcb91bebc 100644 --- a/packaging/org.eclipse.sirius.update/category.xml +++ b/packaging/org.eclipse.sirius.update/category.xml @@ -69,6 +69,9 @@ <feature id="org.eclipse.sirius.samples.source" version="0.0.0"> <category name="Sirius.SDK"/> </feature> + <feature id="org.eclipse.nebula.widgets.paperclips.feature" version="0.0.0"> + <category name="Sirius.Dependencies"/> + </feature> <category-def name="Sirius" label="Sirius"> <description> The Sirius Modeling Platform diff --git a/plugins/org.eclipse.sirius.doc/doc/Release Notes.html b/plugins/org.eclipse.sirius.doc/doc/Release Notes.html index 4eaabeb538..ba5d9868e3 100644 --- a/plugins/org.eclipse.sirius.doc/doc/Release Notes.html +++ b/plugins/org.eclipse.sirius.doc/doc/Release Notes.html @@ -24,6 +24,9 @@ <p>This document contains the release notes for all major releases of Sirius.</p> <h2 id="ChangesinSirius1.0.0M4fromSirius0.9">Changes in Sirius 1.0.0M4 (from Sirius 0.9)</h2> <h3 id="UserVisibleChanges">User-Visible Changes</h3> + <ul> + <li>The ability to print table representations, which had been disabled for the 0.9 release, has been re-enabled.</li> + </ul> <h3 id="APIChanges">API Changes</h3> <p>Sirius 1.0.0M4 includes a lots of API-breaking changes, as part of a global effort to improve the quality of the Sirius internals. In this milestone in particular, most of the APIs which were marked as deprecated in previous versions of Sirius (and before that of Viewpoint) have been either removed (if a replacement exists) or marked as non-deprecated (if no replacement exists yet).</p> <h4 id="Changesinorg.eclipse.sirius.common">Changes in @@ -529,4 +532,4 @@ void removeSelectedView(DView view); </li> </ul> </body> -</html>
\ No newline at end of file +</html> diff --git a/plugins/org.eclipse.sirius.doc/doc/Release Notes.textile b/plugins/org.eclipse.sirius.doc/doc/Release Notes.textile index e58837e7b7..0a964367aa 100644 --- a/plugins/org.eclipse.sirius.doc/doc/Release Notes.textile +++ b/plugins/org.eclipse.sirius.doc/doc/Release Notes.textile @@ -8,6 +8,8 @@ h2. Changes in Sirius 1.0.0M4 (from Sirius 0.9) h3. User-Visible Changes +* The ability to print table representations, which had been disabled for the 0.9 release, has been re-enabled. + h3. API Changes Sirius 1.0.0M4 includes a lots of API-breaking changes, as part of a global effort to improve the quality of the Sirius internals. In this milestone in particular, most of the APIs which were marked as deprecated in previous versions of Sirius (and before that of Viewpoint) have been either removed (if a replacement exists) or marked as non-deprecated (if no replacement exists yet). @@ -185,4 +187,4 @@ void removeSelectedView(DView view); h3. User-Visible Changes * The ability to print table representations has been disabled for the 0.9 release due to an external dependency issue (see "bug #422223":https://bugs.eclipse.org/bugs/show_bug.cgi?id=422223 for the details). It should be re-introduced in 1.0. -
\ No newline at end of file + diff --git a/plugins/org.eclipse.sirius.table.ui/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.table.ui/META-INF/MANIFEST.MF index 140445ab0a..25dd613903 100644 --- a/plugins/org.eclipse.sirius.table.ui/META-INF/MANIFEST.MF +++ b/plugins/org.eclipse.sirius.table.ui/META-INF/MANIFEST.MF @@ -43,6 +43,7 @@ Require-Bundle: org.eclipse.core.runtime, org.eclipse.emf.edit.ui, org.eclipse.emf.workspace, com.google.guava;bundle-version="[11.0.0,12.0.0)", - org.eclipse.sirius.common.ui + org.eclipse.sirius.common.ui, + org.eclipse.nebula.paperclips.core;bundle-version="2.0.0" Eclipse-LazyStart: true Bundle-ActivationPolicy: lazy diff --git a/plugins/org.eclipse.sirius.table.ui/src/org/eclipse/sirius/table/ui/tools/internal/editor/action/PrintAction.java b/plugins/org.eclipse.sirius.table.ui/src/org/eclipse/sirius/table/ui/tools/internal/editor/action/PrintAction.java new file mode 100644 index 0000000000..8303b52706 --- /dev/null +++ b/plugins/org.eclipse.sirius.table.ui/src/org/eclipse/sirius/table/ui/tools/internal/editor/action/PrintAction.java @@ -0,0 +1,95 @@ +/******************************************************************************* + * Copyright (c) 2011 THALES GLOBAL SERVICES. + * 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 + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.sirius.table.ui.tools.internal.editor.action; + +import org.eclipse.jface.action.Action; +import org.eclipse.swt.SWT; +import org.eclipse.swt.SWTError; +import org.eclipse.swt.printing.PrintDialog; +import org.eclipse.swt.printing.PrinterData; +import org.eclipse.swt.widgets.Control; +import org.eclipse.swt.widgets.Display; +import org.eclipse.swt.widgets.MessageBox; +import org.eclipse.swt.widgets.Shell; +import org.eclipse.ui.IEditorPart; + +import org.eclipse.sirius.table.ui.tools.internal.editor.AbstractDTableEditor; +import org.eclipse.sirius.table.ui.tools.internal.editor.print.PaperClipsPrintHelper; +import org.eclipse.sirius.table.ui.tools.internal.editor.print.PrintHelper; + +/** + * An action to print tables. + * + * @author mchauvin + */ +public class PrintAction extends Action { + + private IEditorPart editorPart; + + private Control controlToPrint; + + /** + * Set the active editor part. + * + * @param editor + * the current active editor part + */ + public void setEditor(final IEditorPart editor) { + this.editorPart = editor; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.jface.action.Action#run() + */ + @Override + public void run() { + + if (editorPart instanceof AbstractDTableEditor) { + controlToPrint = ((AbstractDTableEditor) editorPart).getTableViewer().getControl(); + if (controlToPrint != null) { + final Display display = controlToPrint.getDisplay(); + final Shell shell = display.getActiveShell(); + final String tableName = editorPart.getTitle() != null ? editorPart.getTitle() : "table without name"; + try { + final PrinterData data = openPrintDialog(shell); + if (data == null) { + return; + } + launchPrintWithPaperclip(data, tableName); + } catch (final SWTError e) { + final MessageBox box = new MessageBox(shell, SWT.ICON_ERROR); + box.setMessage("An error occurs during printing : " + e.getMessage()); + box.open(); + } + + } + } + } + + private PrinterData openPrintDialog(final Shell shell) { + final PrintDialog dialog = new PrintDialog(shell, SWT.NULL); + final PrinterData printerData = dialog.open(); + return printerData; + } + + private void launchPrintWithPaperclip(final PrinterData data, final String tableName) { + final PrintHelper helper = new PaperClipsPrintHelper(data, controlToPrint); + launch(helper, tableName); + } + + private void launch(final PrintHelper helper, final String tableName) { + helper.launchPrintJob(tableName); + helper.dispose(); + } + +} diff --git a/plugins/org.eclipse.sirius.table.ui/src/org/eclipse/sirius/table/ui/tools/internal/editor/print/PaperClipsPrintHelper.java b/plugins/org.eclipse.sirius.table.ui/src/org/eclipse/sirius/table/ui/tools/internal/editor/print/PaperClipsPrintHelper.java new file mode 100644 index 0000000000..ed0951ac4b --- /dev/null +++ b/plugins/org.eclipse.sirius.table.ui/src/org/eclipse/sirius/table/ui/tools/internal/editor/print/PaperClipsPrintHelper.java @@ -0,0 +1,172 @@ +/******************************************************************************* + * Copyright (c) 2010 THALES GLOBAL SERVICES. + * 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 + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.sirius.table.ui.tools.internal.editor.print; + +import org.eclipse.nebula.paperclips.core.ImagePrint; +import org.eclipse.nebula.paperclips.core.LinePrint; +import org.eclipse.nebula.paperclips.core.PaperClips; +import org.eclipse.nebula.paperclips.core.Print; +import org.eclipse.nebula.paperclips.core.PrintJob; +import org.eclipse.nebula.paperclips.core.ScalePrint; +import org.eclipse.nebula.paperclips.core.border.LineBorder; +import org.eclipse.nebula.paperclips.core.grid.DefaultGridLook; +import org.eclipse.nebula.paperclips.core.grid.GridColumn; +import org.eclipse.nebula.paperclips.core.grid.GridPrint; +import org.eclipse.nebula.paperclips.core.page.PageDecoration; +import org.eclipse.nebula.paperclips.core.page.PageNumberPageDecoration; +import org.eclipse.nebula.paperclips.core.page.PagePrint; +import org.eclipse.nebula.paperclips.core.page.SimplePageDecoration; +import org.eclipse.nebula.paperclips.core.text.TextPrint; +import org.eclipse.swt.SWT; +import org.eclipse.swt.graphics.Image; +import org.eclipse.swt.graphics.RGB; +import org.eclipse.swt.printing.PrinterData; +import org.eclipse.swt.widgets.Composite; +import org.eclipse.swt.widgets.Control; +import org.eclipse.swt.widgets.Tree; +import org.eclipse.swt.widgets.TreeColumn; +import org.eclipse.swt.widgets.TreeItem; + +/** + * An helper to handle print with paperclips library. + * + * @author mchauvin + */ +public class PaperClipsPrintHelper implements PrintHelper { + + private PrinterData printerData; + + private Control control; + + /** + * Create a new PaperClips helper. + * + * @param printerData + * the printer data + * @param control + * the control to print + */ + public PaperClipsPrintHelper(final PrinterData printerData, final Control control) { + this.printerData = printerData; + this.control = control; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.sirius.table.ui.tools.internal.editor.print.PrintHelper#launchPrintJob(java.lang.String) + */ + public void launchPrintJob(final String name) { + final Print print = createPrint(name); + PaperClips.print(new PrintJob(name, print).setMargins(72), printerData); + + } + + private Print createPrint(final String name) { + + /* body */ + final Print body = getBody(); + /* header and footer */ + final PageDecoration header = getHeader(name); + final PageDecoration footer = getFooter(); + + return new PagePrint(header, body, footer); + } + + private Print getBody() { + final Tree tree = findTree(); + + /* Create GridPrint with all columns at default size. */ + final DefaultGridLook look = new DefaultGridLook(); + look.setCellBorder(new LineBorder()); + final RGB background = tree.getDisplay().getSystemColor(SWT.COLOR_WIDGET_BACKGROUND).getRGB(); + look.setHeaderBackground(background); + look.setFooterBackground(background); + + final GridPrint grid = new GridPrint(look); + + /* Add header and footer to match table column names. */ + + final TreeColumn[] columns = tree.getColumns(); + for (final TreeColumn col : columns) { + /* + * Add the column to the grid with alignment applied, default width, + * no weight + */ + grid.addColumn(new GridColumn(col.getAlignment(), SWT.DEFAULT, 0)); + + final Print cell = createCell("", col.getImage(), col.getText(), SWT.CENTER); + grid.addHeader(cell); + } + + /* Add content rows */ + createTreeItemRows("", grid, tree.getItems(), columns); + return new ScalePrint(grid); + + } + + private Tree findTree() { + Tree tree = null; + if (control instanceof Tree) { + tree = (Tree) control; + } else if (control instanceof Composite && ((Composite) control).getChildren()[0] instanceof Tree) { + tree = (Tree) ((Composite) control).getChildren()[0]; + } + return tree; + } + + private void createTreeItemRows(final String offset, final GridPrint grid, final TreeItem[] items, final TreeColumn[] columns) { + for (TreeItem item : items) { + createTreeItemrow(offset, grid, item, columns); + } + } + + private void createTreeItemrow(final String offset, final GridPrint grid, final TreeItem item, final TreeColumn[] columns) { + for (int i = 0; i < columns.length; i++) { + grid.add(createCell(offset, item.getImage(i), item.getText(i), columns[i].getAlignment())); + } + final String newOffset = offset + " "; + createTreeItemRows(newOffset, grid, item.getItems(), columns); + } + + private Print createCell(final String offset, final Image image, final String text, final int align) { + if (image == null) { + return new TextPrint(text, align); + } + + final GridPrint grid = new GridPrint("p, p, d"); + grid.add(new TextPrint(offset)); + grid.add(new ImagePrint(image.getImageData(), image.getDevice().getDPI())); + grid.add(new TextPrint(text, align)); + return grid; + } + + private PageDecoration getHeader(final String name) { + final GridPrint headerGrid = new GridPrint("d:g"); + headerGrid.add(new TextPrint(name)); + headerGrid.add(new LinePrint(SWT.HORIZONTAL), GridPrint.REMAINDER); + return new SimplePageDecoration(headerGrid); + } + + private PageDecoration getFooter() { + return new PageNumberPageDecoration(); + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.sirius.table.ui.tools.internal.editor.print.PrintHelper#dispose() + */ + public void dispose() { + // do nothing + } + +} diff --git a/plugins/org.eclipse.sirius.table.ui/src/org/eclipse/sirius/table/ui/tools/internal/editor/provider/DTableActionBarContributor.java b/plugins/org.eclipse.sirius.table.ui/src/org/eclipse/sirius/table/ui/tools/internal/editor/provider/DTableActionBarContributor.java index c5e9794ba2..d21d83f18a 100644 --- a/plugins/org.eclipse.sirius.table.ui/src/org/eclipse/sirius/table/ui/tools/internal/editor/provider/DTableActionBarContributor.java +++ b/plugins/org.eclipse.sirius.table.ui/src/org/eclipse/sirius/table/ui/tools/internal/editor/provider/DTableActionBarContributor.java @@ -12,15 +12,22 @@ package org.eclipse.sirius.table.ui.tools.internal.editor.provider; import org.eclipse.emf.edit.ui.action.EditingDomainActionBarContributor; import org.eclipse.jface.action.IToolBarManager; +import org.eclipse.ui.IActionBars; +import org.eclipse.ui.IEditorActionBarContributor; +import org.eclipse.ui.IEditorPart; +import org.eclipse.ui.ISharedImages; +import org.eclipse.ui.IWorkbenchActionConstants; +import org.eclipse.ui.PlatformUI; +import org.eclipse.ui.actions.ActionFactory; +import org.eclipse.ui.part.IPage; + import org.eclipse.sirius.table.ui.tools.internal.editor.AbstractDTableEditor; import org.eclipse.sirius.table.ui.tools.internal.editor.DTableCrossEditor; import org.eclipse.sirius.table.ui.tools.internal.editor.DTableViewerManager; import org.eclipse.sirius.table.ui.tools.internal.editor.action.EditorCreateLineMenuAction; import org.eclipse.sirius.table.ui.tools.internal.editor.action.EditorCreateTargetColumnMenuAction; +import org.eclipse.sirius.table.ui.tools.internal.editor.action.PrintAction; import org.eclipse.sirius.ui.tools.internal.editor.AbstractDTableViewerManager; -import org.eclipse.ui.IEditorActionBarContributor; -import org.eclipse.ui.IEditorPart; -import org.eclipse.ui.IWorkbenchActionConstants; /** * This is a contributor for an DTable editor. @@ -28,6 +35,70 @@ import org.eclipse.ui.IWorkbenchActionConstants; * @author <a href="mailto:laurent.redor@obeo.fr">Laurent Redor</a> */ public class DTableActionBarContributor extends EditingDomainActionBarContributor { + + /* ISharedImages.IMG_ETOOL_PRINT_EDIT only since 3.4 */ + private static final String IMG_ETOOL_PRINT_EDIT = "IMG_ETOOL_PRINT_EDIT"; + + private PrintAction printAction; + + /** + * {@inheritDoc} + * + * @see org.eclipse.emf.edit.ui.action.EditingDomainActionBarContributor#init(org.eclipse.ui.IActionBars) + */ + @Override + public void init(final IActionBars actionBars) { + super.init(actionBars); + final ISharedImages sharedImages = PlatformUI.getWorkbench().getSharedImages(); + printAction = new PrintAction(); + printAction.setImageDescriptor(sharedImages.getImageDescriptor(IMG_ETOOL_PRINT_EDIT)); + actionBars.setGlobalActionHandler(ActionFactory.PRINT.getId(), printAction); + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.emf.edit.ui.action.EditingDomainActionBarContributor#shareGlobalActions(org.eclipse.ui.part.IPage, + * org.eclipse.ui.IActionBars) + */ + @Override + public void shareGlobalActions(final IPage page, final IActionBars actionBars) { + super.shareGlobalActions(page, actionBars); + actionBars.setGlobalActionHandler(ActionFactory.PRINT.getId(), printAction); + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.emf.edit.ui.action.EditingDomainActionBarContributor#deactivate() + */ + @Override + public void deactivate() { + super.deactivate(); + printAction.setEditor(null); + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.emf.edit.ui.action.EditingDomainActionBarContributor#activate() + */ + @Override + public void activate() { + super.activate(); + printAction.setEditor(activeEditor); + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.emf.edit.ui.action.EditingDomainActionBarContributor#contributeToToolBar(org.eclipse.jface.action.IToolBarManager) + */ + @Override + public void contributeToToolBar(final IToolBarManager toolBarManager) { + super.contributeToToolBar(toolBarManager); + } + /** * {@inheritDoc} * diff --git a/releng/org.eclipse.sirius.targets/sirius_juno.target b/releng/org.eclipse.sirius.targets/sirius_juno.target index addd0e84d1..9343cc10cb 100644 --- a/releng/org.eclipse.sirius.targets/sirius_juno.target +++ b/releng/org.eclipse.sirius.targets/sirius_juno.target @@ -46,6 +46,10 @@ <repository location="http://download.eclipse.org/tools/orbit/downloads/drops/S20130914154012/repository/"/> </location> <location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit"> +<unit id="org.eclipse.nebula.widgets.paperclips.feature.feature.group" version="2.0.0.201309241436"/> +<repository location="http://download.eclipse.org/sirius/targetplatform/0.9.0/all/nebula/N201309241436"/> +</location> +<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit"> <unit id="org.eclipse.xtext.sdk.feature.group" version="2.3.1.v201208210947"/> <repository location="http://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases"/> </location> diff --git a/releng/org.eclipse.sirius.targets/sirius_juno.targetplatform b/releng/org.eclipse.sirius.targets/sirius_juno.targetplatform index 3e1ff8a8dc..25d69cc9ad 100644 --- a/releng/org.eclipse.sirius.targets/sirius_juno.targetplatform +++ b/releng/org.eclipse.sirius.targets/sirius_juno.targetplatform @@ -54,6 +54,12 @@ location "http://download.eclipse.org/tools/orbit/downloads/drops/S2013091415401 com.google.guava;version="[11.0.2,12.0.0)" } +// PaperClips +location "http://download.eclipse.org/sirius/targetplatform/0.9.0/all/nebula/N201309241436" { + with source, requirements + org.eclipse.nebula.widgets.paperclips.feature.feature.group;version="[2.0.0,3.0.0)" +} + // Xtext location "http://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases" { with source, requirements diff --git a/releng/org.eclipse.sirius.targets/sirius_kepler.target b/releng/org.eclipse.sirius.targets/sirius_kepler.target index ff2ad997ca..8547b72cfe 100644 --- a/releng/org.eclipse.sirius.targets/sirius_kepler.target +++ b/releng/org.eclipse.sirius.targets/sirius_kepler.target @@ -46,6 +46,10 @@ <repository location="http://download.eclipse.org/tools/orbit/downloads/drops/S20130914154012/repository/"/> </location> <location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit"> +<unit id="org.eclipse.nebula.widgets.paperclips.feature.feature.group" version="2.0.0.201309241436"/> +<repository location="http://download.eclipse.org/sirius/targetplatform/0.9.0/all/nebula/N201309241436"/> +</location> +<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit"> <unit id="org.eclipse.xtext.sdk.feature.group" version="2.4.3.v201309030823"/> <repository location="http://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases"/> </location> diff --git a/releng/org.eclipse.sirius.targets/sirius_kepler.targetplatform b/releng/org.eclipse.sirius.targets/sirius_kepler.targetplatform index 7cce631fe8..d32645a278 100644 --- a/releng/org.eclipse.sirius.targets/sirius_kepler.targetplatform +++ b/releng/org.eclipse.sirius.targets/sirius_kepler.targetplatform @@ -54,6 +54,12 @@ location "http://download.eclipse.org/tools/orbit/downloads/drops/S2013091415401 com.google.guava;version="[11.0.2,12.0.0)" } +// PaperClips +location "http://download.eclipse.org/sirius/targetplatform/0.9.0/all/nebula/N201309241436" { + with source, requirements + org.eclipse.nebula.widgets.paperclips.feature.feature.group;version="[2.0.0,3.0.0)" +} + // Xtext location "http://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases" { with source, requirements diff --git a/releng/org.eclipse.sirius.targets/sirius_luna.target b/releng/org.eclipse.sirius.targets/sirius_luna.target index edbf5000b0..8eb9050991 100644 --- a/releng/org.eclipse.sirius.targets/sirius_luna.target +++ b/releng/org.eclipse.sirius.targets/sirius_luna.target @@ -33,5 +33,9 @@ <unit id="org.eclipse.emf.eef.runtime" version="1.2.0.201301031409"/> <repository location="http://download.eclipse.org/modeling/emft/eef/updates/nightly/1.2/"/> </location> +<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit"> +<unit id="org.eclipse.nebula.widgets.paperclips.feature.feature.group" version="2.0.0.201309241436"/> +<repository location="http://download.eclipse.org/sirius/targetplatform/0.9.0/all/nebula/N201309241436"/> +</location> </locations> </target> diff --git a/releng/org.eclipse.sirius.targets/sirius_luna.targetplatform b/releng/org.eclipse.sirius.targets/sirius_luna.targetplatform index d39c327efe..0ab448d15e 100644 --- a/releng/org.eclipse.sirius.targets/sirius_luna.targetplatform +++ b/releng/org.eclipse.sirius.targets/sirius_luna.targetplatform @@ -35,3 +35,9 @@ location "http://download.eclipse.org/modeling/emft/eef/updates/nightly/1.2/" { with source, requirements org.eclipse.emf.eef.runtime;version="[1.0.0,2.0.0)" } + +// PaperClips +location "http://download.eclipse.org/sirius/targetplatform/0.9.0/all/nebula/N201309241436" { + with source, requirements + org.eclipse.nebula.widgets.paperclips.feature.feature.group;version="[2.0.0,3.0.0)" +} |