Examples of OrionScope


Examples of org.eclipse.orion.server.core.users.OrionScope

  };

  @Override
  public void handleCommand(HttpServletRequest req, HttpServletResponse resp,
      IUser user) throws IOException {
    IEclipsePreferences users = new OrionScope().getNode("Users"); //$NON-NLS-1$
    IEclipsePreferences result = (IEclipsePreferences) users.node(user
        .getUserID());
    String workbenchSettings = result.get(
        MaqettaOrionServerConstants.WORKBENCH_PREF, "{}");
    try {
View Full Code Here

Examples of org.eclipse.orion.server.core.users.OrionScope

public class SetWorkbenchState extends Command {

   
    public void handleCommand(HttpServletRequest req, HttpServletResponse resp, IUser user) throws IOException {
      IEclipsePreferences users = new OrionScope().getNode("Users"); //$NON-NLS-1$
    IEclipsePreferences result = (IEclipsePreferences) users.node(user.getUserID());
          // read it with BufferedReader
      BufferedReader br = new BufferedReader(new InputStreamReader(req.getInputStream()));
    
      String line;
View Full Code Here

Examples of org.eclipse.orion.server.core.users.OrionScope

    /* sets the init flag on the user. returns 'true' if this happened (so that we can setup any user project files */
    private boolean init(String userName){
    assertValidUserId(userName);

    IEclipsePreferences users = new OrionScope().getNode("Users"); //$NON-NLS-1$
    IEclipsePreferences result = (IEclipsePreferences) users.node(userName);
          // read it with BufferedReader
      boolean wasInit = result.getBoolean("maqettaInit", false);
    
      if(!wasInit){
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.