Beispiel #1
0
 /**
  * @param registryUrl
  * @param parent
  */
 public JsfUiImages(URL registryUrl, ModelUIImages parent) {
   super(registryUrl, parent);
   if (JsfUiPlugin.isDebugEnabled()) {
     JsfUiPlugin.getPluginLog().logInfo("Create JsfUiImages class."); // $NON-NLS-1$
     JsfUiPlugin.getPluginLog().logInfo("RegistryUrl = " + registryUrl); // $NON-NLS-1$
     JsfUiPlugin.getPluginLog().logInfo("parent = " + parent.getClass().getName()); // $NON-NLS-1$
   }
 }
Beispiel #2
0
  static {
    try {
      if (JsfUiPlugin.isDebugEnabled()) {
        JsfUiPlugin.getPluginLog().logError("Trying activate plugin images."); // $NON-NLS-1$
      }
      INSTANCE =
          new JsfUiImages(
              new URL(
                  JsfUiPlugin.getDefault().getBundle().getEntry("/"),
                  "images/xstudio/"), //$NON-NLS-1$ //$NON-NLS-2$
              ModelUIImages.getInstance());

    } catch (MalformedURLException e) {
      JsfUiPlugin.getPluginLog().logError(e);
    }
  }