Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  * Copyright 2012 JBoss Inc
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * See the License for the specific language governing permissions and
 * limitations under the License.
package org.uberfire.mvp;
A request to navigate to a particular UberFire Workbench Place (a WorkbenchPerspective, a WorkbenchScreen, or a WorkbenchEditor). Can include optional state parameters that are made available to the requested place.

Place requests can be serialized to and created from a valid URL fragment identifier (the string that goes after the # in the browser's location bar).

public interface PlaceRequest {
    public static final PlaceRequest NOWHERE = new DefaultPlaceRequest"NOWHERE" );
    String getParameterfinal String key,
                         final String defaultValue );
    PlaceRequest addParameterfinal String name,
                               final String value );
    // TODO (UF-88) when PlaceRequest is an immutable value type, cloning will no longer be a sensible operation
    PlaceRequest clone();

Indicates whether or not the Workbench framework should add a browser history item when navigating to this place.
    boolean isUpdateLocationBarAllowed();
New to GrepCode? Check out our FAQ X