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
  * 
  * http://www.apache.org/licenses/LICENSE-2.0
  * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package org.uberfire.workbench.model;
A Part in the Workbench. Parts are added to Panels.
public interface PartDefinition {

    
Get the PlaceRequest that this Part will contain.

Returns:
the place
    PlaceRequest getPlace();

    
Set the PlaceRequest that this Part will contain.

Parameters:
place the place to set
    void setPlacefinal PlaceRequest place );

    
Get the parent Panel containing this Part.

Returns:
the parentPanel
    PanelDefinition getParentPanel();

    
Set the parent Panel containing this Part.

Parameters:
parentPanel the parentPanel to set
    void setParentPanelfinal PanelDefinition parentPanel );

    
Set whether this Part is minimized or not.

Parameters:
isMinimized true if Part is minimized
    void setMinimizedfinal boolean isMinimized );

    
Has the Part been collapsed to a minimal size.

Returns:
true If minimized
    boolean isMinimized();

    
Has the Part been expanded to a maximum size.

Returns:
true If maximized
    boolean isMaximized();
    void setContextDefinitionfinal ContextDefinition contextDefinition );
    void setContextDisplayModefinal ContextDisplayMode contextDisplayMode );
New to GrepCode? Check out our FAQ X