Revision 44093

View differences:

trunk/org.gvsig.desktop/org.gvsig.desktop.framework/org.gvsig.andami/src/main/java/org/gvsig/andami/PluginServices.java
182 182
     * @throws RuntimeException
183 183
     *             If the parameter was not loaded from a plugin
184 184
     */
185
    @Deprecated
185 186
    public static PluginServices getPluginServices(Object pluginClassInstance) {
186 187
        try {
187 188
        	PluginClassLoader loader;
......
209 210
     * 
210 211
     * @return The PluginServices object associated with the provided plugin.
211 212
     */
213
    @Deprecated
212 214
    public static PluginServices getPluginServices(String pluginName) {
213 215
        return Launcher.getPluginServices(pluginName);
214 216
    }
......
218 220
     * 
219 221
     * @return A reference to the window manager (MDIManager).
220 222
     */
223
    @Deprecated
221 224
    public static MDIManager getMDIManager() {
222 225
        return Launcher.getFrame().getMDIManager();
223 226
    }
......
227 230
     * 
228 231
     * @return A reference to the application's main window
229 232
     */
233
    @Deprecated
230 234
    public static MainFrame getMainFrame() {
231 235
        return Launcher.getFrame();
232 236
    }
......
249 253
     *         not exist.Instancia de la extensi�n o null en caso de que no haya
250 254
     *         una
251 255
     */
256
    @Deprecated
252 257
    public static IExtension getExtension(Class extensionClass) {
253 258
        ExtensionDecorator extAux =
254 259
            (ExtensionDecorator) Launcher.getClassesExtensions()
......
269 274
     * @return The ExtensionDecorator associated with the provided extension,
270 275
     *         or null if the extension does not exist.
271 276
     */
277
    @Deprecated
272 278
    public static ExtensionDecorator getDecoratedExtension(Class extensionClass) {
273 279
        return (ExtensionDecorator) Launcher.getClassesExtensions()
274 280
        .get(extensionClass);
......
280 286
     * @return ExtensionDecorator[] An array of ExtensionDecorators (each
281 287
     *         Decorator contains one extension).
282 288
     */
289
    @Deprecated
283 290
    public static ExtensionDecorator[] getDecoratedExtensions() {
284 291
        HashMap map = Launcher.getClassesExtensions();
285 292
        ExtensionDecorator[] extensions =
......
295 302
     *         the iterator is an ExtensionDecorator, which in turn contains
296 303
     *         one IExtension object).
297 304
     */
305
    @Deprecated
298 306
    public static Iterator getExtensions() {
299 307
        return Launcher.getClassesExtensions().values().iterator();
300 308
    }
......
348 356
     * 
349 357
     * @return An XMLEntity object containing the persisted data
350 358
     */
359
    @Deprecated
351 360
    public XMLEntity getPersistentXML() {
352 361
        if (persistentXML == null) {
353 362
            persistentXML = new XMLEntity();
......
529 538
     * @return the original arguments that Andami received. (app-name
530 539
     *         plugins-directory, locale, etc)
531 540
     */
541
    @Deprecated
532 542
    public static String[] getArguments() {
533 543
        return arguments;
534 544
    }
......
541 551
     *            represents one
542 552
     *            argument.
543 553
     */
554
    @Deprecated
544 555
    public static void setArguments(String[] arguments) {
545 556
        PluginServices.arguments = arguments;
546 557
    }
......
579 590
     * @see Logger object from the Log4j library.
580 591
     * 
581 592
     */
593
    @Deprecated
582 594
    public static Logger getLogger() {
583 595
        return logger;
584 596
    }
585 597

  
598
    @Deprecated
586 599
    public static DlgPreferences getDlgPreferences() {
587 600
        return DlgPreferences.getInstance();
588 601
    }
......
606 619
     * @return An String containing the clipboard's data, or <code>null</code>
607 620
     *         if the data was not available.
608 621
     */
622
    @Deprecated
609 623
    public static String getFromClipboard() {
610 624

  
611 625
        try {
......
634 648
     * @see org.gvsig.andami.plugins.IExtension#isEnabled(IExtension extension)
635 649
     * @see org.gvsig.andami.plugins.IExtension#isVisible(IExtension extension)
636 650
     */
651
    @Deprecated
637 652
    public static ExclusiveUIExtension getExclusiveUIExtension() {
638 653
        return PluginServices.exclusiveUIExtension;
639 654
    }
......
653 668
     * @see org.gvsig.andami.plugins.IExtension#isEnabled(IExtension extension)
654 669
     * @see org.gvsig.andami.plugins.IExtension#isVisible(IExtension extension)
655 670
     */
671
    @Deprecated
656 672
    public static void setExclusiveUIExtension(ExclusiveUIExtension extension) {
657 673
        PluginServices.exclusiveUIExtension = extension;
658 674
    }
......
714 730

  
715 731
    }
716 732

  
733
    @Deprecated    
717 734
    public PluginsManager getManager() {
718 735
        return PluginsLocator.getManager();
719 736
    }

Also available in: Unified diff