-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #303 from Cognifide/feature/exclude
Feature/exclude
- Loading branch information
Showing
20 changed files
with
379 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
...communication-api/src/main/java/com/cognifide/aet/communication/api/metadata/Payload.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/** | ||
* AET | ||
* | ||
* Copyright (C) 2013 Cognifide Limited | ||
* | ||
* 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 com.cognifide.aet.communication.api.metadata; | ||
|
||
import com.cognifide.aet.communication.api.metadata.exclude.LayoutExclude; | ||
import java.io.Serializable; | ||
|
||
public class Payload implements Serializable { | ||
|
||
private static final long serialVersionUID = -4218060468970419297L; | ||
|
||
private final LayoutExclude layoutExclude; | ||
|
||
public Payload(LayoutExclude layoutExclude) { | ||
this.layoutExclude = layoutExclude; | ||
} | ||
|
||
public LayoutExclude getLayoutExclude() { | ||
return layoutExclude; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
...i/src/main/java/com/cognifide/aet/communication/api/metadata/exclude/ExcludedElement.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/** | ||
* AET | ||
* | ||
* Copyright (C) 2013 Cognifide Limited | ||
* | ||
* 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 com.cognifide.aet.communication.api.metadata.exclude; | ||
|
||
import java.awt.Dimension; | ||
import java.awt.Point; | ||
import java.io.Serializable; | ||
|
||
public class ExcludedElement implements Serializable { | ||
private static final long serialVersionUID = 692282363549228800L; | ||
|
||
private final Point point; | ||
|
||
private final Dimension dimension; | ||
|
||
public ExcludedElement(Point point, Dimension dimension) { | ||
this.point = point; | ||
this.dimension = dimension; | ||
} | ||
|
||
public Point getPoint() { | ||
return point; | ||
} | ||
|
||
public Dimension getDimension() { | ||
return dimension; | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...api/src/main/java/com/cognifide/aet/communication/api/metadata/exclude/LayoutExclude.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/** | ||
* AET | ||
* | ||
* Copyright (C) 2013 Cognifide Limited | ||
* | ||
* 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 com.cognifide.aet.communication.api.metadata.exclude; | ||
|
||
import java.io.Serializable; | ||
import java.util.List; | ||
|
||
public class LayoutExclude implements Serializable { | ||
private static final long serialVersionUID = -6496109702966509444L; | ||
|
||
private final List<ExcludedElement> excludedElements; | ||
|
||
public LayoutExclude( | ||
List<ExcludedElement> excludedElements) { | ||
this.excludedElements = excludedElements; | ||
} | ||
|
||
public List<ExcludedElement> getExcludedElements() { | ||
return excludedElements; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.