Examples of loadAdapter()


Examples of org.eclipse.wst.server.core.internal.ServerWorkingCopy.loadAdapter()

    dispose();
  }

  private void initServer() {
    ServerWorkingCopy server = (ServerWorkingCopy) getTaskModel().getObject(TaskModel.TASK_SERVER);
    cloudServer = (CloudFoundryServer) server.loadAdapter(CloudFoundryServer.class, null);
    if (cloudServer == null) {
      CloudFoundryPlugin
          .logError("Cloud Foundry Server Framework Error: Failed to create a Cloud Foundry server working copy for: " //$NON-NLS-1$
              + server.getId() + ". Please check if the plugin has been installed correctly."); //$NON-NLS-1$
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.