blob: 98d1a9691b46cff835bf71ee4064223cc38c41cb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
/*******************************************************************************
* Copyright (c) 2008, 2009 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.diagram.tools.api.properties;
import org.eclipse.sirius.diagram.tools.internal.properties.SiriusDiagramEditorPropertiesProvider;
import org.eclipse.sirius.tools.api.ui.property.IPropertiesProvider;
/**
* Service to get the Designer UI properties.
*
* @author mchauvin
*/
public final class PropertiesService {
private static final PropertiesService INSTANCE = new PropertiesService();
private IPropertiesProvider provider = new SiriusDiagramEditorPropertiesProvider();
/**
* Avoid instantiation
*/
private PropertiesService() {
}
/**
* Get the properties provider.
*
* @return the properties provider
*/
public IPropertiesProvider getPropertiesProvider() {
return provider;
}
/**
* Get the service instance.
*
* @return the service instance.
*/
public static PropertiesService getInstance() {
return INSTANCE;
}
}
|